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 […]
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/ioncube_loader_lin_5.3_ts.so /root/ioncube/ioncube_loader_lin_4.1.so /root/ioncube/ioncube_loader_lin_5.1.so /root/ioncube/ioncube_loader_lin_4.2.so …
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 …]
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.
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 […]
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.
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.