02-21-2005
What error messages are you getting?
Is your PATH variable set up correctly?
With regard to users unable to create files:
check if your filesystem is full.
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I executed my script and it says not found.
#! /bin/ksh
trymonitor.sh: rm: not found.
+ sleep 15
trymonitor.sh: sleep: not found.
trymonitor.sh: awk: not found.
trymonitor.sh: wc: not found.
Thanks and Regards,
Kay (1 Reply)
Discussion started by: kayarsenal
1 Replies
2. Shell Programming and Scripting
here I go again...kinda hard to explain so I apologize.
I need to rename a bunch of files in a directory. I need to remove the first three characters of the filename, and then toward the end of the filename there is constant text inside of brackets. here is a demo (not for real) 'ls -1' of the... (11 Replies)
Discussion started by: ajp7701
11 Replies
3. Shell Programming and Scripting
First off just would like to say hello I'm new to this forum but it looks very interesting and I'm sure I will learn a lot from the various people here.:b:
I'm new to UNIX and more so scripting in it. I have an assignment for a class that's mostly done online and my teacher is of no help... (7 Replies)
Discussion started by: tweak
7 Replies
4. UNIX for Dummies Questions & Answers
Hey people,
at first: I'm from Germany, so my english isn't very good, okay?;)
I this september I start with my studys and now we use UNIX! I understand nothing. No, that's not right, at the beginnig I understood a little bit. But now we are at the .profile and there I have problem because my... (1 Reply)
Discussion started by: Tsukasu
1 Replies
5. Shell Programming and Scripting
So i have about 600gb of data.. in which there are alot of directories and alot of files.. Im trying to put this on a ftp server.. So i want to set the permissions on the directories to be 755 and the permission on the files to be 644. So i used:
find . -type d -exec chmod 755 {}\;
and
find .... (6 Replies)
Discussion started by: supermiguel
6 Replies
6. SCO
I have one system running SCO MP4, whitch has sometimes a lot of system calls /s :
CALLS/s:
23405 calls
0 forks
0 execs
6067 reads
78 writs
11975 Krwch
PAGING/s:
0 pgins
0 pgots
5983 atchs
0 pflts
322 vfltsThese values are found with the tool rtpm
... (1 Reply)
Discussion started by: jkuiper
1 Replies
7. Shell Programming and Scripting
Hi, I need a word doc or pdf which contains lots of Shell Programming samples... This is for my open book examination, thanks in advance.. (2 Replies)
Discussion started by: karthikeayan
2 Replies
8. Solaris
I just installed Solaris 10 on my virtual machine.
firstly I want to complie a c program using gcc but "the gcc is not found"
so I looked for a way and try to install the gcc and I tried the following command
pkg install gcc-45
but however, the "pkg is not found as well"
I also tried... (2 Replies)
Discussion started by: roberts123
2 Replies
LEARN ABOUT DEBIAN
filecap
FILECAP:(8) System Administration Utilities FILECAP:(8)
NAME
filecap - a program to see capabilities
SYNOPSIS
filecap [ -a | -d | /dir | /dir/file [cap1 cap2 ...] ]
DESCRIPTION
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.
EXAMPLES
To check file capabilities in $PATH:
filecap
To check file capabilities of whole system:
filecap -a
To check file capabilities recursively in a directory:
filecap /usr
To check file capabilities of a specific program:
filecap /bin/passwd
To list all possible capabilities:
filecap -d
To set a file capability on a specific program:
filecap /bin/ping net_raw net_admin
SEE ALSO
pscap(8), netcap(8), capabilities(7).
AUTHOR
Steve Grubb
Red Hat March 2009 FILECAP:(8)