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 are file commands?
Can you explain a little bit about command substitution?
What is unix command?
What do chown command do?
What is the comma to display different lines that are found when compare two files?
What is the use of tee command?
What is the command to find maximum memory taking process on the server?
Explain ‘library functions’ with respect to unix commands?
What are awk commands?
Which command can you use to find the currently running process in unix server?
What are the differences among a system call, a library function, and a unix command?
What is the significance of the 'tee' command?
What is “chmod” command?
What is the use of cut command in unix?
What does 'mkdir' command do in UNIX?