How To Get Display List Of Previous Commands Used In Linux Shell
how to get display list of previous commands used in linux shell
how, to, get, display, list, of, previous, commands, used, in, linux, shell
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
POST# 945
Posted On: Fri Feb 29, 2008 12:01 pm
tomas
Topic: How To Get Display List Of Previous Commands Used In Linux Shell
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.



No Repies
(0) Comments for How To Get Display List Of Previous Commands Used In Linux Shell

What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload