Search Results

Search: Posts Made By: kanas01
7,055
Posted By kanas01
jobs command in a script.
When you run this script in a command prompt it runs fines and echos the background jobs but when written to a script and run, it outputs nothing.

for job in `jobs -p`
do
echo $job
done

...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 09:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy