Search Results

Search: Posts Made By: baders
1,574
Posted By nua7
Hi, ping -c2 ip_address and check the status of...
Hi,
ping -c2 ip_address and check the status of the ping command by echo $?
if 0 then server is alive otherwise server is down.

check "man ping " for additional details.
8,473
Posted By gary_w
Append to an existing file using two greater than...
Append to an existing file using two greater than signs:
command >> out.txt
A single greater than sign will clear the file before use if the file already exists.
Showing results 1 to 2 of 2

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