3 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
#!/bin/bash
ip=$1
if ; then
echo "U must enter ip as argument: $0 "
exit 1
fi
testip=`echo $ip |grep -E "^((||1{2}|2|25)){3}(||1{2}|2|25)$"`
if ; then
echo "Wrong ip adress"
exit 2
fi
ping -c 2 $ip 2>&1 >/dev/null
if ; then
echo "$ip is UP"
else
echo "$ip is... (2 Replies)
Discussion started by: aco4u
2 Replies
2. UNIX for Advanced & Expert Users
what is the difference between white box and black box testing? (1 Reply)
Discussion started by: areef4u
1 Replies
3. UNIX for Advanced & Expert Users
what does one mean in the context of testing... UNIT TESTING & INITIAL LEVEL OF MENU TESTING (2 Replies)
Discussion started by: areef4u
2 Replies
LEARN ABOUT DEBIAN
debian-distro-info
DEBIAN-DISTRO-INFO(1) General Commands Manual DEBIAN-DISTRO-INFO(1)
NAME
debian-distro-info - provides information about Debian's distributions
SYNOPSIS
debian-distro-info [OPTIONS]
OPTIONS
--date=DATE
date for calculating the version (default: today)
-h, --help
display help message and exit
--alias=DIST
print the alias (stable, testing, unstable) relative to the distribution codename passed as an argument. Only distribution code-
names composed of lower case ASCII letters are accepted, and if the distribution does not qualify as stable, testing or unstable,
then the same codename passed as argument is returned.
-a, --all
list all known versions
-d, --devel
latest development version
-o, --old
latest old (stable) version
-s, --stable
latest stable version
--supported
list of all supported stable versions
-t, --testing
latest testing version
--unsupported
list of all unsupported stable versions
-c, --codename
print the codename (default)
-r, --release
print the release version
-f, --fullname
print the full name
SEE ALSO
distro-info(1), ubuntu-distro-info(1)
AUTHOR
The script and this manual page was written by Benjamin Drung <bdrung@debian.org>.
distro-info January 2011 DEBIAN-DISTRO-INFO(1)