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 is used to type command?
What do chgrp command do?
What is the command to find hidden files in the current directory?
How does shebang work?
How do you grep recursively?
What are reported commands?
Explain command to view process running?
What is .sh file?
What is s and g in sed command?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What is the behavioural difference between cmp and diff commands?
What is the first character of the output in ls l command?
What is awk command used for?
What does the command '$ls | wc –l > file1' do?
What is the functionality of a top command?