what is the command to list files in a directory in UNIX?

Answer Posted / brijmohan

ls : this command is used to see the list of file and
folder in present working directory.

ls -ltr : is used to see the file and folder in present
dirctory in alphabetical order.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the metacharacter mean?

791


Describe the zip/unzip command using gzip.

808


Describe the usage and functionality of the command rm –r * in unix?

1284


How do I search for a file in unix command?

730


What do chmod, chown, chgrp commands do?

870






What is the pipe command?

797


What is used to type command?

739


What do know about tee command and its usage?

833


How do I search a whole word in vim?

869


What are the commands in UNIX to list the files in a Directory?

796


Why is shebang used?

792


What do chmod command do?

796


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

1177


What does find command return in unix?

825


What are the dos commands?

853