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 / dibya lochan giri
ans of Q2-using cmd :1,$ s/$/pattern name/
or %s/$/pattern name/g
Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
What are reported commands?
What does this command do,"$more readme.txt“?
What is a bash command?
What are awk commands?
What do chgrp command do?
What are the commands in UNIX to list the files in a Directory?
Describe the zip/unzip command using gzip.
What is time_t?
What is the use of the tee command?
What command is used to switching between users in unix?
Who wrote grep?
How do I search for text in vi?
What is s and g in sed command?
What is the use of the command 'ls -x chapter[1-5]' ?
How can we use grep command in unix?