Hello.
Consider the following magic words:
# ls `which adduser`
ls: /usr/sbin/adduser: No such file or directory
#
Hmmm...
Then:
# ls /usr/sbin/adduser
/usr/sbin/adduser
#
Now what?
Unforunately this little sniippet is used in my debian woody server's mysql pre install script.... (2 Replies)
Hi,
I use the command
ls a\b\c\*.txt
from the command line on HP UNIX and it works fine - It lists all files matching *.txt in the a\b\c directory
When embeded in a ksh script
`ls a\b\c\*.txt`
it does not work - I get *.txt not found (even though there are files)
I tried... (10 Replies)
Hi,
I am working in SunOS 5.8.
I wanted to run a script in background and I gave the following command, but it is not working.
I gave "nohup ksh ULOAD.ksh &"
It just came out giving a msg "Redirection or piping of stdin or stdout is allowed only with -b. (156)" in nohup.out file.
If I... (2 Replies)
Hello All,
Here is a problem of NOHUP.
I am trying to run a process which needs to be up and running even if the session is closed. I tried running it with "nohup", but starngely it is not working, when i exit from the session the process is also getting killed?
plz help me in finding out... (4 Replies)
I need to sort through a volume that contains video files by access time and delete files that have not been accessed over x days. I have to use the access time as video files are originals that do not get modified, just read
Testing commands on a local test folder...
$ date
Wed Sep 28... (10 Replies)
Hi all,
I wrote a scirpt (abc.sh) in which I defined a loop with an interval equal to 1 hour. I want this script continue to run when I close the terminal, so I ran the following command,
(in the proper directory)
nohup abc.sh
However the script doesn't just keep running when I... (1 Reply)
Hello, I am trying to run a shell script with the nohup command. The shell script takes an array of files, runs a python program on each file in a loop, and appends the output to a file. This works fine on the server, but if I try to use the nohup command it does not work.
---
#!/bin/sh... (10 Replies)
Hello,
I am trying to make a bash script, I tested nohup but it did not help me.
My code is:
ffmpeg -i $input_url -c:v copy -c:a copy -listen 1 -f mpegts http://localhost:port/live/test
When I open it in VLC, it starts feeding my screen and I see bitrate values.
When I stop watching it,... (4 Replies)
Discussion started by: baris35
4 Replies
LEARN ABOUT DEBIAN
ramond.conf
ramond.conf(5) File Formats Manual ramond.conf(5)NAME
ramond.conf - Configuration file for ramond(8)DESCRIPTION
This manual page documents briefly the ramond.conf configuration file.
ramond.conf is an XML file containing the rules for Router Advertisement processing by ramond(8).
The rules are processed in the order they are defined in the file.
SYNTAX
One may refer to the DTD given in /usr/share/doc/ramond/examples/ramond.conf.dtd.
The root element, <ramond>, contains one optional attribute, logfile, giving the path to the logfile for the daemon.
This element may contain one or more <mac-list>s, and one or more <rule>s.
The <mac-list> must have a name attribute, and contains one or more <entry>elements.
The <rule> may contain a few attributes :
prefix An IPv6 prefix used for matching RA packets
mac A <mac-list> name used for matching source MAC addresses of the RA packets
lifetime
This attribute, when having a "0" value, is used for matching routes that are being cleared
interface
The interface which the RA packet came from
The <rule> may contain :
o one or more <execute> elements containing the path of the scripts to run when a packet is matched
o a <clear/> element, so that the matched route will be cleared by ramond(8)
o or no element, indicating an "ignore" rule.
ENVIRONMENT
The environment variables the configured scripts are run with are listed in the ramond(8) manpage.
EXAMPLE CONFIGURATION FILE
Set the logfile to be /var/log/ramond.log.
<ramond logfile="/var/log/ramond.log">
Define a router mac-list.
<mac-list name="router">
<entry>00:11:22:33:44:55</entry>
<entry>00:22:44:66:88:00</entry>
</mac-list>
Define a rule checking if the router routes are being cleared.
<rule mac="router" lifetime="0">
<execute>/usr/local/sbin/routenotify route-cleared</execute>
</rule>
Define a rule ignoring our router announcing routes for prefix 2001:dead:cafe:babe::/52.
<rule mac="router" prefix="2001:dead:cafe:babe::/52">
<!-- do nothing -->
</rule>
Clear the 6to4 routes coming on interface eth0.
<rule prefix="2002::/16" interface="eth0">
<execute>/usr/local/sbin/routenotify 6to4-advertised</execute>
<clear/>
</rule>
Match on all advertised prefixes
<rule prefix="::/0">
<execute>/usr/local/sbin/routenotify route-advertised</execute>
</rule>
Match on all RA packets (even those not advertising a prefix)
<rule>
<execute>/usr/local/sbin/routenotify route-advertised</execute>
</rule>
</ramond>
SEE ALSO ramond(8), /usr/share/doc/ramond/examples for a sample ramond.conf and a sample processing script
AUTHORS
James Morse <morse_@users.sourceforge.net>
Wrote the ramond software.
Nicolas Dandrimont <nicolas.dandrimont@crans.org>
Wrote this manpage for the Debian system.
COPYRIGHT
Copyright (C) 2010 Nicolas Dandrimont
This manual page was written for the Debian system (and may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the usual 3-clause BSD license.
On Debian systems, the complete text of the 3-clause BSD license License can be found in /usr/share/doc/ramond/copyright.
ramond.conf(5)