I'm new to scripting and I need help with a bourn shell script. What i'm trying to do is a test condition where "if the time is within 2 hours, it's true" and so on.
The time is in the following format
DATE=`/bin/date +"%Y%m%d%H%S"`
for example, 20060907152000.
So, what the script first... (9 Replies)
:)
Hi,
I want to script for this scenerio,
OSR Settings
Scenario : We are looking to find all the *.a files from the following locations in the filesystem of a server.
OSR Directories
/etc
/bin
/usr/bin
/usr/sbin
/var/adm
These *.a files should have the permissions on... (12 Replies)
True if file exists and has been modified since it was last read.
if
then
command
else
exit
fi
i am on AIX5.3-10. it does not understand -N
any other way.
i can use -ot (file1 is older than file2), but prefer -N if possible. (3 Replies)
Hi,
I want to check a particular string inserted by User to be checked against the values i already have in a ARRAY string using IF condition. Is this possible? if yes how to do that.
example :
i have a,b,c,d,e,f values in a array called values
i asked user to enter a value:
user entered... (2 Replies)
Hello forum members.
please go through the below mentioned issue and let me know the right solution.
I have to write a script which runs another script .the executable script take input parmeters.so iam writing the the script below .
Sample Code:Begins
#! /bin/ksh
echo " enter... (2 Replies)
Hello All,
i am facing difficulty in validating the values,
kindly help me in resolving the issue.
Thanks a lot in advance.
-Chandra
Script:Test.sh
#! /bin/sh
# ***************************************************************************
# Function to display help
function usage()... (1 Reply)
while
do
if ;then
read driverName
else
driverName=""
fi
done
can anyone please explain what exactly is happening on 1st line...is it like the conditions being ORed...I have no clue about this. (4 Replies)
I want to check if the string has the substring in IF condition then process...
i tried below but not working
if ];
then
.............
field can be "reserved1" ....reservedn / fillspaces1 ... fillspacesn (4 Replies)
Hi all
I have the folloing process that needs checking often:
ps -ef | grep ih
bscsrtx 206 15901 0 11:28:10 pts/6 0:00 fih -r4
bscsrtx 218 15901 0 11:28:27 pts/6 0:01 aih
bscsrtx 29763 15901 4 11:27:16 pts/6 0:59 rdh -prih
root 429 27268 0 11:30:15 pts/td ... (13 Replies)
Discussion started by: fretagi
13 Replies
LEARN ABOUT DEBIAN
rsparms
RSPARMS(8) Linux System Managers Manual RSPARMS(8)NAME
rsparms - Configure the Rose interface.
SYNOPSIS
rsparms -nodes add|del address[/mask] port neigh [digis...]
rsparms -nodes list
rsparms -call <callsign>|none
rsparms -version
DESCRIPTION
This program is used to manipulate the routing tables of the Rose network layer. To set up a new route to a Rose node in the routing tables
you must use the nodes option. All of the parameters are needed to add the node. It is probably best to illustrate with an example:
rsparms -nodes add 2080192303 144 F1OAT-11
This creates a new route to a distant node with the address 2080192303 and the packets for that node should be sent on AX.25 port 144 to my
immediate neighbour F1OAT-11 without going through any digipeaters. For example to set up the same node but via a digipeater I would use:
rsparms -nodes add 2080192303 144 F1OAT-11 F6PRA-9
It is also possible to remove a route to a distant node with the same command except that the "add" is replaced by a "del". The other
parameters must also be present. If the node has no other routes then the node will be deleted, and the neighbour node that the connections
go via may also be deleted if no other node route uses it.
You may list the configured Rose routes using the following syntax:
rsparms -nodes list
This program may also be used to set up a common AX.25 level 2 callsign that will be used for the ROSE node. By default no special level 2
callsign is set, but setting it will replace any existing level 2 callsign and register another one. Setting the callsign to "none" will
remove the level 2 callsign. For example:
rsparms -call VK2KTJ-10
would set the callsign used by Rose internode traffic to VK2KTJ-10.
OPTIONS -version Display the version information.
FILES
/etc/ax25/axports
/etc/ax25/rsports
SEE ALSO call(1), rose(4), axports(5), rsports(5), rsparms(8).
AUTHOR
Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk>
Linux 25 July 1997 RSPARMS(8)