The ps command, short for Process Status, is a command line utility that is used to display or view information related to the processes running in a Linux system. As we all know, Linux is a multitasking and multiprocessing system. Therefore, multiple processes can run concurrently without affecting each other. The ps command lists current […]
The Linux directory structure is such that at any given point in the terminal, you are working inside a particular directory. The Linux directory hierarchy starts at the top with the root (/) directory and branches into several subdirectories as you go down the hierarchy tree. In this guide, we will focus on mkdir command. […]
Linux vs Unix. What are the differences between the two? If you began your IT career about a decade ago, chances are high that you did so at a time when Linux had already carved a niche for itself in the Computing world. Presently, Linux is the darling of data centers and makes up a […]
In Linux and Unix Systems Grep, short for “global regular expression print”, is a command used in searching and matching text files contained in the regular expressions. Furthermore, the command comes pre-installed in every Linux distribution. In this guide, we will look at Common grep command usage with a few examples. Grep Command in Linux […]
The ls command is one the most commonly used commands in daily Linux/UNIX operations. The command is used in listing contents inside a directory and is one of the few commands beginners learn from the onset. In this guide, we will discuss Common ls commands in Linux and other parameters as well that may be […]
Today we will look into crontab example to execute a script every 5 minutes. Crontab example Recently I installed memcached server on CentOS operating system to use as a caching mechanism for my VBulletin forum. To make sure that it’s running always, I wrote a shell script to check the process status and restart if […]
In unix environment, mv is the command to move files and we can use it to change file extension also. But it works with a single file only and it doesn’t take wild characters also.
Here I am providing a simple script that you can use to change extension of multiple files in a directory.