# #90daysofDevOps ( Day 3 )

🐧💼 Mastering Linux Command Basics: Essential Skills for Tech Professionals 💼🐧

In the IT profession, Linux commands are a cornerstone of competence. Regardless of your level of expertise, the mastery of fundamental commands is non-negotiable. Allow me to introduce you to some essential commands to kickstart your Linux proficiency:

1. **mkdir** : `mkdir` in Linux is a command to create new directories or folders in the file system.
    
2. **ls :** `ls` is a Linux command used to list the contents of a directory, displaying files and subdirectories.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1698083114990/887c7223-8ddd-4983-915e-987b0b78aaea.png align="left")
    

1. **touch** : `touch` is a Linux command used to create new, empty files or update the timestamps of existing files.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1698083061072/5a2b225d-d62b-446f-96b8-8b409691febf.png align="left")
    
2. **pwd** : `pwd` is a Linux command that stands for "print working directory" and is used to display the current directory path.
    
3. **mkdir -p** : `mkdir -p` is a Linux command used to create a directory and its parent directories if they don't already exist, ensuring the desired directory structure is created.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1698083430419/f55f01bf-244d-4da6-a6aa-925f8d9f34eb.png align="left")
    
4. **history** : `history` is a Linux command that displays a list of previously executed commands in the terminal, helping users review and reuse command history.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1698083601140/46e3b42a-2632-4e57-baae-fa31c4ffadfd.png align="left")
    
5. **echo** : `echo` is a Linux command used to display text or variables to the terminal or to redirect output to a file.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1698083893731/b7005ea5-3b0e-4d00-9581-272eb9a044c2.png align="left")
    
6. **head** : `head` is a Linux command used to display the beginning or top part of a text file or output, typically the first 10 lines by default.
    
7. **tail :** `tail` is a Linux command used to display the end or bottom part of a text file or output, typically the last 10 lines by default.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1698084023276/95ac3100-a2d8-4c40-9798-f65a7ea685a3.png align="left")
    
8. **useradd -m** : `useradd -m` is a Linux command used to create a new user account with the `-m` option, which ensures that a home directory is created for the user if it doesn't already exist.
    
9. **sudo :** `sudo` is a Linux command that allows authorized users to execute commands with administrative privileges, providing superuser capabilities to perform system tasks.
    
10. **userdel -r** : `userdel -r` is a Linux command used to delete a user account and remove their home directory (along with its contents) with the `-r` option.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1698084292198/1e14c67a-bbf8-4770-9f7e-6e68a0b5ad53.png align="left")
    
11. **passwd :** `passwd` is a Linux command used to change or set the password for a user account, enhancing system security.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1698084550232/300c2864-3cb3-49f5-89d1-4a9bf5646869.png align="left")
    
12. **su** : `su` is a Linux command that stands for "switch user" and is used to switch to a different user account, typically the root (superuser) account, after entering the user's password.
    
13. **exit** : `exit` is a Linux command used to close the current shell or terminal session, logging the user out if used in the login shell.
    
14. **whoami :** `whoami` is a Linux command that displays the username of the currently logged-in user.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1698084664999/a53a891c-7c9f-4ae7-be41-ac30fd0feef1.png align="left")
    
15. **diff** : `diff` is a Linux command used to compare and display the differences between two text files, indicating the lines that vary between them.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1698084824462/bf7209c6-890b-486b-9d7b-063b036e8774.png align="left")
    

@[Shubham Londhe](@TrainWithShubham)

#90daysofDevOps
