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

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

621


What is the command to find hidden files in the current directory?

580


Why is it called grep?

557


Which command can you use to find the currently running process in unix server?

586


What is in grep command?

647






What is $0 bash?

646


What is grep in bash?

586


Explain command to display different lines that are found when compare two files?

676


Why is awk called awk?

577


Why is grep called grep?

777


What difference between cmp and diff commands?

720


How does pipe () work?

593


What is rmdir command?

553


How does the system know where one command ends and another begins?

1574


What does grep v grep do?

550