Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-30-2006, 09:59 AM   #1
Registered: Jul 2005
Location: Rhinelander Wi.
Distribution: FC6 F7 F8
Posts: 94

Rep: Reputation: 15
start programs in terminal

Ok so this is probably a dumb question but it kinda has me wondering. I usually check the forums at lest once a day and read all the new threads. Always can learn something new just from reading. Anyway noticed that sometimes when somebody has a problem with a program it is suggested that they start it in terminal instead of the GUI. so that they can see any errors. So my question is how does one do this? I know how to get to the terminal, just not how to start a program like say firefox or open office.

Old 03-30-2006, 10:23 AM   #2
Registered: Oct 2004
Distribution: At home: Ubuntu, Debian Sarge
Posts: 56

Rep: Reputation: 15
You need to know the name of the executable file. Once youve got that you simply type it and press enter.
So for openoffice and firefox:
Old 03-30-2006, 10:56 AM   #3
Senior Member
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
just to add to sm1else's post, if you append an ampersand (&) to the end of the program name, then you can continue to work in the terminal you've opened the program from:
for example, will allow you to open open office and firefox, and yet continue to use the terminal for something else.

it's something which I find handy.
Old 03-30-2006, 11:02 AM   #4
Registered: Jul 2005
Location: Rhinelander Wi.
Distribution: FC6 F7 F8
Posts: 94

Original Poster
Rep: Reputation: 15
cool how easy!! now just have to figure out the executable files for some of the other programs.

thanks Jim
Old 03-31-2006, 09:38 AM   #5
Registered: Jun 2004
Location: West Virginia
Distribution: Gentoo, Debian
Posts: 52

Rep: Reputation: 15
now just have to figure out the executable files for some of the other programs.
List every executable on your system:

$> find / | file -f - | grep -i executable | more

Bash scripting is fun and interesting!!@?1!!!
Old 03-31-2006, 09:51 AM   #6
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
I think you used to excute the program by clicking on the panel or from the menu etc.
So you can do a right click and choose the properties.
In the open up dialog box, notice the textbox with the title command or something like that, it tell you what is the name of the excute file exactly as well the parameter it need
Old 03-31-2006, 06:18 PM   #7
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
generally the executable is just the name of the program, with a few exceptions (like openoffice)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial terminal programs for WinXP? stefanlasiewski General 6 10-08-2005 11:37 PM
creating your own text commands to start programs in Terminal? ljr2600 Linux - Newbie 3 06-23-2005 07:27 AM
Programs in FluxBox take ages to start or don't start at all hubabuba Slackware 1 02-20-2005 09:21 AM
How to open programs in terminal without being stuck to the terminal?? brynjarh Linux - Newbie 6 07-07-2004 12:52 PM
finding programs in terminal? Boom Linux - Newbie 3 01-08-2003 02:09 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration