Top 15 Unix Commands every Developer should know !

Top 15 Unix Commands every Developer should know !

Top 15 Unix Commands every Developer should know !

Unix Commands are as follows:

  1. [ cd ] is for changing directory.

  2. 2. [ ls ] is for listing all files and folders in the current directory .

3. [ cd ~ ] is for going back to the root directory .

4. [ cd .. ] is for going back one level .

5. [ cd ab/ss/fd/vv/ ] is for going directly into the particular.

6. [ up & down arrow ] key is used to retrieve the previously executed commands(recalling the history one by one).

  1. [ mkdir ] is for creating a new directory(folder).

8. [ touch ] is for creating a new file (if you are using Windows Powershell environment ).
9. [ New-Item -ItemType file 'hello.txt' ] this command will be used to create a new file.

  1. [ start filename.txt ] is for opening the file .

  2. [ code hello.txt ] is for opening the file in the VScode .

12. [ rm filename.txt ] is for deleting the file .

  1. [ pwd ] is for getting the entire path of your current location .

14.[ rm* ] is for deleting all the files in the current directory(folder) .

15.[ rm -r ] is for deleting the entire directory(folder).