LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-21-2009, 12:10 AM   #1
Xzibit
Member
 
Registered: Dec 2009
Posts: 35

Rep: Reputation: 15
Run?!


Does Linux's Shells have a Run Command ?
Please explain :-) thx
 
Old 12-21-2009, 12:18 AM   #2
Web31337
Member
 
Registered: Sep 2009
Location: Russia
Distribution: Gentoo, LFS
Posts: 399
Blog Entries: 71

Rep: Reputation: 65
what is Run Command?
 
Old 12-21-2009, 01:22 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,638

Rep: Reputation: Disabled
Can you explain a bit more on that?
What command are you talking about?
And what you trying to do?
 
Old 12-21-2009, 01:52 AM   #4
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Judging from your post here: http://www.linuxquestions.org/questi...e-file-777151/
to execute a file or "running" it use "sh filename" or "./filename" from terminal.
 
Old 12-21-2009, 02:36 AM   #5
newlifecoming
LQ Newbie
 
Registered: Dec 2009
Posts: 3

Rep: Reputation: 1
options have the diffrent commands
 
Old 12-21-2009, 03:55 AM   #6
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Rep: Reputation: 146Reputation: 146
Like "Run" in Windows?
 
1 members found this post helpful.
Old 12-21-2009, 09:00 AM   #7
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,047

Rep: Reputation: 65
Quote:
Originally Posted by Xzibit View Post
Does Linux's Shells have a Run Command ?
Please explain :-) thx
man run and see the result.
Are you talking about "ALT+F2" ?
 
Old 12-21-2009, 09:02 AM   #8
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by cola View Post
man run and see the result.
Are you talking about "ALT+F2" ?
I don't think there's a manual for run, maybe if a specific distro uses this command, but I doubt that.

I think he means Alt+F2.
 
Old 12-21-2009, 09:17 AM   #9
Xzibit
Member
 
Registered: Dec 2009
Posts: 35

Original Poster
Rep: Reputation: 15
terminal options . not windows! Thanks!

I might be wrong but like in windows .

Or what might help is a Webpage with all the commands when using the terminal and simple instructions beside them ..
 
Old 12-21-2009, 09:23 AM   #10
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

I think you are referring to the 'Run' box/option you get when clicking on the Start button in Windows. From that box you can launch a command. In my opinion this doesn't exist in Linux, but you can launch about any command from a terminal. Other users already have indicated how you can switch to a 'fullblown' terminal session, or you can open a terminal window from within your GUI.

To list Linux commands and their descriptions I find these sites very helpfull:

http://www.pixelbeat.org/cmdline.html
http://www.oreillynet.com/linux/cmd/
http://ss64.com/bash/

I hope this helps you out a bit.

Kind regards,

Eric
 
Old 12-21-2009, 09:26 AM   #11
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
You mean like a window where you type the command and it is run as a program?

You can just type in in a terminal, but closing the terminal will kill the application.

In GNOME you can get a window that you type the command in that closes automatically without killing the application by pressing Alt+F2. This is convenient when you don't want to have a terminal window hanging around just to keep the application running. But you won't be able to see the program's command-line output.

You also said if the shell has a run command, the shell practically is the run command!

Last edited by MTK358; 12-21-2009 at 09:29 AM.
 
Old 12-21-2009, 09:51 AM   #12
Xzibit
Member
 
Registered: Dec 2009
Posts: 35

Original Poster
Rep: Reputation: 15
Fullblown terminal session ?
 
Old 12-21-2009, 09:53 AM   #13
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
That would work. But if you just want to launch a GUI application, then I would recommend using Alt+F2 if you have GNOME (I don't know if it works in KDE, maybe it does).
 
Old 12-21-2009, 10:17 AM   #14
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
KDE has a run command in the menus, but--as many have mentioned--it's easy enough to just open a terminal.
 
Old 12-21-2009, 10:18 AM   #15
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by MTK358 View Post
That would work. But if you just want to launch a GUI application, then I would recommend using Alt+F2 if you have GNOME (I don't know if it works in KDE, maybe it does).
IDK about KDE either but Alt+F2 works in Xfce too -- closest dang thing to Windows+R ah ivver did see. It didn't like cmd but xterm started up sweet as a new Fordson on a Summer's day.
 
  


Reply


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
How to enter graphical mode (run level 5) command line (run lenel 3) edmondgyampoh Linux - Newbie 3 05-15-2009 06:33 PM
trying to fix xwindows or just run command line... changing run levels dave247 Debian 2 11-18-2008 06:11 PM
I run Fedora 9 and I boot from USB, how I run at startup Firewall and antivirus? gginis Linux - Software 3 06-08-2008 03:19 AM
Is a script, run at boot time from init.d, run with root authority? tmbrwolf53 Linux - Server 2 03-31-2007 08:15 PM
Cannot get NVIDIA-Linux-x86_64-1.0-6629-pkg2.run to run properly doctorwebbox Linux - Hardware 0 02-06-2005 06:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:19 AM.

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