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:

Tech Comics: "Groundhog Day"

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



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

Justtechjobs.com Post A Job | Post A Resume
:Enhanced history searching in zsh
Enhanced history searching in zsh
Mar 16, 2010, 22 :02 UTC (0 Talkback[s]) (2724 reads)

(Other stories by Vincent Danen)

"If you spend any length of time in the shell, chances are you’ve typed the same commands over and over. It’s usually not anything you can necessarily script as the commands may vary slightly on each invocation, but there are certain commands that can be used often with a little variation on each call.

"Usually these commands are scripts themselves and the arguments passed to them will change over time or with what you are working on.

"History searching is handy in these cases. By default, the zsh shell will respond to the [Ctrl]-R key sequence to search through the history based on what you type in. With repeated [Ctrl]-R keys, searching continues backwards for any shell commands that match. Unfortunately, on many terminals, [Ctrl]-S which should do forward searching, does not work so if you accidentally hit [Ctrl]-R one too many times, you’re stuck having to abort and do it over again."

Complete Story

Related Stories:
Unix Tip: Sed & Awk -- Still friendly after all these years(Mar 12, 2010)
Intro to IO Profiling of Applications(Mar 10, 2010)
Device Or Resource Busy Errors In Linux(Mar 05, 2010)
Using gnuplot to display data in your Web pages(Feb 03, 2010)
Introducing TermBuilder - a Linux command line generator(Jan 29, 2010)
Tech Tip: Use gxmessage for Displaying GUI Messages from Scripts(Jan 28, 2010)
Shell Scripts and Here Documents(Jan 26, 2010)
Using Linux Text-Stream Filters – A Real-life Example(Jan 12, 2010)



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