Search Results

Search: Posts Made By: joec369
4,118
Posted By joec369
Bash
I figured out what I was looking for. The output or state of the completed command is stored in $?

#! /bin/bash
echo "Input an IP address to Ping"
read IP
echo "How many times do you want to...
4,118
Posted By joec369
Thanks I think
so just something like:

if packet loss = 0%
then ..................
4,118
Posted By joec369
Bash Script Help
Hello, I am very new at Shell Scripting, just begining to learn a little. What I am trying to do is to ping a remote host. If the host is up and accepting pings, I want to connect via telnet. If...
Showing results 1 to 3 of 3

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