Go Job Hunting at the LQ Job Marketplace
Go Back > Blogs > invalidid
User Name


Tips and tricks

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

Posted 03-12-2010 at 09:05 AM by invalidid
Updated 03-12-2010 at 09: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 920 Comments 2 invalidid is offline


All times are GMT -5. The time now is 06:30 PM.

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