11-11-2002
okay, but smitty should be smart enough to do the necessary removal when a user is removed..., right?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can I remove a non empty directory. ' rmdir directory_name ' complains that the directory is not empty. The same problem happens with ' rmdir directory_name/* '
Thanks (2 Replies)
Discussion started by: babayeve
2 Replies
2. AIX
I have to move a lpar from one 671 to another (aix 5.2 ML 07)
when I run mksysb, It alway hangs with "archieving file list"
I've tried to exlude every directory, but still not working
the only thing that can be a problem, is a hardlink directory
normally it should not be possible to... (4 Replies)
Discussion started by: funksen
4 Replies
3. UNIX for Dummies Questions & Answers
Hello
I'm new to this forum, so I did a quick scan of the FAQs to see if my problem had been addressed already, since I believe it is probably a very common need. I was surprised that I did not see anything obvious.
I need to remove all files from a directory that have a last modified date... (2 Replies)
Discussion started by: 2davidc8
2 Replies
4. Solaris
Hello, somehow a directory called -r was created on one of my servers and I can't remove is using either rm or rmdir. Is there a way to remove this directory? Thank you.
-David (2 Replies)
Discussion started by: dkranes
2 Replies
5. Shell Programming and Scripting
I can remove blank lines at end of file using following code
for files in `ls * 2>/dev/null`
do
sed -e :a -e '/^\n*$/N;/\n$/ba' $files > newfile
mv newfile $files
done
How can I change above code, so that it recursively executes that code for all files under a directory? (6 Replies)
Discussion started by: ruchimca
6 Replies
6. UNIX for Dummies Questions & Answers
I have some empty files that were created from a script I ran that I cannot delete using the rm command.... any ideas as how I can delete them?
-rw-r--r-- 1 schroeks x_exp 0 Jul 21 08:24 rrd15CEC
-rw-r--r-- 1 schroeks x_exp 0 Jul 21 11:37 rrd15CEC
-rw-r--r-- ... (20 Replies)
Discussion started by: freddie88
20 Replies
7. Shell Programming and Scripting
By Mistake i created a directory named "-lrt" in one of my working directories and now i am not able to delete it , please suggest hw to delete this directory now ?
Thanks in advance. (1 Reply)
Discussion started by: neeraj617
1 Replies
8. Shell Programming and Scripting
Hi all,
I want to remove the remove bracket sign ( ) and put in the separate column I also want to remove the repeated entry like in first row in below input (PA156) is repeated
ESR1 (PA156) leflunomide (PA450192) (PA156) leflunomide (PA450192)
CHST3 (PA26503) docetaxel... (2 Replies)
Discussion started by: manigrover
2 Replies
9. HP-UX
Hello my friends,
I have a directory called
log_old
when I try to delete it, it tells me no such file or directory.
Then I tried to run this command:
ls -lb
It tells me the directory name, it is: log_old1\177
!!
I tried to remove it using inode, using this... (4 Replies)
Discussion started by: Mohannad
4 Replies
10. UNIX for Dummies Questions & Answers
How to remove directory of a particular user (1 Reply)
Discussion started by: pspriyanka
1 Replies
LEARN ABOUT HPUX
sem_unlink
sem_unlink(2) System Calls Manual sem_unlink(2)
NAME
sem_unlink - unlink a named POSIX semaphore
SYNOPSIS
DESCRIPTION
is used to unlink named semaphores. A successful call to marks the semaphore, specified by name, for removal. Calling does not affect
processes, including the calling process, which currently have a descriptor, obtained from a call to Named semaphores are uniquely identi-
fied by character strings. All character string names will be pre-processed to ensure variations of a pathname resolve to the same sema-
phore name. If the semaphore is successfully marked for removal by a call to the semaphore will be removed when all processes remove their
descriptors to the specified semaphore by calling Subsequent calls to using the string name will refer to a new semaphore.
To use this function, link in the realtime library by specifying on the compiler or linker command line.
EXAMPLES
The following call to will remove the named semaphore named by the string name. If the semaphore is currently referenced by one or more
processes, the semaphore will be marked for removal and removed when there are no more processes referencing it.
RETURN VALUE
If the semaphore was unlinked successfully, returns 0.
If the semaphore could not be unlinked, the call returns -1 and sets to indicate the error.
ERRORS
fails and does not perform the requested operation if any of the following conditions are encountered:
[EACCES] The named semaphore exists and the process does not have the permissions to unlink the semaphore.
[ENAMETOOLONG] The name string is longer than
[ENOENT] The flag is not set in oflag (see sem_open(2)) and the named semaphore does not exist.
SEE ALSO
sem_close(2), sem_open(2), privileges(5), <semaphore.h>.
STANDARDS CONFORMANCE
sem_unlink(2)