Find the answer to your Linux question:
Results 1 to 6 of 6
Sometimes the text only mode terminal crashes on me. So I wanted to be able to kill it and restart it from the GUI. I tried using ps x, and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! rm-rf's Avatar
    Join Date
    Mar 2011
    Posts
    85

    Question what terminal does linux use in text only mode?


    Sometimes the text only mode terminal crashes on me. So I
    wanted to be able to kill it and restart it from the GUI. I tried
    using ps x, and that didn't show it. I tried using
    Code:
    echo "$TERM"
    but it returned "linux", I had thought linux was just a kernel. So is it a part of the linux kernel, or is it a separate program?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,695
    The TERM environment only shows what the terminal type is, not the terming program. Generally for Linux the terminal program is bash (the bourne again shell - bash), an updated version of the Unix sh program. So, try this: ps -aef | grep -i bash
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined! rm-rf's Avatar
    Join Date
    Mar 2011
    Posts
    85
    No I'm not talking about the shell, I am talking about the terminal. what is the filename of the program that is letting me talk to the shell?

  4. $spacer_open
    $spacer_close
  5. #4
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    That would be bash for the console.
    And the name of a GUI terminal window depends on your WM.
    Most commonly, it's xterm.

    Is that what you mean?
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  6. #5
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,695
    As jayd512 said, it can be xterm, or gnome-terminal - there are a number of terminal programs. These are two of the more common ones. Again, the TERM environment variable is NOT the type of terminal, but what capabilities it will use, which it gets from the termcap database. The xterm and linux types are versions of the ansi terminal protocols, based originally on the DEC vt100 terminal.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  7. #6
    Just Joined! rm-rf's Avatar
    Join Date
    Mar 2011
    Posts
    85
    Quote Originally Posted by jayd512 View Post
    Is that what you mean?
    yes, but why would they make bash go to the screen directly?
    It makes more sense for the only way to interact with it to be to use a terminal, because that saves space on servers where you would only login with ssh (that way you don't need to have any
    fonts loaded on it)

Posting Permissions

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