Chemin complet d'un fichier
Résolu
christophe1371
-
lami20j Messages postés 21506 Date d'inscription Statut Modérateur, Contributeur sécurité Dernière intervention -
lami20j Messages postés 21506 Date d'inscription Statut Modérateur, Contributeur sécurité Dernière intervention -
Bonjour,
comment avoir le chemin complet d'un fichier?
comment avoir le chemin complet d'un fichier?
Configuration: Windows XP Firefox 2.0.0.4
7 réponses
-
salut,
tu peux le savoir avec find par exemple:
find / -name 'tonfichier'
-
Salut,
c'est à dire ?
il existe la commande which qui donne le chemin complet d'un programme, quand il est renseigné dans le path...
[root@toto ~]# which ksh
/bin/ksh
-
personnellement j'aime bien utiliser
locate
exemple:
# locate bind9
/usr/lib/libbind9.so.0
/usr/lib/libbind9.so.0.0.8
/usr/share/doc/bind9-host
/usr/share/doc/bind9-host/changelog.Debian.gz
/usr/share/doc/bind9-host/changelog.gz
/usr/share/doc/bind9-host/copyright
/usr/share/doc/libbind9-0
/usr/share/doc/libbind9-0/changelog.Debian.gz
/usr/share/doc/libbind9-0/changelog.gz
/usr/share/doc/libbind9-0/copyright
/var/cache/apt/archives/bind9_1%3a9.3.4-2etch1_i386.deb
/var/cache/apt/archives/bind9-host_1%3a9.3.4-2etch1_i386.deb
/var/cache/apt/archives/libbind9-0_1%3a9.3.4-2etch1_i386.deb
/var/lib/dpkg/info/bind9-host.list
/var/lib/dpkg/info/bind9-host.md5sums
/var/lib/dpkg/info/libbind9-0.list
/var/lib/dpkg/info/libbind9-0.md5sums
/var/lib/dpkg/info/libbind9-0.postinst
/var/lib/dpkg/info/libbind9-0.postrm
/var/lib/dpkg/info/libbind9-0.shlibs -
yep, mais faudrais actualisé avant avec updatedb
updatedb && locate nom_de_fichier
-
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question -
-
-
Salut,
nous sommes dans le Forum Linux, donc il y a 2 possibilités
1. il poste le message depuis un PC qui a comme OS Windows (mais la question concerne Linux)
2. il s'est trompé de Forum
Comme il n'a jamais fait un retour, on ne peux pas savoir.