[Log In ] [New Posts] []
Go Back   GotApex? Forums Forums > General Topics > Software, OS, and the Internet
User Name
Password

Reply
 
Thread Tools Search this Thread Display Modes
Old 03-12-2002, 08:18 PM   #1
Marcanon
Ensign
 
Join Date: Sep 2000
Posts: 13
Send a message via AIM to Marcanon
Linux Console Command Question

Is there anyway to switch tasks in the linux console? I always read how it is "multitasking" but I can't find any documentation on how to do this without being in some sort of X window environment.

Thanks in advance.
Marcanon is offline   Reply With Quote
Old 03-13-2002, 03:13 PM   #2
qmanchu
Lieutenant Junior Grade
 
qmanchu's Avatar
 
Join Date: May 2001
Posts: 165
It's been a long while since I've used Linux but if I recall, you can send the current process to the background by pressing [CTRL]-Z. Then you can use the "ps" command to list the processes that are currently running. Now here's where it really gets fuzzy for me. Either you can pass a parameter to "ps" to switch back to a particular process or you use the "%" or "&" key followed by the process ID. Sorry for being so vague.

Hopefully, this information can point you in the right direction. Let us know if you succeed.
qmanchu is offline   Reply With Quote
Old 03-13-2002, 03:35 PM   #3
aglio412
Still Unbanned Commander
 
aglio412's Avatar
 
Join Date: May 2001
Location: Suburbia
Posts: 1,362
Send a message via ICQ to aglio412 Send a message via AIM to aglio412
if you're on the machine, you can use alt-[insert Function key here] to switch between consoles. or just open another telnet window...you can log into the same machine multiple times with the same username.

also, you can run apps in the background by using the & operator

and finally...i don't think linux promotes itself as a multitasking environment in the same sense that you can hit alt-tab in windows...it's more of a TRUE multi-user (not one at a time like NT) and multi-threaded OS.
aglio412 is offline   Reply With Quote
Old 03-13-2002, 07:17 PM   #4
Marcanon
Ensign
 
Join Date: Sep 2000
Posts: 13
Send a message via AIM to Marcanon
Awesome, the ctrl z -> % [id] method worked. It stops the job to be resumed again, which is pretty much what I wanted. However, I suppose no seti crunching in the background while I'm working, though, hehe.

Thanks guys.
Marcanon is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 09:41 AM.