How we will execute previous command in vi editor?
Answers were Sorted based on User's Feedback
Answer / aparna
Use dot(.) operator to execute previous command in command
mode
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / annhaq
:! (This command on vi editor will run the script which ur
into presently)
:!%(Executes the previous command)
Is This Answer Correct ? | 3 Yes | 2 No |
How to replace the exact word in vi editor?? suppose a file contains words like amaze,amazed,amazement in some of the line.But i want to replace only 'amaze' with delight but don't wanna replace amazed or amazement. thanks
6 Answers Polaris, Tech Mahindra,
Hi All, Can you please let me know how to grep for a particular pattern in unix. I want to print the dates from the file exp.txt. the date pattern is DD:MM:YYYY, I just want to print all the dates from the file exp.txt.
8 Answers Concentrix, IBM, Symantec, TCS,
What is awk used for?
distinguish between user mode and kernel mode?
What do know about tee command and its usage?
what are filters?
what is telnet?
what is the cmd to remove the comment lines from a file and to display the original text without comments? thanks in advance......
The rm command removes links to file. What does this mean? How then is a file deleted from the file system?
Which command should you use to find the remaining disk space in unix server?
how to remotely move a file ??? that mean how to move a file one machine to another machine ???
what are the different hardwares available?