How to load Bash not Ash on startup - Puppy 5.3 (Solved)
How to load Bash not Ash on startup - Puppy 5.3 (Solved)
Puppy 5.3
I want to get the full Bash commands when I open a terminal.
How do I get Puppy to load Bash instead of Ash as default on startup?
I want to get the full Bash commands when I open a terminal.
How do I get Puppy to load Bash instead of Ash as default on startup?
Last edited by RoyBell on Mon 18 Mar 2013, 17:02, edited 2 times in total.
When I was young I knew everything.
Now I'm old I know nothing but I'm much wiser.
Now I'm old I know nothing but I'm much wiser.
tell us the out put of
Code: Select all
while read shell; do
echo $shell;done<<EOI
$(ls -1sl /bin/*sh)
EOI
Hi Karl,
This is the result of your command line code.
As I use Puppy on a number of machines I want to set it up to always have the full command line available.
This is the result of your command line code.
Code: Select all
# while read shell; do
> echo $shell;done<<EOI
> $(ls -1sl /bin/*sh)
> EOI
0 lrwxrwxrwx 1 root root 7 2012-04-04 00:15 /bin/ash -> busybox
498 -rwxr-xr-x 1 root root 509368 2012-04-04 00:18 /bin/bash
0 lrwxrwxrwx 1 root root 7 2012-04-04 00:15 /bin/fdflush -> busybox
0 lrwxrwxrwx 1 root root 4 2012-04-04 00:15 /bin/sh -> bash
#
When I was young I knew everything.
Now I'm old I know nothing but I'm much wiser.
Now I'm old I know nothing but I'm much wiser.
Code: Select all
grep -iE 'alias|shell|term' /etc/profile
grep -iE 'alias|shell|term' $HOME/.bashrc
Hi Karl,
Thanks for your help.
The output from your latest code is:
Is this to establish how my system is set up?
Will I have to do this to all the computers I use Puppy on?
Regards, Roy
Thanks for your help.
The output from your latest code is:
Code: Select all
# grep -iE 'alias|shell|term' /etc/profile
#100622 PKG_CONFIG_PATH is determined in 3builddistro (Woof), written to /etc/profile.d/pkgconfig
#TERM=linux
# TERM="rxvt-unicode"
TERM="xterm"
export PS1 USER LOGNAME HISTSIZE INPUTRC EDITOR TERM
#this is for antialiased fonts in gtk1 apps...
SHELL="/bin/bash"
export SHELL
#a vertical line character displays as a 3. so leave the default shell as Busybox sh.
#...no, have a fix, from alienX. added TERM=xterm to /root/.bashrc.
#alias vi=e3vi
alias ls='ls --color=auto'
##v2.17 no color in terminal window. G2: sh (link to bash) does not read any
#...no, instead have exported SHELL=bash, see above.
# grep -iE 'alias|shell|term' $HOME/.bashrc
#v1.0.5 need to override TERM setting in /etc/profile...
#export TERM=xterm
#
Will I have to do this to all the computers I use Puppy on?
Regards, Roy
When I was young I knew everything.
Now I'm old I know nothing but I'm much wiser.
Now I'm old I know nothing but I'm much wiser.
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
If it is ash then it is busybox because of
and as example
See the difference in output of0 lrwxrwxrwx 1 root root 7 2012-04-04 00:15 /bin/ash -> busybox
Code: Select all
ls /
Code: Select all
busybox ls /
Why do you make complicated things from simple things ?
There is bash in puppy, it's in /bin/bash. It has nothing to do with busybox or ash.
There is bash in puppy, it's in /bin/bash. It has nothing to do with busybox or ash.
Code: Select all
echo $SHELL
/bin/bash
locate is not any a shell builtin into ash or bash . locate is part of the find package . locate is left out of default Puppies . locate sometimes get called by some gtkdialog apps , in my case especially by apps by forum member zigbert .
busybox ash has a default PATH compiled in that also includes */sbin paths . bash also, but in $(echo $USER) != root mode , */sbin is not in the echo $PATH anymore . Then you really don't get many commands .
busybox ash has a default PATH compiled in that also includes */sbin paths . bash also, but in $(echo $USER) != root mode , */sbin is not in the echo $PATH anymore . Then you really don't get many commands .
You are mixing things up : locate has nothing to do with bash, locate is from findutils package.
Read here http://www.gnu.org/software/findutils/
You can download it here
http://www.murga-linux.com/puppy/viewtopic.php?t=49511
Read here http://www.gnu.org/software/findutils/
You can download it here
http://www.murga-linux.com/puppy/viewtopic.php?t=49511
Thanks linuxcbon,
Am I to assume that a standard installation of Puppy 5.3 will have Bash?
If so I got it wrong in the first place and I can mark it as solved.
I'm trying get familiar with the command line so I'm not up to speed yet.
Am I to assume that a standard installation of Puppy 5.3 will have Bash?
If so I got it wrong in the first place and I can mark it as solved.
I'm trying get familiar with the command line so I'm not up to speed yet.
When I was young I knew everything.
Now I'm old I know nothing but I'm much wiser.
Now I'm old I know nothing but I'm much wiser.