Hi everyone, i'd like someone chechk this script, i know it's very simple but it doesn't work good, let me tell you this script works over huge directories, maybe that's the problem, if somebody can give me other way to develop, or show me where it's the problem, i'll appreciate it.
I've made an awk command that works successfully.
However I'd like to add one character to it.
For example instead of /what_i_have_now/
I'd like to change just ONE field to the opposite with an exclamation point.
Like this: ! /what_i_have_now/
My question, where am I supposed to place... (1 Reply)
I wish to seach a Dir for a specific file, once the file is found i will perform additional logic. If the file is not found within two hours, i would like to exit.
Logically, I'm looking for the best way to approach this
Thanks for any assistance in advance.
Note: I'm using a C shell and... (2 Replies)
Hello All,
I looking for a way to verify the correction of shell script syntax.
Is there any switch like -c in perl which do this in shell ?
Thank You. (1 Reply)
Hi,
I am a unix newbie. I need to write a script to check wheteher another script is still running. If it is, then sleep for 30m and then check again if the script is running. If the script has stopped running then, I need to come out of the loop.
I am using RHEL 5.2 (2 Replies)
hello everyone
i am beginner on shell scripting .and i am working on my project work on ad hoc network
i wrote a batch (.sh) to do a looping and execute a tcl script i wrote before in each iteration ..but i got this problem "
syntax error near unexpected token `('... (1 Reply)
Hello i have question that i want check syntax from my script shell with sh -n filename
but it's not show something even i have wrong syntax in my file. why can this happened or any other way to check it?
i use on header of file :
#!/bin/sh
thx before :) (7 Replies)
#!/bin/bash
if ; then
echo "Lipsa IP";
exit;
fi
i=1
ip=$1
while ; do
if ; then
rand=`head -$i pass_file | tail -1`
user=`echo $rand | awk '{print $1}'`
pass=`echo $rand | awk '{print $2}'`
CMD=`ps -eaf | grep -c mysql`
if ; then
./mysql $ip $user $pass &
else
sleep 15... (6 Replies)
Discussion started by: galford
6 Replies
LEARN ABOUT DEBIAN
tomoyo-auditd
TOMOYO-AUDITD(8) System Administration Utilities TOMOYO-AUDITD(8)NAME
tomoyo-auditd - access request log recording daemon for TOMOYO Linux
SYNOPSIS
tomoyo-auditd
tomoyo-auditd [remote_ip:remote_port]
DESCRIPTION
This program reads access request logs from the kernel and writes to the locations specified in the configuration file. By running this
program at startup, access request logs for either all domains or selected domains can be stored.
The format of the stored logs is similar to domain policy, so they can be used to help develop policy.
Configure this daemon in /etc/tomoyo/tools/auditd.conf. If an access request matches a rule, it will be written to the specified log file.
This can be used to split access request logs into multiple files. Only the first matching rule is used, so any single access request log
will be written to a maximum of one output file. If an access request log does not match any rules, it will be discarded.
Start this program from an appropriate stage during startup (e.g. /etc/rc.local).
OPTIONS
remote_ip:remote_port
Retrieve access request logs from a remote system via an agent, connecting to the specified IP address and port number.
BUGS
If you find any bugs, send an email to <tomoyo-users-en@lists.sourceforge.jp>.
AUTHORS
Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Main author.
Jamie Nguyen <jamie@tomoyolinux.co.uk>
Documentation and website.
SEE ALSO tomoyo-editpolicy-agent(8)
See <http://tomoyo.sourceforge.jp> for more information.
tomoyo-tools 2.5.0 2012-04-14 TOMOYO-AUDITD(8)