NETCAP:(8) System Administration Utilities NETCAP:(8)NAME
netcap - a program to see capabilities
netcap is a program that prints out a report of process capabilities. If the application is using tcp, udp, raw, or packet family of sock-
ets AND has any capabilities, it will be in the report. If the process has partial capabilities, it is further examined to see if it has an
open-ended bounding set. If this is found to be true, a '+' symbol is added.
Some directories in the /proc file system are readonly by root. The program will try to access and report what it can. But if nothing comes
out, try changing to the root user and re-run this program.
SEE ALSO pscap(8), filecap(8), capabilities(7), netstat(8).
Red Hat March 2009 NETCAP:(8)
Check Out this Related Man Page
FILECAP:(8) System Administration Utilities FILECAP:(8)NAME
filecap - a program to see capabilities
filecap [ -a | -d | /dir | /dir/file [cap1 cap2 ...] ]
filecap is a program that prints out a report of programs with file based capabilities. If a file is not in the report or there is no
report at all, no capabilities were found. For expedience, the default is to check only the directories in the PATH environmental variable.
If the -a command line option is given, then all directories will be checked. If a directory is passed, it will recursively check that
directory. If a path to a file is given, it will only check that file. If the path to the file includes capabilities, then they are written
to the file.
OPTIONS -a This tells the program to show all capabilities starting from the / directory. Normally the PATH environmental variable is used to
show you capabilities on files you are likely to execute.
-d This dumps all capabilities for reference.
To check file capabilities in $PATH:
To check file capabilities of whole system:
To check file capabilities recursively in a directory:
To check file capabilities of a specific program:
To list all possible capabilities:
To set a file capability on a specific program:
filecap /bin/ping net_raw net_admin
SEE ALSO pscap(8), netcap(8), capabilities(7).
Red Hat March 2009 FILECAP:(8)
I am a newbie. I'd like to get key lines from a big txt file by Reg Exp, The file is nearly 22MB.
GREP or SED?which may be the best choice,more efficient way?
or any other best practise?
Thank you in advance.
Ever:) (5 Replies)
Hi running aix 6.1
I need to confirm that this cron entry is set properly.
I need it set for every 5 min.
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /path/to/script.sh
it does not appear that it is running every 5 min but it did in the beginning. (4 Replies)
Hey :) I am trying to understand the command goto.
I have some questions regarding the goto manual.
1.What does the underlined part mean?
I'm not allowed to type goto in the shell? But if goto is written into a file everything is okay?
2.So if a part of my file looks like this
goto... (8 Replies)
We just found out that the installation of DB/2 on a HACMP- (PowerHA-) Cluster running v7.1.3 is not possible due to a bug in HACMP. DB/2-version was 10.5 but this seems to apply to 10.1 too (and probably other versions as well).
The error message the DB/2-installer issues is something like:
... (2 Replies)
Dear all, will be thankful if you can help on sort command.
My data looks like (tab separated; number of columns 2317; N of rows ~200000):
a b c d V10 V2 V8 V4 V7
xx z y 1000 1 2 0 2 0
tr v m 1001 0 0 1 2 2
rg s ... (7 Replies)
I am trying to build python(2.7.9) 64 bit from source on solaris10. Using the below to compile
./configure CFLAGS=-m64 LDFLAGS=-m64
But getting errors like below while executing make
make: Fatal error: Command failed for target `libinstall'
64-bit amd64... (9 Replies)
so i have a txt file containing word like "one two three four plus four five six".
I want to save every word in the file into a variable, and then use that variable to generate real numbers and apply the arithmetic value on them.
example: the txt files becomes 123 + 456 and... (10 Replies)
Hello. I am looking for all the necessary packages required to be able to compile libXft.
I tried to compile libXft-184.108.40.206$ and the error message was:
checking for XRENDER... checking for XRENDER... checking for X... no
checking X11/extensions/Xrender.h usability... no
checking... (1 Reply)
Working on a new cybersecurity, dystopian world series and made a short 2 min teaser today.
Cyber Dystopia (720 HD)
If anyone has any ideas for the story, please write out some story lines in the comments and join the production team! (1 Reply)
Hello my friends,
I've come across the weirdest of glitches.
I'm running a simple weather monitor (just temperature) on a Raspbeery Pi 3B (Raspbian Linux 4.14.98-v7+). It has a 3G modem that sends out simple packets to my server at home.
On june 5th I lost remote access to the device.... (1 Reply)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)
I'm new to bash script and I'm learning the basics by writing some scripts.
Recently a friend of mine asked me if I could try to write a script to him to automate a couple of processes that uses JSON RPCs.
I'll try to explain in few words the workflow just to contextualize the problem.... (48 Replies)
I was thankful in getting help from this post that allowed me to connect to multiple severs at once using here documents to gather data into variables. But I've discovered that the same bash command that works on my RHEL 7 servers do not work on RHEL 6? What's strange about my... (4 Replies)