12-16-2009
check /etc/security/limits.conf you can alter limit options from there
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello. I am new to the unix environment. Currently, I am taking existing COBOL source code and attempting to compile and run on our new UNIX machine. I have succesfully compiled an object. When I try to run I get the follwing error:
0509-036 Cannot load program abeunix.o because of the... (16 Replies)
Discussion started by: jbrubaker
16 Replies
2. Red Hat
I am trying to install openmotif22-2.2.3-18.src.rpm,
after I typed in " rpm -i openmotif22-2.2.3-18.src.rpm"
the following message comes out:
warning: user owen does not exist - using root
warning: group owen does not exist - using root
I am install openmotif under root account.
Do... (2 Replies)
Discussion started by: fishwater00
2 Replies
3. AIX
Getting a strange error with a log file below. This is just a normal text log file that is written to by an application on the server. The applicaiton is down, however, I cannot read, remove or touch this file. The file shows on an ls listing but not an ls -al listing.
The file system is JFS2... (0 Replies)
Discussion started by: troym72
0 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. Shell Programming and Scripting
If I enter (simplified):
find . -printf "%p\n"
then all files in the output are prepended by a "." like
./local/share/test23.log
How can achieve that
a.) the leading "./" is omitted
and/or
b.) the full path to the current directory is inserted (enclosed by brackets and a blank)... (1 Reply)
Discussion started by: pstein
1 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I've been stuck with this for a few days now :wall:, so I'm hoping someone out there might be kind enough to help me.
I need to do a "file exist" check with a variable in the file name. After that I need to do a line count on the file, and output its results to a txt file.
For... (3 Replies)
Discussion started by: ronan1219
3 Replies
7. UNIX for Beginners Questions & Answers
Dear all,
I run a simple command:
grep -f GTEx_snps.txt chr1_r2.txt>chr1_r2_GTEx.txt
and got error: "chr1_r2_GTEx.txt: No such file or directory" while "chr1_r2_GTEx.txt is an non-existent file. I google searched some solutions and tried to add -s and --no-messages option
grep -s... (2 Replies)
Discussion started by: forevertl
2 Replies
8. Shell Programming and Scripting
These three finds worked as expected:
$ find . -iname "*.PDF"
$ find . -iname "*.PDF" \( ! -name "*_nobackup.*" \)
$ find . -path "*_nobackup*" -prune -iname "*.PDF"
They all returned the match:
./folder/file.pdf
:b:
This find returned no matches:
$ find . -path "*_nobackup*" -prune... (3 Replies)
Discussion started by: wolfv
3 Replies
9. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
10. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
unlink(2) System Calls Manual unlink(2)
NAME
unlink - remove directory entry; delete file
SYNOPSIS
DESCRIPTION
The system call removes the directory entry named by the path name pointed to by path.
When all links to a file have been removed and no process has the file open, the space occupied by the file is freed and the file ceases to
exist. If one or more processes have the file open when the last link is removed, only the directory entry is removed immediately so that
processes that do not already have the file open cannot access the file. After all processes close their references to the file, if there
are no more links to the file, the space occupied by the file is then freed and the file ceases to exist.
RETURN VALUE
returns the following values:
Successful completion.
Failure.
is set to indicate the error.
ERRORS
If fails, is set to one of the following values:
Search permission is denied for a component of the path prefix.
Write permission is denied on the directory containing the link to be removed.
The process does not have read/write access permission to the parent
directory.
The entry to be unlinked is the mount point for a mounted file system.
path points outside the process's allocated address space. The reliable detection of this error is implementation dependent.
Too many symbolic links were encountered in translating the path name.
The length of the specified path name exceeds
bytes, or the length of a component of the path name exceeds bytes while is in effect.
The named file does not exist (for example,
path is null or a component of path does not exist).
A component of the path prefix is not a directory.
The directory containing the file to be removed
has the sticky bit set and neither the containing directory nor the file to be removed are owned by the effective user ID.
The named file is a directory and
the effective user ID is not a user with appropriate privileges. Some file systems return this error whenever the named file
is a directory, regardless of the user ID.
The directory entry to be unlinked is part of a read-only file system.
The entry to be unlinked is the last link to a pure procedure
(shared text) file that is being executed.
WARNINGS
If is used on a directory that is not empty (contains files other than and the directory is unlinked, the files become orphans, and the
directory link count is left with an inaccurate value unless they are linked by some other directory.
If is used on a directory that is empty (contains only the files and the directory is unlinked, but the parent directory's link count is
left with an inaccurate value.
In either of the above cases, the file system should be checked using (see fsck(1M)). To avoid these types of problems, use instead (see
rmdir(2)).
SEE ALSO
rm(1), close(2), link(2), open(2), rmdir(2), remove(3C), privileges(5).
STANDARDS CONFORMANCE
unlink(2)