use of ls command

Answer Posted / pradeep kumar keshari

LS command is used to see the contains of a Directory. You
can user add one with ls command to see the special files
like hidden, pwd.

# ls - >
#ls -l -> to list the long listed info files/dir
#ls -a -> to list the hidden files/dir
#ls -ld -> to list the long listed information of PWD
#ls -lr -> " " " sub dir level info

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the behavioural difference between cmp and diff commands?

672


What is the use of tee command?

567


How does shebang work?

585


What does #!/ Bin sh do?

587


What command is used to check the current users?

592






How do I use grep to find a file?

577


Name the various commands that are used for the user information in unix.

539


What is the significance of the 'tee' command?

595


What is the unix command to confirm a remote host is alive or not?

579


Give the command for finding the current date.

579


What difference between cmp and diff commands?

720


Which unix command lists files/folders in alphabetical order?

614


Write a command to display a file’s contents in various formats?

620


How do you repeat a command in terminal?

587


What is the command to compare two files in unix?

618