I got these results.
I've got two sessions running - is that the ksh entries?
I have one background job running that I submitted # 7435 - that' the number that the log shows me in nohup.out. I can't even see that in the list???? I type jobs 7435 and it says no such job.
What are the sshd jobs shown?
Would this be/result from sudo su command I entered?
What can I type to get more details on the two sshd jobs?
I have no Unix training so I hope you'll forgive my newbie - ness
Last edited by Scott; 08-14-2010 at 03:43 PM..
Reason: Please use code tags
The jobs command is built into the shell. It optionally takes as an argument the job number that the shell assigned to the command; not the PID. The job number is presented by the shell when you add an & suffix to any command:
Depending on the shell, if you want to query the job information for job 1, the command would be:
I think bash might also accept %1, but Im not sure. Regardless, issuing the jobs command without any parameters will show you all of the commands that the shell is running asynchronously.
OSX uses its own directory strecture on the BSD core, for example /Users/Bob_Alice/. but legacy Unix structure /usr/... remains. Adding confustion, some Unix books say /usr/ was never intended for specific users. and others show it being used for Bor or Alice. I am not sure where to put my third... (5 Replies)
cat myname.txt
John Doe I
John Doe II
John Doe III
-----------------------------------------------------------------------
for i in `cat myname.txt`
do
echo This is my name: $i >> thi.is.my.name.txt
done
-----------------------------------------------------------------------
cat... (1 Reply)