
Log files are generally compressed, to save disk space. But it can be quite a hassle if we are to uncompressed one by one to just browse through them. There is a utility / command that will make our life easier :

Log files are generally compressed, to save disk space. But it can be quite a hassle if we are to uncompressed one by one to just browse through them. There is a utility / command that will make our life easier :

Another short tip. The below demonstrate how to encrypt and decrypt files & folders on Mac OS X, Linux & FreeBSD using GnuPG :

Some file comes with no extension so we are unable to know what kind of application to associate with. Luckily Linux/Freebsd has a utility that can determine the file type.

After running a job, only to find out later that it is stuck at some point and even Control-C cannot stop it.
e.g. a infinite loop script, X program that stuck in the X window & etc.

There are some message display after a successful log into the system. e.g. (if your system is running Ubuntu)
"The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To access official Ubuntu documentation, please visit: http://help.ubuntu.com/"

Just did a backup and noticed that the backup tar file is more then 2gb, which fail to copy to a fat32 thumb drive. The mysqldump output text file is more then 5gb and needless to try as it cannot fit into any fat32 formatted drive. Or even regular file that is more then 10mb would not be able to email to any Yahoo or Gmail account.
These are the scenarios where the big files are needed to break into smaller chucks in order to transfer it. Below is a good way of doing it :

Use the command
w
and it would list who is currently logged in, logged in from where, since when and what are they doing.
See ya !!!

Normally we use the “find” command to search for some files and post process it using the pipe (“|”). But do you know find can process the results without using pipe? Here it is :

Command :
df
Common parameters :
-h = display sizes in human readable format, kb, mb & gb
-i = display inode usage rather then disk usage
e.g.
df -h
df -hi
See Ya !!!