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 / vamshi
1,$ s/^/-/g
2. 1,$ s/$/P/g
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are some command words?
Explain ‘system calls’ with respect to unix commands?
What is unix command line?
What is the command to compare two files in unix?
What is the difference between cat command and more command?
Why is it called a shebang?
What are the commands in UNIX to list the files in a Directory?
What is “chmod” command?
Which command will print your home directory on screen?
Who command in unix operating system?
What is the pipe command?
What does the metacharacter mean?
What is nr in awk command?
What is awk command used for?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?