Home > linux, noob > What was that command again? Linux History

What was that command again? Linux History

September 14th, 2009 Leave a comment Go to comments

Here is a total noob hint.

You can see the last 500 or so commands you have entered in the command line on a Linux system with the following command:
history

Now, if you want to filter that list you can use grep. For example, if you want to see the files you have edited, you could:
history | grep nano
Assuming of course, that you use nano as your text editor.

Categories: linux, noob Tags:
  1. No comments yet.
  1. No trackbacks yet.