Find the answer to your Linux question:
Results 1 to 8 of 8
.I want to use a better shell than bash....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2004
    Location
    HeNan,China
    Posts
    19

    what shell ary u using?


    .I want to use a better shell than bash.

  2. #2
    Linux Engineer
    Join Date
    Sep 2003
    Location
    Knoxhell, TN
    Posts
    1,078
    try zsh.. IIRC, it's a combination of the best features from the bourne and C shell families of shells....
    Their code will be beautiful, even if their desks are buried in 3 feet of crap. - esr

  3. #3
    Just Joined!
    Join Date
    May 2004
    Location
    Columbus, Ohio
    Posts
    16
    How do you switch shells? I've been using bash forever.... (Fedora Core 1, btw)

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer kriss's Avatar
    Join Date
    Jun 2003
    Posts
    1,113
    In your /etc/passwd file.

  6. #5
    Linux Engineer
    Join Date
    Sep 2003
    Location
    Knoxhell, TN
    Posts
    1,078
    to expand upon what kriss said, /etc/passwd looks like this:
    Code:
    root:x:some:other:stuff:/bin/bash
    i don't remember ATM what some:other:stuff is (UID,GID,and one other var, i think..) the x is the undisplayed password, root is the username.. and the last entry is your shell... just change it to whatever shell you want....
    Their code will be beautiful, even if their desks are buried in 3 feet of crap. - esr

  7. #6
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    bash is the best shell IMO I tried to use ksh since its default for OBSD but didnt like it no tab completion, up arrow for previouse commans etc.. so i installed bash. Ive also tried the csh which i dont mind.

  8. #7
    Linux Engineer
    Join Date
    Sep 2003
    Location
    Knoxhell, TN
    Posts
    1,078
    your post actually inspired me to try a different shell.. so i installed zsh and switched my regular user to it.. i read a bit about its features and already i can see how it could be considered better than bash.. it has more globbing techniques and seems to be more robust all around.... in fact, i switched my root user to it, also...
    Their code will be beautiful, even if their desks are buried in 3 feet of crap. - esr

  9. #8
    Just Joined!
    Join Date
    Jun 2004
    Location
    London, UK
    Posts
    53
    Editing the passwd/shadow files is not recommended.

    Use the usermod command to switch shell (as root)..
    Code:
    usermod -s /bin/zsh username
    Or as a user use the chsh utility.
    Code:
    chsh -s /bin/zsh

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •