What Shell do you use?

Sharky Forums


Results 1 to 14 of 14

Thread: What Shell do you use?

  1. #1
    Hammerhead Shark hobbes2112's Avatar
    Join Date
    Jul 2001
    Posts
    1,553

    Post What Shell do you use?

    I have always used csh in Unix, and bash in Linux. I guess this is due to the fact that they are the standard and I never learned anything better about any of the other ones.

    What do you like? Why?

    ------------------
    "Sometimes it is entirely appropriate to kill a fly with a sledge-hammer!"
    -MAJ. HOLDREDGE USMC

  2. #2
    Anime Lovin' Girl Mod sourdaisy's Avatar
    Join Date
    Oct 2000
    Location
    Albuquerque, NM (aka /dev/null)
    Posts
    1,940

    Post

    I run both FreeBSD and linux. I like the bash shell the best, probably because that's what I started on. For root though, I use csh because that's just another thing different so I don't forget. I do like the line-completion much better with bash though.

    ------------------
    "Software is like sex, it's better when it's free"
    --Linus Torvalds
    "Programming graphics in X is like finding the square root of PI using Roman numerals."
    -Henry Spencer

  3. #3
    Mako Shark
    Join Date
    Apr 2001
    Location
    Puyallup, WA
    Posts
    4,650

    Post

    I like bash, but thats what i learned on. I find myself installing bash, the binutils, J.O.E., and fileutils on every OS/Computer i use

    ------------------
    "Fixing Unix is easier than living with NT." — Jonathan Gilpin

    "Unix is user-friendly. It's just very selective about who its friends are."

    "Asking if you should upgrade to XP is like asking whether you should get kicked in the nutz, do your really want to get kicked in the nutz?"
    -Me

  4. #4
    NullPointerException rock's Avatar
    Join Date
    Sep 2000
    Location
    York, PA
    Posts
    6,203

    Post

    tcsh is the only thing I use anymore. I always like csh before, but once I tried tcsh a couple years ago, there's no turning back. It's like csh on steroids.

    Open Source is free like a puppy is free.

    It's only when you look at an ant through a magnifying glass on a sunny day that you realise how often they burst into flames.

    Understanding Evolution

  5. #5
    Mako Shark blppt's Avatar
    Join Date
    Sep 2000
    Location
    Albany,NY,USA
    Posts
    4,061

    Post

    Originally posted by hobbes2112:
    I have always used csh in Unix, and bash in Linux. I guess this is due to the fact that they are the standard and I never learned anything better about any of the other ones.

    What do you like? Why?

    I wasnt even aware there was anything other than bash. LOL. I'd call myself a newbie, but everytime i hear that word it irks me....

    ------------------
    ------
    Pat D.

    Visit a music site I write for:
    http://www.geocities.com/mjareviews
    ------
    Pat D.

    Athlon 1800+ @1.67ghz (2000+), Vantec CCD-6027D cooler, Soyo Dragon Ultra Black Edition KT400, 512MB Mushkin and 512MB Crucial PC2100 DDR RAM, SBLive Value, Albatron Ti4200 128MB @ 275/550 using 42.86, Logitech Z-560 with switch, KDS RAD-5c LCD(possibly soon replaced by 19" CRT) WinXP Professional SP1, Antec 300W Smartpower, Western Digital WD400BB, Lite-On 24x Burner.

  6. #6
    Tiger Shark Hey Yoda's Avatar
    Join Date
    Oct 2000
    Location
    vancouver, bc, canada
    Posts
    832

    Post

    tcsh kicks ***!!

  7. #7
    Hammerhead Shark hobbes2112's Avatar
    Join Date
    Jul 2001
    Posts
    1,553

    Post

    no Korn Shell people? that is kind of a suprise....

    ------------------
    "Sometimes it is entirely appropriate to kill a fly with a sledge-hammer!"
    -MAJ. HOLDREDGE USMC

  8. #8
    NullPointerException rock's Avatar
    Join Date
    Sep 2000
    Location
    York, PA
    Posts
    6,203

    Post

    Originally posted by hobbes2112:
    no Korn Shell people? that is kind of a suprise....
    We have a few Korn die hards around the office here, but I notice they're just a vocal minority. A lot of people who aren't on the Unix system often just stick to csh. Those who are on a lot, we talk them into tcsh pretty quickly

    Open Source is free like a puppy is free.

    It's only when you look at an ant through a magnifying glass on a sunny day that you realise how often they burst into flames.

    Understanding Evolution

  9. #9
    Tiger Shark
    Join Date
    Oct 2000
    Location
    Atlanta, GA. USA
    Posts
    971

    Post

    I use ksh for the most part, but that is just what I am used to.

  10. #10
    Tiger Shark
    Join Date
    Feb 2001
    Location
    Dublin
    Posts
    559

    Post

    I like tcsh as my general purpose shell, and bash as my scripting shell.

    csh is bad bad bad for scripting, bash is a lot better, I have found.

    Here's my tcsh prompt:
    {\033]0;%n\@%m\a%}%S%T%s[%B%n@%m]%/%S>%b%s

    Use it in an xterm or decent terminal emulator on windows (like putty) and it gives you your username@host as the title and then the prompt looks like this:

    17:31[higels@alf2]/home/h/higels>

    tcsh also has set watch, which alerts you when a specific person or people log onto the system. It works pretty well.... the syntax looks like this:

    set watch (1 username1 any username2 any etc.)

    If you do set watch(1 any any)

    it'll tell you exactly when and where someone logged on. Pretty useful.

  11. #11
    Expensive Sushi
    Join Date
    Oct 2001
    Location
    sonora,ca.usa
    Posts
    34

    Post

    I like bash (line completion rocks) I find myself hitting tab in windows. lol. I wil sometimes hit tab when trying to type a url. It just makes me wish unix could be everywhere.

    *You know your in trouble when you try to hit tab when writing on paper* (i am not THAT bad)

    I have a question though, what are some of the variables that I could put in my .bashrc to change the prompt?

    I want the time and such.

    ------------------
    Where did that file go?
    I thought I put it here in the /dev/null directory? hummmm.
    Where did that file go?
    I thought I put it here in the /dev/null directory? hummmm.

  12. #12
    Tiger Shark
    Join Date
    Oct 2000
    Location
    Atlanta, GA. USA
    Posts
    971

    Post

    At work the few NT machines we have do line completion in dos, you have to add a line to the registry to make it work. Of course it doesn't work as well as it does in bash.

  13. #13
    Hammerhead Shark hobbes2112's Avatar
    Join Date
    Jul 2001
    Posts
    1,553

    Post

    I have line completion in csh....it is escape.

    I think I had to "turn it on" though with a shell variable.

    ------------------
    "Sometimes it is entirely appropriate to kill a fly with a sledge-hammer!"
    -MAJ. HOLDREDGE USMC

  14. #14
    Tiger Shark
    Join Date
    Feb 2001
    Location
    Dublin
    Posts
    559

    Post

    Originally posted by zteck:
    I have a question though, what are some of the variables that I could put in my .bashrc to change the prompt?

    I want the time and such.

    Check the bash-prompt howto on linuxdoc.org...

    I know that tcsh has file name completion, and it can be done in Windows as well. Get tweakUI

Posting Permissions

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