ls command is used for listing of all files in the current working directory.
ls
File1 File2 File3
ls command has many attributes one of the most important is the l option.
Use option l for long listing of files, i.e, it also displays file attributes with the file names.
ls -l
it displays a long listing of files with their attributes including file type and permission, username, group name, number of lines, and date & time of last modification.
We can also display files starting with a specific character.
ls a*
it displays the file with the character 'a' as starting character.
Comments
Post a Comment