How we will execute previous command in vi editor?
Answers were Sorted based on User's Feedback
Answer / jay
You can execute the previous command by pressing [ESC]+ .
| Is This Answer Correct ? | 10 Yes | 4 No |
Answer / sindhujah
in command prompt type !vi command this will execute the
previous vi command.
!is the symbol used to execute the previous command.
| Is This Answer Correct ? | 12 Yes | 10 No |
If we want to see first 35 lines of a file which command we have to use?
what is the command to find out which shell you are running?
How would you change all occurrences of a value using VI?
What is the difference between a hard link and a soft link in Unix?
how to check a file system type
What is the general format of unix command syntax?
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<stdlib.h> # include <stdio.h> int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:
When the shell is reading the command line what is the difference between text enclosed between double quotes ( ” ) and text enclosed between signal quotes ( ’ )?
How do I run a bash script?
distinguish between physical addresses and logical address?
How can you see the command line history?
what are processor execution levels and priorities?