03-12-2020
I think this is what I was looking for, thanks!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I read and search through this wonderful forum and tried different approaches but it seems I lack some knowledge and neurones ^^
Here is what I'm trying to achieve :
file1:
test filea 3495;
test fileb 4578;
test filec 7689;
test filey 9978;
test filez 12300;
file2:
test filea... (11 Replies)
Discussion started by: mecano
11 Replies
2. Ubuntu
Is it possible to use Other Distro's ( i.e Debian's or Ubuntu's ) repositories in Fedora?
If not then what should be done to make common repositories for all linux distros.
regards,
Arun Maurya (2 Replies)
Discussion started by: arun_maurya
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
In SUSE SLES 10 SP2 where are the software repositories located? In CENTOS they are in /etc/yum.repositories or something like that. What does SLES use? (1 Reply)
Discussion started by: mojoman
1 Replies
4. Shell Programming and Scripting
I've a bunch of repository dumps that I need to include in my shell script to restore from the dump, but first I need to create the repositories first. How do I extract the names of the repository and removing the *.dump for use of the following line?
bash-3.00$ ls
andromeda.dump
alias.dump... (4 Replies)
Discussion started by: lynxlee
4 Replies
5. Shell Programming and Scripting
Hello All,
I am getting the following error message when trying to execute the following script.
AWK=/usr/bin/awk
TR=/usr/bin/tr
SED=/usr/bin/sed
CAT=/usr/bin/cat
MAILFILE=/home//nightly_jobs.tmp
mailto=xxx@gmail.com
Nigh_Status = `db2 "select TYPE from ETL.LOCK where STATUS <> 0 and... (12 Replies)
Discussion started by: NARESH1302
12 Replies
6. UNIX for Dummies Questions & Answers
Hello everyone,
I want to schedule a job to run immediatly after a successful nightly reboot (at level 2). I have been looking at inittab file and vxvm-startup in /sbin/init.d and other files in init.d but I am still puzzled as where to actually start. I looked at the crontab to see how this... (2 Replies)
Discussion started by: rachael
2 Replies
7. Debian
I'm just interested to know how your sources.list look like. I got some repositories witch give some errors and I would like to clean it up.
and when I do apt-get update I get few lines showing errors like 404 , this is how my list look like:
# deb cdrom:/ squeeze main
# deb cdrom:/... (0 Replies)
Discussion started by: zdorian
0 Replies
8. What is on Your Mind?
I added both jQuery and Bootstrap Javacript libs to all man page repository pages.
TODO: I need to add pagination to these repos because most are very large and load to slow on a single page.
For the first upgrade, I manually added one new CSS Class (repository) to the main repo tables and... (0 Replies)
Discussion started by: Neo
0 Replies
9. What is on Your Mind?
Should have done this 10 years ago, so better late than never:
Just added a "loading" animation to the the man page repositories when they load, especially since some are very large and take many seconds to load.
See for example:
https://www.unix.com/man-page-opensolaris-repository.php
... (1 Reply)
Discussion started by: Neo
1 Replies
10. Shell Programming and Scripting
Hello.
My first time here.
What I am trying to do is this.
FileA is located on a web server
FileB is located on local storage
Both files contain a large list of information of not only SHA keys but versions, and other information.
I need a statement that can compare between FileA... (5 Replies)
Discussion started by: Query
5 Replies
LEARN ABOUT LINUX
aa-status
AA-STATUS(8) AppArmor AA-STATUS(8)
NAME
aa-status - display various information about the current AppArmor policy.
SYNOPSIS
aa-status [option]
DESCRIPTION
aa-status will report various aspects of the current state of AppArmor confinement. By default, it displays the same information as if the
--verbose argument were given. A sample of what this looks like is:
apparmor module is loaded.
110 profiles are loaded.
102 profiles are in enforce mode.
8 profiles are in complain mode.
Out of 129 processes running:
13 processes have profiles defined.
8 processes have profiles in enforce mode.
5 processes have profiles in complain mode.
Other argument options are provided to report individual aspects, to support being used in scripts.
OPTIONS
aa-status accepts only one argument at a time out of:
--enabled
returns error code if AppArmor is not enabled.
--profiled
displays the number of loaded AppArmor policies.
--enforced
displays the number of loaded enforcing AppArmor policies.
--complaining
displays the number of loaded non-enforcing AppArmor policies.
--verbose
displays multiple data points about loaded AppArmor policy set (the default action if no arguments are given).
--help
displays a short usage statement.
BUGS
aa-status must be run as root to read the state of the loaded policy from the apparmor module. It uses the /proc filesystem to determine
which processes are confined and so is susceptible to race conditions.
Upon exiting, aa-status will set its return value to the following values:
0 if apparmor is enabled and policy is loaded.
1 if apparmor is not enabled/loaded.
2 if apparmor is enabled but no policy is loaded.
3 if the apparmor control files aren't available under /sys/kernel/security/.
4 if the user running the script doesn't have enough privileges to read the apparmor control files.
If you find any additional bugs, please report them at <http://https://bugs.launchpad.net/apparmor/+filebug>.
SEE ALSO
apparmor(7), apparmor.d(5), and <http://wiki.apparmor.net>.
AppArmor 2.7.0~beta1 2010-12-20 AA-STATUS(8)