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 »

File command in Linux

The file command is used to determine the type of file i.e. ASCII or MIME type. It doesn’t care about the extension used for the file. The command simply is used to identify the file type. There are various other options used with the file command. Here’s a quick list of the commonly used file …

File command in Linux 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 »

Linux chmod Command

The chmod (change mode) command in Linux is used to change the access mode of a file, based on the type of user accessing the file and the type of permission associated with accessing the file. File Permissions and User Groups For understanding what the types of permissions and the types of users are, let …

Linux chmod Command Read More »

Linux ping Command

PING (Packet INternet Groper) is a network administration utility used to check the connectivity status between a source and a destination computer/device over an IP network. It also helps you assess the time it takes to send and receive a response from the network. Basic Principles behind ping Command Whenever there is a requirement to …

Linux ping Command Read More »

Installing MySQL on Debian/Ubuntu

The installation for MySQL on Debian will be through the APT repository. Now there is a default MySQL server installation and one that is offered by Oracle through their software repositories. We’ll take the official route by first adding Oracle’s sources first and then installing the MySQL server. How to Install MySQL on Debian/Ubuntu Before …

Installing MySQL on Debian/Ubuntu Read More »