The SETI@home project invites volunteers to install special software of their home computers. This software, called BOINC, runs computational jobs when the computer would otherwise be idle. And the software needs to contact the main server periodically to deliver results and obtain new problems.... (2 Replies)
My goal is to make a script to find/replace the variable "PORT" with a unique number.
Like the following
<VirtualHost 174.120.36.236:PORT>
ServerName architect.com.ph
ServerAlias www.architect.com.ph
DocumentRoot /home/architec/public_html
ServerAdmin... (16 Replies)
If I run:
find /somefolder -type f -size -7M | wc -l
I get 73594 files
But when I run
find /somefolder -type f -size -7M -exec /bin/cp -v {} /someotherfolder/ \;
it only copies 38891 of the files to the folder, why? There's a mix of all types of files in /somefolder. Is there some other... (12 Replies)
I must go through some files to change a certain string within text files to another string. I use openSUSE and folders are mounted by cifs.
Text to be replaced (only in .m extension) is U:\FOLDER and new string is N:
That works fine with spaces in directory names etc., but this process ... (5 Replies)
I want to search a file if it contains special strings and if yes, the records found should be mailed.
I can either do it with a temporary file:
/usr/bin/grep somestring somefile > /tmp/tempfile && /usr/bin/mail -s "Found something" email@mycomp.com < /tmp/tempfile... or by running the grep... (10 Replies)
My script triggers and e-mail if keywords supplied to it were found.
Problem is if it find the same keyword continously (due to continous server errors), it triggers mails and fillup my mail box with same message (which is not required)
I want my script to NOT to send an e-mail if it finds the... (13 Replies)
Hi,
How would you write bash script that given a directory as an argument and finds all duplicate files (with same contents - by using bytewise comparison) there and prints their names? (6 Replies)
The contents of my home directory:
bin Desktop Documents Downloads folders Music Pictures Public Templates Videos
When I run the command for file in /home/myself/*d*; do if ; then echo $file; fi; doneit finds
/home/myself/Downloads
/home/myself/Videos
but not "folders".
... (5 Replies)
Discussion started by: Xubuntu56
5 Replies
LEARN ABOUT DEBIAN
aa-notify
AA-NOTIFY(8) AppArmor AA-NOTIFY(8)NAME
aa-notify - display information about logged AppArmor messages.
SYNOPSIS
aa-notify [option]
DESCRIPTION
aa-notify will display a summary or provide desktop notifications for AppArmor DENIED messages.
OPTIONS
aa-notify accepts the following arguments:
-p, --poll
poll AppArmor logs and display desktop notifications. Can be used with '-s' option to display a summary on startup.
-f FILE, --file=FILE
search FILE for AppArmor messages
-l, --since-last
show summary since last login.
-s NUM, --since-days=NUM
show summary for last NUM of days.
-u USER, --user=USER
user to drop privileges to when running privileged. When used with the -p option, this should be set to the user that will receive
desktop notifications. This has no effect when running under sudo.
-w NUM, --wait=NUM
wait NUM seconds before displaying notifications (for use with -p)
-v, --verbose
show messages with summaries.
-h, --help
displays a short usage statement.
CONFIGURATION
System-wide configuration for aa-notify is done via /etc/apparmor/notify.conf:
# set to 'yes' to enable AppArmor DENIED notifications
show_notifications="yes"
# only people in use_group can use aa-notify
use_group="admin"
Per-user configuration is done via ~/.apparmor/notify.conf:
# set to 'yes' to enable AppArmor DENIED notifications
show_notifications="yes"
BUGS
aa-notify needs to be able to read the logfiles containing the AppArmor DENIED messages.
If you find any additional bugs, please report them to Launchpad at <https://bugs.launchpad.net/apparmor/+filebug>.
SEE ALSO apparmor(7)AppArmor 2.7.103 2012-06-28 AA-NOTIFY(8)