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
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
Which command is used to create a directory?
What is the functionality of a top command?
What does the md command do?
Write a command to display a file’s contents in various formats?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is time_t?
What command will change your prompt to myprompt?
Enlist some filename manipulation commands in unix.
What is the pipe command?
What does sed command do in unix?
Name the unix command to find how many days the server has been up.
Give the command for finding the current date.
How can you see the command line history?
Explain command to display different lines that are found when compare two files?