the "jobs" command on Mac OSX


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers the "jobs" command on Mac OSX
# 1  
Old 08-31-2005
the "jobs" command on Mac OSX

HI,

I am learning the basics of UNIX on my Mac OS X system but whenever I type the "jobs" command I just get the prompt again, with no output. Regardless of how many programmes or activities are processing.

Any ideas?
# 2  
Old 08-31-2005
The 'jobs' commands lists the child processes which you have started from your current interactive shell and then placed into the background (whether by adding a '&' to the end of the line, or interrupting the command with a CTRL-Z and then typing the 'bg' command).

To list processes on the system you should be using the 'ps' command .. see 'man ps' for more info.
# 3  
Old 08-31-2005
Thanks - will try this later.
# 4  
Old 08-31-2005
Quote:
Originally Posted by Unbeliever
The 'jobs' commands lists the child processes which you have started from your current interactive shell and then placed into the background (whether by adding a '&' to the end of the line, or interrupting the command with a CTRL-Z and then typing the 'bg' command).
Child processes ? Or just processes ?

Vino

Last edited by vino; 08-31-2005 at 11:44 AM..
# 5  
Old 08-31-2005
Quote:
Originally Posted by vino
Child processes ? Or just processes ?

Vino
Well any command you run from an interactive shell is a child of that interactive shell :-) Even nohup'd processes retain the same parent ID process until the shell is exited.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

2. Shell Programming and Scripting

Sender name in the format "MAC [mac@yahoo.com]" in mailx command.

Hi Guys, I want the sender name in the format of "MAC " in the mailx command. I tried the below command but it is throwing error. > mailx -s "Test" -r 'MAC ' xxx@gmail.com EOT contains invalid character 'xxcd:~> Can somebody help me out here. Cheers!!!! ---------- Post... (0 Replies)
Discussion started by: mac4rfree
0 Replies

3. UNIX for Dummies Questions & Answers

Unix "look" Command "File too large" Error Message

I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this: $ look "string" "/home/patrick/filename.txt" However, this gives me the following message: "look: /home/patrick/filename.txt: File too large" So, I have two... (14 Replies)
Discussion started by: shishong
14 Replies

4. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

5. Shell Programming and Scripting

Command Character size limit in the "sh" and "bourne" shell

Hi!!.. I would like to know what is maximum character size for a command in the "sh" or "bourne" shell? Thanks in advance.. Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies

6. UNIX for Advanced & Expert Users

Command Character size limit in the "sh" and "bourne" shell

Hi!!.. I would like to know what is maximum character size for a command in the "sh" or "bourne" shell? Thanks in advance.. Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies

7. UNIX for Dummies Questions & Answers

Command Character size limit in the "sh" and "bourne" shell

Hi!!.. I would like to know what is maximum character size for a command in the "sh" or "bourne" shell? Thanks in advance.. Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies

8. Red Hat

How to find out jobs scheduled by "at" command?

How to find out jobs scheduled by "at" command? (1 Reply)
Discussion started by: johnveslin
1 Replies
Login or Register to Ask a Question