1-how will you display a file whose name is starting with '-
'?
2-how will you add a patten at end of every line in vi
editor?
Answer Posted / habs
Q1: ls | grep "^\-"
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is grep r?
How can we use grep command in unix?
What is awk good for?
How do I clear my terminal history?
How do you repeat a command in terminal?
Name the unix command to find how many days the server has been up.
What is the use of find command in unix?
Why is it called grep?
Explain ‘library functions’ with respect to unix commands?
What are filter commands in unix?
What is ctrl d?
Explain the steps that a shell follows while processing a command.
Which command is used to kill the last background job?
Who command in unix operating system?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?