Linux and Unix ls command tutorial with examples
ls command list all the file and directory name present in the current directory. Syntax:
1 | $ ls [press enter] |
Example: Print the name of all the directory and file available in the current directory.
1 2 3 4 5 | $ ls [press enter] README Chap01 Chap02 text |
Above command display four file and directory name. Check availability of file or directory: We can check whether a particular file or directory … Read more