How to get the current directory in gnome-terminal?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list

[Index of Archives]     [Fedora Desktop]     [Trinity Users]     [KDE]     [Gimp]     [Yosemite News]

  Powered by Linux