hello,
trying to get some aliases running so that when I try to do something from ssh connection to my rpi I don't have to type all these long commands over and over again...
I can ssh fine, no issues there, so my problem is not getting into the machine.
However once in, it seems that the shell its running is bash although it says sh. Bit confusing:
echo "$SHELL"
returns
/bin/sh
which is in fact a symlink to /bin/bash.bash same as bash, go figure...
Anyway, I'm logging in as root, and there I have a .bash_history. Wrongly assumed I'm running bash, so tried .bashrc and .bash_alias with my alias to no avail.
However if I type:
bash
I'm greeted with:
BusyBox v1.31.0 (2021-03-07 19:57:11 UTC) multi-call binary. Usage: who [-a] This is BASH 5.0- DISPLAY on :0.0 Mon Mar 15 18:04:07 UTC 2021 [18:04 root@raspberrypi4 ~] >
(because i've added a 26kb worth of scripts/aliases/whatnot in .bashrc)
Now, I'm about to give up and just type bash every time I open a terminal window to the rpi, but it's not right, there's definitely something I'm missing (and I hope it's simple!)
any ideas?
cheers
V.