From the category archives:

Bash Shell

10 lsof Command Examples

by lifeLinux on May 14, 2011

The lsof command or “list open files” command in Linux is a powerful tool. In Linux and Unix everything behind the scenes are just files. This includes IP sockets, pipes, unix sockets, directories, devices, even inodes are just files. This means that lsof can actually tell you a lot of information of what is going […]


Find Large Files In Linux

by lifeLinux on May 13, 2011

Find files larger than a certain size This example finds all the files under /root directory which are larger than 50k [root@lifelinux ~]# find /root -size +50k Sample output /root/ioncube/ /root/ioncube/ /root/ioncube/ /root/ioncube/ …


Using yum command on CentOS / RedHat

by lifeLinux on April 30, 2011

yum is an interactive, automated update program which can be used for maintaining systems using rpm. Synopsis yum [options] [command] [package …]


scp Command: Remote File Copy

by lifeLinux on November 25, 2010

Some times you need to copy files or entire contents of directory to another machine, you can use scp command. scp command uses SSH data transfers, so it requires a password or passphrase for authentication.

{ 1 comment }

Linux Runlevels

by lifeLinux on November 23, 2010

Runlevels define what services or processes should be running on the system. The Linux operating system can make use of runlevels through the programs of the sysvinit project. After the Linux kernel has booted, the init program reads the /etc/inittab file to determine the behavior for each runlevel. Unless the user specifies another value as […]


chkconfig Command

by lifeLinux on November 23, 2010

chkconfig provides a  simple  command-line  tool  for  maintaining  the/etc/rc[0-6].d  directory  hierarchy by relieving system administrators of the task of directly manipulating the  numerous  symbolic  links  in those directories.

{ 1 comment }

How To Copy Hidden Files On Linux

by lifeLinux on November 23, 2010

Q. Is there an easy way to recursively copy all files include hidden files in a directory to another directory? A. Using rsync command is a better solution.