There are plenty of tools and methods out there to secure and prevent your files and folders from accidental deletion. chattr is one of them. It is a command-line utility to change the file attributes on an ext2/ext3/ext4 filesystems. It prevents the accidental deletion of your important files. Even though you have full permissions over files, […]

Newbies always think Linux distros are hard or difficult to understand so far as the terminal is concerned. Most of them nearly went back to the operating system they were using previously. But got used to the system since there are people in the community who are always ready to help newbies. Almost every Linux […]

Sometimes we work with long paths in directories and it is hard to remember all of them. What about popping them when we need them? There is a solution to this, it is called directory stack. As the name suggests, a directory stack is a stack in which we can push and pop directories when […]

Tired of typing long path names? Me too. I have a very good solution that will save you time and energy. Type less, be more productive. Forget the parent directory, if you want to go to a sub-directory just type ‘cd subdirectory’ in the terminal (without quotation marks). But how does this work? The trick […]

tmux is a terminal multiplexer written in C. It enables a number of terminals to be created, accessed, and controlled from a single screen. It is similar to GNU Screen tool. A user can easily manage multiple tasks and command line programs on a Linux system, without having to open many Terminal windows. tmux may […]

find command is used for locate files in a directory hierarchy on Linux/Unix systems. You can search for files according to name, owner, group, type, permissions, date and other criteria. The search is recursive in that it will search all sub directories too. If you are a beginner, the following examples will make you clear about the find command. […]

The “top” command provides a dynamic real-time view of a running system. It can display system summary information as well as a list of processes or threads currently being managed by the Linux kernel. The types of system summary information shown and the types, order and size of information displayed for processes are all user configurable and that configuration can […]

Sometimes there is just a need to monitor specific files or filesystems and perform actions or receive notifications, this is where incron can help. incron is for monitoring filesystem activity. It consists of a daemon and a table manipulator. You can use it a similar way as the regular cron. The difference is that the […]