Aix unlink file
I'm trying to unlink multiple file in my folder. Improve this question. Murat Kaya Murat Kaya 1 1 silver badge 2 2 bronze badges. What does man unlink tell you about the parameters to the command?
Add a comment. Active Oldest Votes. Looking at the man page I don't think it supports that usage. Improve this answer. Sergiy Kolodyazhnyy Sergiy Kolodyazhnyy 15k 8 8 gold badges 43 43 silver badges 92 92 bronze badges. Matheus Garcia Matheus Garcia 1 1 1 silver badge. Sign up or log in Sign up using Google. Sign up using Facebook. This function returns 0 on successful completion, and -1 on error. In addition to the usual file name errors see File Name Errors , the following errno error conditions are defined for this function:.
Write permission is denied for the directory from which the file is to be removed, or the directory has the sticky bit set and you do not own the file. For example, you might see this error if the file name specifies the root directory or a mount point for a file system. On some systems unlink cannot be used to delete the name of a directory, or at least can only be used this way by a privileged user.
To avoid such problems, use rmdir to delete directories. Jan 04 jet. Username or Email Address. Remember Me. Sign Up For Our Newsletter. Basic Commands. Marco Cherisi , March 13, Unlink vs rm Command The unlink command differs in several ways from the rm command. Steven Vona This article is about the unlink command, nothing to do with ngix.
Join Our Newsletter. Login Register. Registration is closed.
0コメント