Results 1 to 3 of 3

Thread: Terminal, Bash Shell, tty...Difference?

  1. #1
    Join Date
    Jul 2009
    Location
    AL, USA
    Beans
    330
    Distro
    Kubuntu 16.04 Xenial Xerus

    Terminal, Bash Shell, tty...Difference?

    A quick question on the proper use of these terms. Specifically for a CLI only install, no X, what is the environment that I'm in? When a full GUI is installed the CLI is a "terminal emulator", right?

    The reason I'm wondering is because I have a CLI only install and I'd like to customize the prompt and such. When googling around for tips, it became apparent that the CLI and GUI versions are about the same and yet different. There seems to be more info on customizing the terminal emulator than anything else.

    I'm just looking for some clarification on the terminology so I can be more specific in my searches and questions.
    Thinkpad T430, Intel i5-3320M (Ivy), 8GB RAM, Intel HD 4000, 500GB HDD: Xubuntu 20.04 LTS 64bit

  2. #2
    Join Date
    Aug 2006
    Location
    India
    Beans
    301
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Terminal, Bash Shell, tty...Difference?

    Terminal emulator allows users to use tty within a GUI environment. terminal in GUI is almost same as tty, except that it is more compatible to GUI, such that you can execute commands that require GUI in a terminal emulator.

  3. #3
    Join Date
    Aug 2010
    Location
    /home/brandon
    Beans
    118
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Terminal, Bash Shell, tty...Difference?

    Terminal is a catch-all approach to describing the CLI (Command Line Interface) of a *Nix O/S.

    TTY is short for TeleType, which is reminiscent of the '60's where computer usage consisted of hooking a TeleType to a mainframe and response to commands where transmitted back to the Teletype machine in printout format.

    Bash (short for "Bourne Again Shell", the successor to the original Bourne Shell) is the default command line environment in Ubuntu, and many other distros. But it's not the only one. The other more common shells are the C Shell (csh) the Z shell (zsh) and the Korn Shell (ksh). There's way more than that, but those are the most popular.

    The main difference in themeing the shell is that with the GUI based terminal you're usually presented with a GUI to change color/layout/etc... but with a CLI only install you need to edit your .bashrc file in your home directory. Here's a good site to help you with Bash customization.
    Last edited by BrandonC19; June 8th, 2011 at 08:37 AM. Reason: Typo
    “Flow with whatever may happen, and let your mind be free: Stay centered by accepting whatever you are doing. This is the ultimate.”
    ― Zhuangzi

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
  •