Find the answer to your Linux question:

View Poll Results: what do you use

Voters
13. You may not vote on this poll
  • bash

    12 92.31%
  • tcsh

    2 15.38%
  • other

    5 38.46%
Multiple Choice Poll.
Results 1 to 10 of 10
hi can annybody tell me the diference among bash and tcsh? How to swap from bash to tcsh and from tcsh to bash!!!...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549

    bash&tcsh


    hi
    can annybody tell me the diference among bash and tcsh?
    How to swap from bash to tcsh and from tcsh to bash!!!

  2. #2
    drl
    drl is offline
    Linux Engineer drl's Avatar
    Join Date
    Apr 2006
    Location
    Saint Paul, MN, USA / CentOS, Debian, Slackware, {Free, Open, Net}BSD, Solaris
    Posts
    1,286
    Hi.

    Comparison chart at link below ... cheers, drl

    http://en.wikipedia.org/wiki/Compari...omputer_shells
    Welcome - get the most out of the forum by reading forum basics and guidelines: click here.
    90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
    We look forward to helping you with the challenge of the other 10%.
    ( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )

  3. #3
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549
    thanks drl
    i think ill leep using bash.........just curious how to swap from bash to tcsh and from tcsh to bash???

  4. #4
    drl
    drl is offline
    Linux Engineer drl's Avatar
    Join Date
    Apr 2006
    Location
    Saint Paul, MN, USA / CentOS, Debian, Slackware, {Free, Open, Net}BSD, Solaris
    Posts
    1,286
    Hi.

    To change temporarily in a session, one enters the name -- the shells are just commands themselves after all. So if you're using bash currently and wish to try tcsh, enter:
    Code:
    tcsh
    If you have done that, and wish to go back to the original shell in that session, enter command exit.

    On some systems you may need to install a particular shell. As you saw from the table, there are lots of shells. Because they are just commands (complex commands, I will admit), you can write your own shell -- it's simply a loop: issue a prompt, wait for user input, read a command, do the command, loop.

    To change your default login shell, see man chsh ... cheers, drl
    Welcome - get the most out of the forum by reading forum basics and guidelines: click here.
    90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
    We look forward to helping you with the challenge of the other 10%.
    ( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )

  5. #5
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549
    thanks a lot drl for your help

  6. #6
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549
    when i try to run tcsh i get this

    jan@jan-desktop:~$ tcsh
    bash: tcsh: command not found
    jan@jan-desktop:~$

  7. #7
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549
    ok i alredy know why...i have bash only........

  8. #8
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    If you are going to be tinkering with shells, then I suggest you also take a look at zsh. Its tab completion is a lot more superior to bash and it has many features from other shells.

  9. #9
    mzq
    mzq is offline
    Just Joined!
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    26
    Yes, definitely zsh! (Gentoo users: don't forget to emerge zsh-completion)
    Acknowledged, it's more work to build a proper .zshrc, but it's worth making the effort.

  10. #10
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549
    ah dont warry....ill change a distro today...

Posting Permissions

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