Linux/Unix File Commands๐ฝ
Linux ๐ฝ Command's
1. ls => Directory Listing
2. ls -al => Formatted listing with hidden files
3. ls -lt => Sorting the Formatted listing by time Modification
4. Cd dir => Change directory to sir
5. Cd => Change to home directory
6. Pwd => show Current working directory
7. Cat => Places the standard input into the file
8. mkdir dir => Creating a directory dir
9. More file => output the contents of the file
10. Head file => output the first 10 lines of the file
11. tail -f file => output the contents of file as it grow, starting with the last 10 lines
12. tail file => output the last 10 lines of the file
13. touch file => Create or update file
14. rm file => Deleting the file
15. rm -r dir => Deleting the Directory
16. rm -f file => force to remove the file
17. rm -rf dir => force' to remove the directory dir
18. Cp file1 file2 => copy the contents of file1 to file2
19. Cp -r dir1 dir2 => copy dir1 to dir2 create dir 2 if not present
20. mv file1 file2 => Rename or move file1 to file2 if file2 is an existing directory
❗NOTE :) keep practicing at Terminal Linux OS๐ฝ❗
❗Click here for more ๐๐ป
Comments
Post a Comment