Results 1 to 3 of 3

Thread: differences in xubuntu terminal and bash

  1. #1
    Join Date
    May 2005
    Beans
    86

    differences in xubuntu terminal and bash

    I want to know what is the difference in xubuntu terminal and bash.

    This is because one of my scripts programmed on my work's remote terminal running fedora core by looks of things works on my works' (PUTTY) terminal interface using sh scriptname

    But it didn't work in a similar way in my xubuntu terminal... instead I had to type BASH scriptname.


    My initial thoughts were that whatever runs with the sh command should run on most terminals because sh is for compatiblity sake and it refers to the original Bourne shell rather than BASH (Bourne again shell).

    Also i cannot use echo $_ in terminal--- I thought its meant to give variables such as kimBH where i would stand for interactive mode... instead the $_ variable has more to do with last program run i think

  2. #2
    Join Date
    Jan 2006
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: differences in xubuntu terminal and bash

    in fedora sh points to bash, in ubuntu it points to dash. sh proper doesn't have many features ksh and bash scripters are accostumed to.
    I am infallible, you should know that by now.
    "My favorite language is call STAR. It's extremely concise. It has exactly one verb '*', which does exactly what I want at the moment." --Larry Wall
    (02:15:31 PM) ***TimToady and snake oil go way back...
    42 lines of Perl - SHI - Home Site

  3. #3
    Join Date
    May 2005
    Beans
    86

    Re: differences in xubuntu terminal and bash

    how can you find out what sh points to (if you have a random distro for example)

Tags for this Thread

Bookmarks

Posting Permissions

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