Found 1437 Articles for Linux

Difference between Linux and Windows

Kiran Kumar Panigrahi
Updated on 23-Jun-2023 13:43:58

20K+ Views

Both Linux and windows are operating systems for desktops. Linux is an open-source operating system which is derived from UNIX. Linux kernel lies beneath all other existing software. Windows was developed by Microsoft. It is not an open-source. It comes with a user friendly GUI which makes it so popular among its users. It runs on x86 hardware such as AMD and Intel processors. Read this article to learn more about the Linux and Windows operating systems and how they are different from each other. Linux Operating System Linux is a free and open-source operating system created and designed by ... Read More

How to find out bad sectors on your linux hard disk

Samual Sam
Updated on 22-Oct-2019 13:23:49

884 Views

Badblocks is a Linux utility to assess unhealthy sectors on a disk power. It creates a list of those sectors which can be used with other applications like mkfs, so that they aren’t used at some point and for that reason does not corrupt the data. This article explains about – how to find out bad Sectors ie. bad Blocks on your Linux Hard Disk.To get the information about Block Devices on your machine, use the following command –$ lsblkChecking Bad SectorsThere are so many sophisticated methods which are available to find bad blocks. The most used method is as ... Read More

Learn how to security patches or updates automatically on ubuntu

Chandu yadav
Updated on 22-Oct-2019 13:13:26

32 Views

Are you using Ubuntu Server or Ubuntu system? then you should also be aware that, high profile banks are likely to be targeted by criminals looking for Server information/Files. Should you really worry?. maybe! This article provides you awareness on – Installing Security Patches for updating automatically on Ubuntu.Use the following command to install security patches automatically on Ubuntu$ sudo dpkg-reconfigure -plow unattended-upgradesWhile installing packages, it will ask permission from user as shown below –Now click on Ok by pressing enter key. Then, it will show the following screen as shown below-Now click on OK by pressing the enter key. The ... Read More

How to encrypt and decrypt a file using gpg command on linux

Samual Sam
Updated on 22-Oct-2019 13:07:07

5K+ Views

There are many choices on hand to secure your data. However, GPG provides the additional benefit to encrypting your data on a priority basis and transfers them securely over the internet. This article explains about – How to Encrypt and Decrypt a file using GPG command on Linux.To get more information about GPG, use the following command –$ gpg -hThe sample output should be like this –gpg (GnuPG) 1.4.20 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO ... Read More

The best way to compress and extract files using the tar command on linux

Samual Sam
Updated on 22-Oct-2019 12:55:41

489 Views

Do you frequently compress and extract files on Linux/Ubuntu? Have you heard about.tar extension? Then this article is for you to learn about compress and extract files using the tar command with examples.What is .tar?In computing, tar is an application utility for collecting many records into one archive file, most likely known as a tarball, for distribution or backup functions .Tar was at the beginning developed in the early days of Unix for the intent of backing up records to tape-based storage. It used to be later formalized as a part of the POSIX standard.To get more information about tar, ... Read More

Great tools to check linux disk partitions and usage in linux

Chandu yadav
Updated on 22-Oct-2019 12:38:12

332 Views

Are you working as a system admin, then you should know these tools to manage disk space. This article explains about how to check Linux Disk Partitions and Usage in Linux.FdiskFdisk is a text based utility. By utilizing fdisk, you can create a brand new partition, delete the present partition, or exchange existing partition.To get the more information about fdisk, use the following command –$ fdiskThe sample out should be like this –Usage: fdisk [options] change partition table fdisk [options] -l [] list partition table(s) Display or manipulate a disk partition table. Options: -b, --sector-size       ... Read More

Learn how to find and list down recently modified files in linux

Samual Sam
Updated on 22-Oct-2019 11:50:56

218 Views

Are you working with thousands of files? Do you forget the recently modified documents in Linux? but know where you have saved those files.? Then, this article is for you to identify and list down recently modified records in Linux.Using Find CommandThe following command is helpful to identify sorted files in the reverse order of update time-$ find /etc -type f -printf '%TY-%Tm-%Td %TT %p' | sort -rThe sample output should be like this –2016-12-22 11:10:18.2928833250 /etc/cups/subscriptions.conf 2016-12-22 11:09:18.1987314780 /etc/cups/subscriptions.conf.O 2016-12-20 10:38:47.1524556320 /etc/init.d/.depend.stop 2016-12-20 10:38:47.1524556320 /etc/init.d/.depend.start 2016-12-20 10:38:47.1524556320 /etc/init.d/.depend.boot 2016-12-19 13:28:14.3963910250 /etc/ld.so.cache 2016-12-19 13:28:05.8242856890 /etc/mailcap 2016-12-19 13:24:12.4493955340 /etc/apt/sources.list.d/rvm-ubuntu-smplayer-xenial.list 2016-12-19 13:24:12.4493955340 ... Read More

How to install and configure puppet 4 on ubuntu 16.04

Samual Sam
Updated on 22-Oct-2019 11:26:20

154 Views

In this article, we will learn – How to install and configure the Puppet 4 on Ubuntu 16.04. Puppet is a configuration management tool which helps in the automation of tasks with respect to system administrators. These type of tools will save a lot of time and effort too.Pre-requisitesHere in this article, we need at least two to three Ubuntu machines with the following requirements.All the machines with a non-root user with Sudo permissions on the machine.One Puppet masterOne or two puppet agents to test the configuration.Configuring the Host FilesAll the server and clients needed to communicate with the host ... Read More

md5sum Command in Linux with Examples

Arnab Chakraborty
Updated on 21-Oct-2019 13:16:14

392 Views

Here we will see the md5sum command in Linux system. The MD5 is one of the Message Digest algorithm, that generates hash values to create checksum for the messages. It helps to identify if the integrity is maintained or not. Here we will see some example of md5sum command in Linux system.If we use this command on a string, it will generate a hash value, if we create some minor change in the text, it will generate massive change in the checksum.Examplesh-4.4$ echo 'Hello World' Hello World sh-4.4$ echo 'Hello World' | md5sum e59ff97941044f85df5297e1c302d260 - sh-4.4$If we change the content ... Read More

Count the number of threads in a process on linux

Samual Sam
Updated on 07-Jul-2020 07:10:42

7K+ Views

Linux process can be visualized as a running instance of a program where each thread in the Linux is nothing but a flow of execution of the processes. Do you know how to see the number of threads per process on Linux environment? There are several ways to count the number of threads. This article deals with, how to read the information about processes on Linux and also to count the number of threads per process.Read Process InformationTo read the process information use ‘ps’ command. This command is used to read a snapshot of the current processes on Linux. However, ... Read More

Advertisements