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 happens when we execute a unix command?
What does #!/ Bin sh do?
Is it inbetween or in between?
What is grep and how do you use it?
What is a command and examples?
Why is shebang used?
What is the difference between cat and more command?
Name the unix command to find how many days the server has been up.
What is awk good for?
How do I find previous commands in unix?
Does cp command overwrite files?
What is ctrl d?
What does this command do? Cat food 1 > kitty
What does the md command do?
What is the pipe command?