August 21, 201411 yr I manage my server mainly through SSH and like some features of the CLI very much, such as the 'v' and 'd' aliases. (I actually built these into the .bash_profiles of my OSX machines.) However, when I use Cyberduck to open a terminal window it executes a /$SHELL command that somehow gives me a different shell interface than a normal SSH window or the console. This is very confusing. so in SSH, I am in bash : root@Tower:~# ps -p $$ PID TTY TIME CMD 18725 pts/0 00:00:00 bash and this is the shell: root@Tower:~# echo $SHELL /bin/bash Fair enough. But if I call $SHELL the actual shell changes, for example I lose the 'v' alias. root@Tower:~# $SHELL root@Tower:~# v bash: v: command not found I can't get it back by calling /bin/bash or /usr/bin/bash, but I can by calling source /root/.bash_profile root@Tower:~# v total 12 drwx--x--- 3 root root 160 Aug 20 00:36 . ..... Can anyone explain what is going on? D
Archived
This topic is now archived and is closed to further replies.