Answer Posted / kk11749
for example I need for list of directories means
ls -r | grep "^d"
It will be display only directories
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is grep faster than awk?
What are awk commands?
What is grep command in unix with examples?
What does this command do? Cat food 1 > kitty
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What is the use of find command in unix?
Write a command to display a file’s contents in various formats?
How can you see the command line history?
Which command is used to copy files?
What does the metacharacter mean?
Which command is used to kill the last background job?
How to find $ai_serual resolved path by using unix
Does cp command overwrite files?
What is the general format of unix command syntax?
What do know about tee command?