Add Bookmarks for Changing Directories in Konsole
October 2nd, 2009 by Mitch Frazier in
__________________________
Mitch Frazier is an Associate Editor for Linux Journal and the Web Editor for linuxjournal.com.
Special Magazine Offer -- Free Gift with Subscription
Receive a free digital copy of Linux Journal's System Administration Special Edition as well as instant online access to current and past issues. CLICK HERE for offer
Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.
Subscribe now!
The Latest
Newsletter
Tech Tip Videos
- Nov-19-09
- Nov-04-09
Recently Popular
From the Magazine
December 2009, #188
If last month's Infrastrucuture issue was too "big" for you then try on this month's Embedded issue. Find out how to use Player for programming mobile robots, build a humidity controller for your root cellar, find out how to reduce the boot time of your embedded system, and if you're new to embedded systems find out the basics that go into one. You can also read about the Beagle Board, the Mesh Potato and a spate of other interestingly named items. And along with our regular columns don't miss our new monthly column: Economy Size Geek.
Delicious
Digg
StumbleUpon
Reddit
Facebook








Use can also use pushd and
On October 2nd, 2009 Arup (not verified) says:
Use can also use pushd and popd, Its not exactly like bookmarks, but quite helpful.
does that work across shells?
On October 2nd, 2009 victor carvajal (not verified) says:
does adding a bookmark in Konsole allow another shell to use that bookmark? if so, awesome. I'm using Gnome and I didn't see that dropdown menu in the terminal.
Another alternative for "bookmarks" I recently found useful was combining the commands:
pushd and dirs.
For instance, following your example:
cd /var/log
pushd .
cd ~
# issue dirs -v will show you directores you've pushed down
# should display something like
# 0 ~
# 1 /var/log
dirs -v
# cd back to /var/log or 1 in the dirs list.
cd ~1
Other Shells: Yes, Other Terminals: No
On October 2nd, 2009 Mitch Frazier says:
You could use it with another shell (eg csh, ksh, or dash) as long as the shell uses "cd" to change directories, but it won't work in another terminal program, which is what gnome-terminal is (the GNOME Terminal program). This is a Konsole feature, which is "independent" of the shell you're running inside Konsole, and which has nothing to do with the shell or with other terminal programs. Konsole implements this by sending a "cd" command to the shell that is running.
__________________________Mitch Frazier is an Associate Editor for Linux Journal and the Web Editor for linuxjournal.com.
Post new comment