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

Answer Posted / sudip

ls -l | grep "^d"

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does pipe () return?

583


Differentiate cmp command from diff command.

580


What difference between cmp and diff commands?

714


What is the functionality of a top command?

615


What does touch command do in unix?

717






What is .sh file?

611


Who command in unix operating system?

654


What is rmdir command?

541


What is awk command used for?

594


How to use grep command to list find the records of a file containing 10 different strings?

639


What does awk stand for?

601


What is grep command in unix with examples?

604


Who wrote grep?

572


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

654


What is sed awk grep?

598