Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Default shell?

Featured Replies

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.