Search Results

Search: Posts Made By: pixelbeat
19,985
Posted By pixelbeat
I guess the real question is you want to know...
I guess the real question is you want to
know whether your script is running interactively or not?
I do this for bash scripts:


if ! tty > /dev/null; then
echo "running non interactively"...
Showing results 1 to 1 of 1

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