What “Everything Is a File” Means on Linux


One of the defining features of Linux and other UNIX-like operating systems is that “everything is a file.” This is an oversimplification, but understanding what it means will help you understand how Linux works. Many things on Linux appear in your file system, but they aren’t actually files. They’re special files that represent hardware devices,…

date/time stamp in ping command


Most of you are very familiar with ping command which is most commonly used to check any network device is alive or not. A very simple and useful command. And if we can add date/time stamp in it, it will be more helpful to generate a good statistics. It is very easy in Linux without…

Configure syslog to print the Security violation alarm on user terminal (via Linux Explore)


Open the /etc/rsyslog.conf file for syslog configuration in fedora Linux (some linux like CentOS has /etc/syslog.conf). It will show the something similar as given below: # Log all kernel messages to the console. # Logging much else clutters up the screen. #kern.*                                                 /dev/console # Log anything (except mail) of level info or higher. # Don’t…

Umount a busy partition


Check & close the applications which are using any mounted partition or folder If you are using a separate partition for your applications, you need to mount that partition to a folder. Then only you can store & run the application. But if you want to umount that partition again, first you need to close…