Thursday, June 7, 2012

The journey continues CTRL+R search history Linux

Now i have decided to learn more about linux. Starting off with some basic Terminal knowledge starting up with the Bash shell. Ive noticed when working with linux you often write the same thing over and over again. Examples are configuring apache or tomcat when you got to restart the service all the time. You start with wringing service apache restart. Then after a while you need to write it again. Instead of writing the whole command you just press CTRL+R and ser. If you don't get the right command just continue pressing the CTRL+R button until you get the right command. If you accidentally missed the command it is possible to search backwards by pressing CTRL+S When you get tired of looking and there are no commands that you need you can terminate the search by pressing CTRL+G.

No comments:

Post a Comment