By default, every Linux OS has an efficient memory management system used to clear the buffer cache periodically. You can manually free up the memory cache with the following simple command: sk@sk:~$ sudo sh -c "sync; echo 3 > /proc/sys/vm/drop_caches" However, if you want to force the Linux OS to do clearing memory cache on […]
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 […]
iftop is used to view the current bandwidth on a network interface. It listens to network traffic on a named interface and displays a table of current bandwidth usage by pairs of hosts. iftop must be run by a root user or a user who has sufficient privileges to monitor network bandwidths. Installing iftop On […]
Sometimes things happen that your USB key is not showing because it is not properly formatted. This has happened to me several times and I always use a program called GParted to format my USB drives and hard drives. GParted will fix the problem and your USB will show up again under Devices or in […]
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. […]
chkconfig command is used to start, stop and view the status of all services running on the system. It allows you to display and change the services on your system at all levels. Let us see some basic commands in this short how-to.
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 […]
Have you ever wondered if there is a simple way to copy files and run commands on multiple machines from one command? Well there are several tools available that will allow us to do just that, but for starters we will discuss just pssh (Parallel SSH). pssh (Parallel SSH) pssh (Parallel SSH) is a command-line […]