Categories:- Unix Commands

Command To Check UP Time of a Linux Server

“uptime” , “w” & “top” command are  used to check the uptime of a Linux Server.


uptime :  This command tell how long the system has been running. It also gives a one line display of the following information.  The current time, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes read More

How To Split Big File into Smaller Files in Linux

split command is used to to split large files into smaller files in Unix.. Syntax of Split command :


#  split [options]   filename   prefix


Replace filename with the name of the large file you wish to split. Replace prefix with the name you wish to give the small output files. You can exclude [options], or replace it with either of the following read More

How to Change the Attributes of a File in Linux using chattr Command

chattr : chattr is a command in the Linux operating system that allows a user to set certain attributes on a file residing on an ext2/ext3/ext4 based filesystem. read More



How to Assign the IP Address and Default gateway in Linux From Command Line


ifconfig command is used to assign the ip address to a lan card from the command or from the terminal.


read More

How To Add a non-login User in Linux so that he/she doesn't have shell.

useradd & usermod  commands are used to add and modify the users in linux.


When invoked without the -D option, the useradd command creates a new  user account using the values specified on the command line plus the read More

Command to Enable/Change the Special Permissions of Files In Linux

Special permissions on files and directories in linux are : SetUID, SetGID and Sticky bit.


With the help of “chmod” command  we can implement the special permissions on file and directories.


read More

Command to Set Boot Loader Password in Linux

GRUB (GRand Unified Bootloader) is a boot loader package from the GNU Project. GRUB provides a user the choice to boot one of multiple operating systems installed on a computer or select a specific kernel configuration available on a particular operating system's partitions read More

Command To check the Network Bonding / NIC Teaming in Centos/RHEL

Network Bonding / NIC Teaming  is creation of a single bonded interface by combining 2 or more Ethernet interfaces. This helps in high More

Linux/Unix tar Command with Practical Examples

Tar  is archiving utility in Linux. With tar command we can archive multiple files and directories into a single file, extension of that file is “.tar”. gzip and bzip compression techniques can be used with tar command. read More