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

Answer Posted / yuvaevergreen

ls | grep "^-"

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is merge command in unix?

940


What command is used to check the current users?

587


Which command is used to create a directory?

561


Which command is used to restrict incoming messages?

584


Explain ‘library functions’ with respect to unix commands?

596






Enumerate some of the most commonly used network commands in unix?

612


What command will change your prompt to myprompt?

694


What is pipe command in unix?

662


How do I delete files from command prompt?

549


What is unix command?

576


What is a bash command?

622


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

619


Write a command to kill the last background job?

611


What is grep command in unix with examples?

604


What is the functionality of a top command?

618