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 |
What does the command ' $who | sort –logfile > newfile' do?
how unix kernel distinguishes between a normal file and device file ?
7 Answers Google, IBM, McAfee, Vodafone,
What will the following command do?
What is the use of the tee command?
What is the command to view process running?
What is Unix, and how does it differ from other operating systems?
How do you know about running processes of a particular user?
What does mkdir up2date; touch outdated up2date do?
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 grep command in unix with examples?
the difference between a soft link and a hard link?
what is the use of the hidden files?