LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 07: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, 07:32 PM   #2
Robhogg
Member
 
Registered: Sep 2004
Location: Old York, North Yorks.
Distribution: Debian 7 (mainly)
Posts: 653

Rep: Reputation: 88
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, 08:05 PM   #3
Felipe Reigosa
LQ Newbie
 
Registered: Apr 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks!
 
  


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


All times are GMT -5. The time now is 08:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration