Professional Documents
Culture Documents
Oplab 3
Oplab 3
It is a one kind of simple command .The ls command - the list command-function in the Linux terminal to
show all of the major directories filed under a given file system.
This output indicates that several items are in the current directory , but this output does not tell us
whether these items are files or directories.
ls (
command) list command :
1. ls –F command : To find out which of the items are files and which are directories.
5. ls –aF command : To find out which of the invisible files are files and which are directories.
6. ls -a1F command : To find out which of the invisible files are files and which are directories and each
file is listed on a separate line.
7. Who >(file name) command : It is used to create a new file .
8. Cat (file name) command : It is used to show which item or content are stored in these file.