Bash-Linux.com : Le SHELL pour les nuls

  Actuellement 50 lignes de commande et 1472 man disponibles
login as: root
root@213.186.33.18's password:
Last login: Sun Feb 12 8:19:16 2012 from 38.107.179.229
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Remove en anglais

REMOVE(3) Linux Programmer's Manual REMOVE(3)
 
NAME


remove - delete a name and possibly the file it refers to
 
SYNOPSIS


#include int remove(const char *pathname);
 
DESCRIPTION


remove() deletes a name from the file system. It calls unlink(2) for files, and rmdir(2) for directories. If the removed name was the last link to a file and no processes have the file open the file is deleted and the space it was using is made available for reuse. If the name was the last link to a file but any processes still have the file open the file will remain in existence until the last file descriptor referring to it is closed. If the name referred to a symbolic link the link is removed. If the name referred to a socket, fifo or device the name for it is removed but processes which have the object open may continue to use it.
 
RETURN VALUE


On success, zero is returned. On error, -1 is returned, and errno is set appropriately.
 
ERRORS


The errors that occur are those for unlink(2) and rmdir(2).
 
CONFORMING TO


C89, C99, 4.3BSD, POSIX.1-2001.
 
NOTES


Under libc4 and libc5, remove() was an alias for unlink(2) (and hence would not remove directories).
 
BUGS


Infelicities in the protocol underlying NFS can cause the unexpected disappearance of files which are still being used.
 
SEE ALSO


rm(1), unlink(1), link(2), mknod(2), open(2), rename(2), rmdir(2), unlink(2), mkfifo(3), symlink(7)
 
COLOPHON


This page is part of release 3.05 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. GNU 1994-07-13 REMOVE(3)


 Dernières recherches
Man  en anglais Man remove en anglaisMan  en français Man remove en français
Man  en anglais Man sscanf en anglaisMan  en français Man sscanf en français
Man  en anglais Man execvp en anglaisMan  en français Man execvp en français
Man  en anglais Man listen en anglaisMan  en français Man listen en français
Man  en anglais Man fseeko en anglaisMan  en français Man fseeko en français
Man  en anglais Man access en anglaisMan  en français Man access en français
Man  en anglais Man fflush en anglaisMan  en français Man fflush en français
Man  en anglais Man strtol en anglaisMan  en français Man strtol en français
Man  en anglais Man msgget en anglaisMan  en français Man msgget en français
Man  en anglais Man catman en anglaisMan  en français Man catman en français
Man  en anglais Man semget en anglaisMan  en français Man semget en français
Man  en anglais Man usleep en anglaisMan  en français Man usleep en français
Man  en anglais Man execlp en anglaisMan  en français Man execlp en français
Man  en anglais Man malloc en anglaisMan  en français Man malloc en français
Man  en anglais Man string en anglaisMan  en français Man string en français

 Recherche

Dans ce moteur de recherche, vous pouvez taper directement votre besoin, en une phrase normale, humaine.
Exemple : vous cherchez comment remplacer un mot par un autre dans tous les fichiers d'un certain dossier. Vous pouvez écrire "Comment remplacer un mot par un autre dans tous les fichiers d'un dossier". Le moteur vous ramenera les résultats en fonction de leur pertinence.
Vous pouvez bien sûr ne chercher qu'un seul mot-clé, par exemple "find".
 Toutes les lignes de code
Par popularité
Par fonction
Recherche avancée
 Les logiciels SHELL/SSH
Putty
Astuces Bash
Faire du SHELL avec PHP!
 La doc officielle
Les man Linux en français
Les man Linux en anglais
 Proposer vos bash
Partagez vos lignes!
 Les requêtes
Déposer une requête
Voir/répondre à une requête
 Quelques sites interessants
Bons sites pour apprendre
 Rechercher