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 tail command in Linux

The tail command in Linux displays the last few lines/blocks of any file, the number of lines/blocks being dependent on the options passed when using the command. Also read: The uptime Command in Linux The Linux tail command default output When no options are provided, the tail command prints the last 10 lines for all

The tail command in Linux Read More »

Setting Hostname in Debian

There are multiple ways of setting hostname in Debian or Linux system. You can temporarily change the hostname, or permanently apply the changes to a system. Let’s go over these methods. Setting hostname temporarily Let’s start with the temporary and simple method. The hostname command in Debian allows you to set up the system hostname

Setting Hostname in Debian Read More »