How to get the current directory in gnome-terminal?
- From: Peng Yu <pengyu ut gmail com>
- To: gnome-list gnome org
- Subject: How to get the current directory in gnome-terminal?
- Date: Mon, 12 Oct 2009 09:50:51 -0500
HI,
In gnome-terminal, I set the following command in Edit->Current
Profile->Title and Command->Custom command
However $PWD is not showing as the current directory when I type
ctrl+shift+N? I'm wondering how to get the correct current directory
in gnome-terminal.
ssh -t targethost "echo PWD=$PWD; cd $PWD; /bin/bash"
Regards,
Peng
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]