Come to learn complete Linux from beginning
Complete Linux tutorial for Beginners Part - 1
1. ls To list the files & directories.
2. ls -l To check more details as long listing files & directories.
3. ls -a To check hidden files & directories.
4. ls -i To check the inode numbers.
5. ls -h Shows list in human readable format.
6. ls -F Shows “/” character at end of directory
7. ls -r Shows list in reverse order.
8. ls -ltr Shows oldest created files & directories first and latest modified files & directories at end.
9. ls -LS This shows biggest file first ( is command se hum badi files ko pehle dikh sakte hain ).
10. ls --version This shows the ls command version.
11. ls --help We can take help related to any syntax or more uses options with.
12. ls -n Shows list with UID & GID of files and directories.
13. cd Uses to change directories.
14. ls -F It will add '/' against all directories.
15. pwd Shows present working directory where you are currently in.
16. touch To create empty files.
17. cat This command shows the content of files without open it.
18. cat -n Shows file content with line numbers.
19. cat file1 > file2 Redirect the output of file1 into file2 (previous data will be deleted).
20. cat file1 >> file2 Append the content of file2 with file1 (Add new data in next line with previous data).
Comments
Post a Comment