Search Results

Search: Posts Made By: Noob e
145,993
Posted By Noob e
Thanks guy for the advice i ended up using..... ...
Thanks guy for the advice i ended up using.....

answer="No";read -p "Do you want to exit? Answer y to exit. " -t 30 answer;echo " Your answer is $answer";
if [ "$answer" = "y" ];then
echo "you...
4,185
Posted By Noob e
Thanks :) this is what i came up with in the...
Thanks :)

this is what i came up with in the ned, works like a dream.

answer="No";read -p "Do you want to exit? Answer y to exit. " -t 30 answer;echo " Your answer is $answer";
if [ "$answer"...
4,185
Posted By Noob e
Timed read command
Hi guys,

I love unix....but i also hate it :)

I want to write a script that will pause in the middle ask for user input, but if no input is given i want the script to continue anyway.

Say...
145,993
Posted By Noob e
Been told that im not allowed to use the CTRL C...
Been told that im not allowed to use the CTRL C to exit the scripts, so i removed the option. (Don't ask me why but the admin was suggesting it caused issues) I want to press any key while the loop...
145,993
Posted By Noob e
how to exit a while true loop
Hi guys,

I'm new to unix but loving it!! BUT this is driving me nuts as i can't work out the best way to do it.

I have a while true loop that i use to monitor something. For my own reasons in...
Showing results 1 to 5 of 5

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