Tutorials

Linux which Command

The Linux which command is used to identify the path of executable files. The path is identified by searching it in the path environment variables. Syntax of Linux which is as follows: What is the PATH variable? PATH is an environment variable in Linux and other Unix-like operating systems that tells the shell which directories […]

Linux which Command Read More »

Find command in Linux

Find command is used to filter objects in the file system. It can be used to find files, directories, files of particular pattern i.e. txt,.php and so on. It can search by file name, folder name, modification date , by permissions and so on. Note: Linux is case sensitive. “File”,”file”,”FiLe”,”FILE” all are different file names

Find command in Linux Read More »

Linux date Command

Linux date command is used to display the system date and time. We can also print the past date, future date or set the date manually. By default, the date command prints the current date of the Linux system. Here I have listed some of the date command options which one can use to have

Linux date Command Read More »

The mv Command in Linux

The mv command in Linux allows you to move a file from one location to another. Also, we don’t really have a rename command in Linux. Instead, we move files from one name to another. This is facilitated by the “mv” command which stands for move. For basic usage, you will find it very straightforward

The mv Command in Linux Read More »

The head Command in Linux

We recently learned about the cat and the more commands in Linux. In this tutorial, we’ll be covering the head command which is pretty similar to the cat command in the essence that it helps you list down the contents of a file in the terminal. The head command has very few options, making this

The head Command in Linux Read More »

The alias Command in Linux

The alias command in Linux is used to make a shortcut or an alternative name for an existing command. So instead of re-typing the same commands with all the options over and over again, you can create a shorthand for the same and make it simpler to use in the future. How to use the

The alias Command in Linux Read More »