LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-30-2006, 09:59 AM   #1
jtravnick
Member
 
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.

Jim
 
Old 03-30-2006, 10:23 AM   #2
sm1else
Member
 
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:
Code:
ooffice
Code:
firefox
 
Old 03-30-2006, 10:56 AM   #3
pwc101
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:
Code:
ooffice&
and
Code:
firefox&
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
jtravnick
Member
 
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
blanks
Member
 
Registered: Jun 2004
Location: West Virginia
Distribution: Gentoo, Debian
Posts: 52

Rep: Reputation: 15
Quote:
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
TruongAn
Member
 
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
DeusExLinux
Member
 
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)
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:30 PM.

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