Linux

 

1. pwd Command

The pwd command is used to display the location of the current working directory.

 

2. mkdir Command

The mkdir command is used to create a new directory under any directory.

 

3. rmdir Command

The rmdir command is used to delete a directory.

 

4. ls Command

The ls command is used to display a list of content of a directory.

 

5. cd Command

The cd command is used to change the current directory.

 

6. touch Command

The touch command is used to create empty files. We can create multiple empty files by executing it once

 

7. cat Command

The cat command is a multi-purpose utility in the Linux system. It can be used to create a file, display content of the file, copy the content of one file to another file, and more.

8. rm Command

The rm command is used to remove a file.

 

9. cp Command

The cp command is used to copy a file or directory.

 

10. mv Command

The mv command is used to move a file or a directory form one location to another location.

 

11. head Command

The head command is used to display the content of a file. It displays the first 10 lines of a file.

 

12. tail Command

The tail command is similar to the head command. The difference between both commands is that it displays the last ten lines of the file content. It is useful for reading the error message.

 

13. su Command

The su command provides administrative access to another user. In other words, it allows access of the Linux shell to another user.

 

19. useradd Command

The useradd command is used to add or remove a user on a Linux server.

 

20. passwd Command

The passwd command is used to create and change the password for a user.

 

21. groupadd Command

The groupadd command is used to create a user group.

 

22. cat Command

The cat command is also used as a filter. To filter a file, it is used inside pipes.

 

23. grep Command

The grep is the most powerful and used filter in a Linux system. The 'grep' stands for "global regular expression print." It is useful for searching the content from a file. Generally, it is used with the pipe.

 

24. date Command

The date command is used to display date, time, time zone, and more.

 

25. df Command

The df command is used to display the disk space used in the file system. It displays the output as in the number of used blocks, available blocks, and the mounted directory.

 

26. ip Command

Linux ip command is an updated version of the ipconfig command. It is used to assign an IP address, initialize an interface, disable an interface.

 

27. ping Command

The ping command is used to check the connectivity between two nodes, that is whether the server is connected. It is a short form of "Packet Internet Groper."

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Comments