Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Server Daily
IT Management Daily
Subscribe News
Subscribe PR
Subscribe Security

internet.com
Internet News
Small Business

Advertise
Newsletters
Tech Jobs
E-mail Offers

 






Current Newswire:

Want a Job? Learn Linux

PC-BSD 9 review – to FreeBSD what Ubuntu is to Debian

Time to dispel open source myths, says Liam Maxwell

SECURITY: Nmap Inside and Out

Eight features Windows 8 'borrowed' from Linux

Malware devs embrace open-source

A tale of two distros: Ubuntu and Linux Mint

Raspberry Pi benchmarked against Beagleboard, low price is long term

20 popular Ubuntu Linux apps you may want to try

A Selection of the Very Best Open Source Tutorials and Tools



Applications Management Engineer Sr (NYC)
Next Step Systems
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
:How to be Faster at the Linux Command Line
How to be Faster at the Linux Command Line
Feb 4, 2009, 16 :33 UTC (0 Talkback[s]) (5826 reads)

[ Thanks to victorg for this link. ]

"Use History Expansion

"Bash's command history can be referenced using the exclamation mark. For instance, typing two exclamation marks (!!) will re-execute the last command. The next example executes date twice:

"date
!!

"If you are interested in more than just the last command executed, type history to see a numbered listing of your Bash's history.

"history
39 grep root /etc/passwd
40 date
41 date
42 history"

Complete Story

Related Stories:
Chaining Linux Commands Together(Feb 03, 2009)
Take a hard look at the command line(Feb 02, 2009)
Four Completely Useless Linux Commands(Feb 02, 2009)
How to find the shell you are using(Feb 02, 2009)
10 Tips for Writing Efficient Bash Scripts(Feb 02, 2009)
Enhanced Bash(Jan 31, 2009)
A Primer to AGI: Asterisk Gateway Interface(Jan 29, 2009)



No talkbacks posted.
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!

..............................




All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP