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

Answer Posted / peeyush

ls -l |grep '^-'

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does 'mkdir' command do in UNIX?

660


Explain the steps that a shell follows while processing a command.

681


What is the use of awk command in unix?

581


hw will u use awk in replacing cahrs and files

2727


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

623






What is grep short for?

556


What is the difference between cat and more command?

624


What is the comma to show the space allocation of files?

558


What is unix command?

584


What does sed command do in unix?

560


what is the advaantage of each user having its own copy of the shell?

2034


What is the difference between awk and grep?

558


What do chgrp command do?

590


What do know about tee command?

601


Enlist some filename manipulation commands in unix.

549