use of ls command

Answers were Sorted based on User's Feedback



use of ls command..

Answer / preetam yadav

ls command is used for show the list of files & folders in
any directory it has many switches like -l,-a,-al etc.

Is This Answer Correct ?    47 Yes 3 No

use of ls command..

Answer / swetha

it is used to list of all files and directories in the
system

Is This Answer Correct ?    27 Yes 3 No

use of ls command..

Answer / shanky

The ls command lists the contents of your current working
directory.

Is This Answer Correct ?    20 Yes 5 No

use of ls command..

Answer / supriya

it is used to display all the files in the current working
directory

Is This Answer Correct ?    11 Yes 0 No

use of ls command..

Answer / shiva ram prasad

ls command is use to list the files/directories
this has many options like
-l -> to list the long listed info files/dir
-a -> to list the hidden files/dir
-ld -> to list the long listed information of PWD
-lr -> " " " sub dir level info

Is This Answer Correct ?    12 Yes 2 No

use of ls command..

Answer / bhara singht

ls command is used to show the list of all files

Is This Answer Correct ?    8 Yes 3 No

use of ls command..

Answer / angurbala anjana

display the list of all files and directory

Is This Answer Correct ?    2 Yes 1 No

use of ls command..

Answer / 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

use of ls command..

Answer / rubley

Ls cmd is used to display the list of all files that are
are currently running in progress

Is This Answer Correct ?    3 Yes 5 No

Post New Answer

More Unix Commands Interview Questions

what is the significance of "su" command?

3 Answers  


Explain command to show the space allocation of files?

0 Answers  


Who command in unix?

0 Answers  


Name the general commands in using unix os for a beginner?

0 Answers  


What are the differences among a system call, a library function, and a unix command?

0 Answers  






The command grep first second third /usr/you/myfile a) prints lines containing the words first, second or third from the file /usr/you/myfile b) searches for lines containing the pattern first in the files second, third, and /usr/you/myfile and prints them c) searches the files /usr/you/myfiel and third for lines containing the words first or second and prints them d) replaces the word first with the word second in the files third and /usr/you/myfile e) None of the above

4 Answers   IBM,


in UNIX,what is the command to remove directory with files?

10 Answers  


what does the 'tee' command do?

4 Answers  


In Unix file permissions what does the second field denotes?

3 Answers  


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

0 Answers  


What is an Environment Variable?

4 Answers   CTS,


What is the comma to display different lines that are found when compare two files?

0 Answers  


Categories