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.
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:
Post Tags: how, to, get, display, list, of, previous, commands, used, in, linux, shell, linux, linux support, linux questions, linux server, programming, assistance, questions, answers, tech, it, unix
This Post Has Been Viewed 328 Times Since Wed Dec 31, 1969 4:33 pm Posted By tomas with 0 replies
Next Post »» What the Easiest Way to Display A file In Linux UNIX Show Easy Command
Post Description:
Post Tags: how, to, get, display, list, of, previous, commands, used, in, linux, shell, linux, linux support, linux questions, linux server, programming, assistance, questions, answers, tech, it, unix
This Post Has Been Viewed 328 Times Since Wed Dec 31, 1969 4:33 pm Posted By tomas with 0 replies
Next Post »» What the Easiest Way to Display A file In Linux UNIX Show Easy Command
| How To Get Display List Of Previous Commands Used In Linux Shell |
Leave Your Comments
Comments and replies About How To Get Display List Of Previous Commands Used In Linux Shell
(0) Comments