How to get display list of previous commands used in linux shell

RegisterLogin
How to get display list of previous commands used in linux shell
Post Description: How to get display list of previous commands used in linux shell
Tags: How, to, get, display, list, of, previous, commands, used, in, linux, shell
This Post Was Posted On Feb 29, 2008 By tomas #2111
The shell keeps track of commmand you issued.

follow these steps to learn:

1. type this at the shell:

history

a list of the command you have executed will be displayed, with a number next to each command you can tell the shell to rerun an earlier command based on tis number or based on tis name

now try this

!d

or

r d

the last command that began witht he letter d is executed

these could be some great time savers (shorcuts) if you get used to them.

Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
©2012 Webune Forums - Fri Dec 21, 2012 6:30 am
Powered by: Webune Forums V3