I have below code, I am checking on one server where ppp.sh process not running it is perfectly fine, when i am checking the same script on another server where ppp.sh script is running, it is throwing error "too many arguments", how to avoid this. If i will check on server where process running it shows "ppp process running" and if i will check on server where process not running it shows error "ppp process stop"
Executed the following if conditions .. and got different results .
only (( )) gave correct o/p with all scenarios .
Can anybody please let me know what is the difference between and ] and ((condition)) when used with if condition.
And why each condition gave different result.
1.... (2 Replies)
hi,
I have some problems in my simple script about the redirect echo stdout command inside a condition. Why is the echo command inside the elif still execute in the else command
Here are my simple script
After check on the two diff output the echo stdout redirect is present in two diff... (3 Replies)
I have a directory containing thousands of items “video files”, these items were generated by an application, which generates two items with the same name but with different extensions “.avi and .mp4”. There was a tool in my application to remove one item @ a time. Later I found this tool removes... (5 Replies)
Good afternoon!
I am a perl newbie. I hope you will be patient with me.
I have a script that needs to be written in perl. I can't do it in awk or shell scripting.
Here is the script:
#!/usr/bin/perl
use POSIX qw(strftime);
use FileHandle;
use Getopt::Long;
use IO::Handle;... (0 Replies)
HI
My doubt may be basic one but I need to get it clarified..
When i use "if" condition that checks for many AND, OR logical conditions
like
if ]; then
return 0
fi
Even the if condition fails it returns as zero.. Any clue..
But if i add else condition like
if ]; ... (2 Replies)
Hi Gurus,
my script likes below
if ;then
if ; then
exit 30
fi
if
for loop
do
done
I want to if condition1 is true, it exit the execution the script completely with error code 30. but right now it still exe for loop.
I try to add below
if ;then
if ; then
... (3 Replies)
Discussion started by: ken6503
3 Replies
LEARN ABOUT NETBSD
ppp
PPP(4) BSD Kernel Interfaces Manual PPP(4)NAME
ppp -- point to point protocol network interface
SYNOPSIS
options PPP_BSDCOMP
options PPP_DEFLATE
options PPP_FILTER
pseudo-device ppp
DESCRIPTION
The ppp interface allows serial lines to be used as network interfaces using the Point-to-Point Protocol (PPP). The ppp interface can use
various types of compression and has many features over the SLIP protocol used by the sl(4) interface.
Supported options are:
options PPP_BSDCOMP Enable support for BSD-compress (`bsdcomp') compression in ppp.
options PPP_DEFLATE Enable support for deflate compression in ppp.
options PPP_FILTER This option turns on pcap(3) based filtering for ppp connections. This option is used by pppd(8) which needs to be
compiled with PPP_FILTER defined (the current default).
DIAGNOSTICS
ppp%d: af%d not supported . The interface was handed a message with addresses formatted in an unsuitable address family; the packet was
dropped.
SEE ALSO inet(4), intro(4), sl(4), pppd(8), pppstats(8)
The Point-to-Point Protocol (PPP), RFC 1661, July 1994.
HISTORY
The ppp device appeared in NetBSD 1.0.
BUGS
Currently, only the ip(4) and ip6(4) protocols are supported.
BSD January 10, 2005 BSD