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 is the difference between grep and grep?
What is the use of find command in unix?
What is the difference between awk and grep?
What is the unix command to confirm a remote host is alive or not?
What are file commands?
What does 'mkdir' command do in UNIX?
What command is used to switching between users in unix?
How do I search for a file in unix command?
How do I run a bash script?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
Are you in or at the office?
What is command statement?
What is the use of tee command?
What is in grep command?
What does the “echo” command do?