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
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What is the first character of the output in ls l command?
What is the functionality of a top command?
Give the command for finding the current date.
How can we use grep command in unix?
How do I search for a file in unix command?
What is updatedb?
Enumerate some of the most commonly used network commands in unix?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
What is the use of find command in unix?
How do you grep a case insensitive?
Write a command to display a file’s contents in various formats?
What is the command to find hidden files in the current directory?
How can you see the command line history?
How to find $ai_serual resolved path by using unix