Run in terminal

Discussion in 'all things UNIX' started by Masterton, Jul 9, 2009.

Thread Status:
Not open for further replies.
  1. Masterton

    Masterton Registered Member

    Joined:
    Jul 6, 2009
    Posts:
    101
    Newbie user of Ubuntu.

    When you click on something and it says this is an executable file, it gives you several choices: Run in Terminal, Display, Cancel, Run

    What does Run in Terminal mean? Does it mean something like run as admin in Windows?
     
  2. Pedro

    Pedro Registered Member

    Joined:
    Nov 2, 2006
    Posts:
    3,502
    terminal ~ cmd
    admin ~ root / super user
     
  3. lodore

    lodore Registered Member

    Joined:
    Jun 22, 2006
    Posts:
    9,006
    run in terminal simply means running the program in a terminal.
    its normally used for installing programs using the commandline.
     
  4. Masterton

    Masterton Registered Member

    Joined:
    Jul 6, 2009
    Posts:
    101
    So Terminal in Linux is equal to MS-DOS in Windows. Correct?
    Are root and super user the exactly same thing?
     
  5. Pedro

    Pedro Registered Member

    Joined:
    Nov 2, 2006
    Posts:
    3,502
    In a word, yes :)
     
  6. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    8,696
    In two words, no.

    MS-DOS in Windows (modern ones, NT) is not longer an operating system, more sort of a wrapper for a few system commands. In Linux, the shell can do everything.

    Run in terminal means you will see the execution, the errors, messages etc. Useful when you want to know exactly what is happening. This is compared to double-clicking and running things where execution messages will be hidden from your eyes. Thus is something goes wrong, you might not know what went wrong and will have to go through logs.

    Personally, I suggest running .deb files with double-click and scripts executing manually from the terminal.

    Mrk
     
  7. Pedro

    Pedro Registered Member

    Joined:
    Nov 2, 2006
    Posts:
    3,502
    Well, not equal :p
     
  8. Masterton

    Masterton Registered Member

    Joined:
    Jul 6, 2009
    Posts:
    101
    Well isn't "no" one word only? :D
    Other than that thanks for your explanation. I learned more. Cool. :cool:
     
  9. lotuseclat79

    lotuseclat79 Registered Member

    Joined:
    Jun 16, 2005
    Posts:
    5,096
    Hi Masterton,

    A Terminal window, means you get a command line prompt, and if the executable is in one of the directories in your $PATH variable (which is a list of executable directories searched to find the executable from anywhere you might have navigated to in your file system) of the account you are logged into, then you can issue the command, find it, and it will be run if you have permission to execute it.

    In essence, a Terminal window is a Command Line window for issuing commands, i.e. the Command line interpreter is the Shell which runs the commands.

    -- Tom
     
Loading...
Thread Status:
Not open for further replies.