Search Results

Search: Posts Made By: kapil514
11,876
Posted By rbatte1
You are expecting that the environment for a cron...
You are expecting that the environment for a cron job is the same as when you log in. This is not the case and is a very common mistake, probably including everyone who has ever tried it.

The...
11,876
Posted By chacko193
Try giving full path to service. Like : ...
Try giving full path to service. Like :

/sbin/service $SERVICENAME status > /dev/null
7,701
Posted By hicksd8
When Corona688 says that the 'reboot' command is...
When Corona688 says that the 'reboot' command is not interactive I think he means that it doesn't ask for confirmation. If you are root then that command (on most Unix flavors) will reboot the...
1,139
Posted By Subbeh
Try this: tcpdump -i eth1 icmp[0] =8...
Try this:

tcpdump -i eth1 icmp[0] =8 >output.txt &
sleep 60; kill $!
7,701
Posted By Corona688
reboot is not an interactive command.
reboot is not an interactive command.
7,701
Posted By Corona688
printf "Are you sure you want to reboot [y/n]" ...
printf "Are you sure you want to reboot [y/n]"
read RESPONSE
if [ "$RESPONSE" = "Y" ]
then
/sbin/reboot
else
echo "response not Y"
fi
8,264
Posted By Corona688
You can try redirecting /dev/null into it. ...
You can try redirecting /dev/null into it. telnet hostname port </dev/null

It should connect, try and read input from /dev/null, get EOF, and quit.

telnet may not really be the tool for the...
Showing results 1 to 7 of 7

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