LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 04-25-2009, 06:26 PM   #1
Felipe Reigosa
LQ Newbie
 
Registered: Apr 2009
Posts: 5

Rep: Reputation: 0
Leave terminal free


Hi guys, it's simple question but I can't find the answer anywhere.

How to open a file or program using command line and leave the terminal free? Every time I open a file using the command line I have to open a new terminal to do other things.

Thanks
 
Old 04-25-2009, 06:32 PM   #2
Robhogg
Member
 
Registered: Sep 2004
Location: Old York, North Yorks.
Distribution: Debian 7 (mainly)
Posts: 653

Rep: Reputation: 97
Add an ampersand to the end of the line, e.g.:
Code:
gconf-editor &
... this pushes the job into the background (it runs in a sub-shell). If you have already launched the program, hit Ctrl-Z to stop it temporarily, then type bg and hit return to restart it in the background.

In each case, you will be given a job id and its process number. To get a summary of background tasks in a particular shell, run jobs. You can address each job by its number preceded by a %, e.g. kill %2 to terminate the second background job.
 
Old 04-25-2009, 07:05 PM   #3
Felipe Reigosa
LQ Newbie
 
Registered: Apr 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks!
 
  


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
slackware 11.0 -- to leave or not to leave out the 2.4 kernel? aquilolumen Slackware - Installation 7 06-30-2007 07:12 PM
how much free space should I leave on my hard drive? alex.flint Linux - Software 1 06-19-2007 09:26 PM
How to Leave Gnome for terminal devinnull Linux - Newbie 2 02-04-2006 11:38 PM
Is it safe to leave the Terminal logged in as SU? anticuchos Linux - Security 6 09-02-2005 12:10 PM
[trick] Leave console free for apps while running X vfs Slackware 17 05-18-2002 09:36 PM

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

All times are GMT -5. The time now is 12:15 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