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

Give the command for finding the current date.

573


How do I find previous commands in unix?

591


What is used to type command?

535


Which unix command lists files/folders in alphabetical order?

610


What is the difference between awk and grep?

554






How do I run a whois command?

591


Which command will print your home directory on screen?

538


What will the following command do?

607


What is unix command line?

600


What is awk command used for?

596


What is the use of awk command in unix?

569


What is grep short for?

547


What does grep v grep do?

546


Explain ‘system calls’ with respect to unix commands?

596


How do I clear my terminal history?

575