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

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

615


What is the use of find command in unix?

572


Can you enlist some commonly used network commands?

592


Which command will print your home directory on screen?

537


What is ctrl d?

587






What is the use of the command 'ls -x chapter[1-5]' ?

654


Enlist some filename manipulation commands in unix.

543


How many unix commands are there?

616


What is “chmod” command?

558


Which command is used to delete all files in the current directory and all its sub-directories?

654


What are bash commands?

584


Name the unix command to find how many days the server has been up.

592


Which command is used to create a directory?

558


How do I open a port?

580


Describe the zip/unzip command using gzip.

603