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
How does pipe () work?
Is ‘du’ a command? If so, what is its use?
Which command will print your home directory on screen?
What is the functionality of a top command?
What does the command '$ls | wc –l > file1' do?
How do I search for a file in unix command?
What is the use of tee command?
Can you enlist some commonly used network commands?
What do chmod, chown, chgrp commands do?
What is the function of grep command in unix?
What is the search command in unix?
What is in grep command?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What does #!/ Bin sh do?
What do chmod command do?