Quote:
Originally Posted by dannyman179
i am trying to use the fg command, but every time i do it says
"bash: fg: current: no such job" and i cant find out why. PLEASE help!!!
|
Since there is somewhat of a lack of information I am going to go out on a limb here.
what are you putting in for a job number. If it has 3 or 4 digits, I can assure you it is not a job. Process number are different than job numbers. the term jobs would be analagous to what windows calls applications in task manager.
Typing "jobs" displays your jobs with job numbers. If you do not see any, you have nothing to bring to the foreground.
example (which will make your processor really happy)
Code:
cat /dev/urandom > /dev/null &
This puts a useless program in the background. you will probably see a job# in brackets and a process number afterwards.
type "jobs" and you should see that job number again.
now type "fg 1" assuming thats your job number.
There is your process. press ctrl + C to exit.