LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Blogs > invalidid
User Name
Password

Notices

Tips and tricks
Old

Did you know how to replace via the ^ command with bash?

Posted 03-12-2010 at 10:05 AM by invalidid
Updated 03-12-2010 at 10:11 AM by invalidid

Hello All!

At first, I want to ask one question about using the popular bash commandline interpreter. Did you know about the ^ command?

If yes, you are a really well expierenced bash-user. If not, you won't loose anything in reading this blog entry. The command ^ is used to substitude some text, typed the last time before you hit the enter key.

One example of how to use it, surely makes the usage clear:
Let's assume you have a directory called "~/temp"....
LQ Newbie
Posted in Tips and tricks
Views 833 Comments 2 invalidid is offline

  



All times are GMT -5. The time now is 12:55 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration