Depuis ma Manjaro gnome fraichement installée, j'ai voulu taper un find et un locate dans le terminal mais celui ci me renvoie "commande inconnue". Le bash est installé pourtant!?
Une idée?
echo $PATH
$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
pacman -Qi locate
retourne "aucun paquet" , mais locate find
me renvoie bien tous ce qui est dans /usr....find...[carafife@carafife-pc ~]$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
[carafife@carafife-pc ~]$
[steph@manjaro ~]$ > tagadatsointsoin.truc
[steph@manjaro ~]$ find taga*
tagadatsointsoin.truc
[carafife@carafife-pc ~]$ touch essai
[carafife@carafife-pc ~]$ locate essai
bash: locate : commande introuvable
[carafife@carafife-pc ~]$ find essai
essai
[carafife@carafife-pc ~]$
┌──[alain / ManjaroLinux 17.1-rc1 (Hakoila) xfce x86_64 - 4.4.105-1-MANJARO / sdb6 de pcb2]
├── ~
└─> type find locate
find est /usr/sbin/find
locate est /usr/sbin/locate
└─> ls -l /usr/sbin/find /usr/sbin/locate
-rwxr-xr-x 1 root root 197360 1 août 2016 /usr/sbin/find
-rwxr-sr-x 1 root locate 39512 4 avril 2017 /usr/sbin/locate
└─> ls -l /usr/sbin/ | grep '4 avril 2017'
-rwxr-xr-x 1 root root 52176 24 avril 2017 cwebp
-rwxr-xr-x 1 root root 31280 24 avril 2017 dwebp
-rwxr-xr-x 1 root root 31552 4 avril 2017 fpcalc
-rwxr-xr-x 1 root root 23032 24 avril 2017 gif2webp
-rwxr-xr-x 1 root root 35752 24 avril 2017 img2webp
-rwxr-sr-x 1 root locate 39512 4 avril 2017 locate
-rwxr-xr-x 1 root root 491840 4 avril 2017 powertop
lrwxrwxrwx 1 root root 6 4 avril 2017 slocate -> locate
-rwxr-xr-x 1 root root 43752 4 avril 2017 updatedb
-rwxr-xr-x 1 root root 23152 24 avril 2017 vwebp
-rwxr-xr-x 1 root root 27016 24 avril 2017 webpmux
[carafife@carafife-pc ~]$ type locate
bash: type: locate : non trouvé
[carafife@carafife-pc ~]$
[carafife@carafife-pc ~]$ type locate└─> yaourt locate
1 core/findutils 4.6.0-2 (base base-devel) [installed]
GNU utilities to locate files
2 core/mlocate 0.26-6 [installed]
Merging locate/updatedb implementation
[carafife@carafife-pc ~]$ yaourt locate
bash: yaourt : commande introuvable
[carafife@carafife-pc ~]$ sudo yaourt locate
[sudo] Mot de passe de carafife :
sudo: yaourt : commande introuvable
[carafife@carafife-pc ~]$
[carafife@carafife-pc ~]$ yaourt -S locate
[sudo] Mot de passe de carafife :
erreur : impossible de trouver la cible : locate
[carafife@carafife-pc ~]$ yaourt locate
1 core/findutils 4.6.0-2 (base base-devel) [installed]
GNU utilities to locate files
2 core/mlocate 0.26-6
Merging locate/updatedb implementation
3 extra/perl-file-sharedir 1.102-3
Locate per-dist and per-module shared files
4 community/libwlocate 1:0.1-1
A shared library that can be used for location-based services
5 community/lldpd 0.9.9-1
802.1ab implementation (LLDP) to help you locate neighbors
6 aur/cdsclient 3.84-1 (1) (0,02)
a set of C and csh routines o query some databases located at CDS or on
mirrors over the network
7 aur/creak-git 20161118.r38-2 (0) (0,00)
Performs some of the most famous MITM attack on target addresses located
in a local network.
8 aur/findutils-selinux 4.6.0-2 (14) (0,01)
GNU utilities to locate files with SELinux support
9 aur/kio-locate-kf5 0.5.3-2 (Out of Date) (2) (0,00)
A KDE I/O Slave for the locate command. KF5 Ver.
10 aur/lldpd-git 0.9.6.12-1 (1) (0,00)
802.1ab implementation (LLDP) to help you locate neighbors
11 aur/locator 0.1.2-1 (3) (0,00)
Unix command locate front-end. A Linux alternative to voidtool's
Everything, written in Lazarus.
12 aur/mlocate-git 0.26.r14.gc98bf65-1 (0) (0,00)
A locate/updatedb implementation
13 aur/octave-divand 1.1.2-3 (0) (0,00)
divand performs an n-dimensional variational analysis (interpolation) of
arbitrarily located observations.
14 aur/perl-findbin-libs 2.15-1 (1) (0,00)
locate and a 'use lib' or export directories based on ::Bin.
15 aur/perl-lingua-en-findnumber 1.32-2 (0) (0,00)
Perl/CPAN Module Lingua::EN::FindNumber: Locate (written) numbers in
English text
16 aur/perl-module-locate 1.79-1 (5) (0,00)
locate modules in the same fashion as require and use
17 aur/python-haversine 0.4.5-1 (0) (0,00)
Calculate the distance (in km or in miles) between two points on Earth,
located by their latitude and longitude.
18 aur/python2-haversine 0.4.5-1 (0) (0,00)
Calculate the distance (in km or in miles) between two points on Earth,
located by their latitude and longitude.
19 aur/quickswitch-i3 2.7.0-2 (9) (0,29)
A python utility to quickly change to and locate windows in i3
20 aur/tlocate r31.8cf1686-1 (6) (0,00)
mlocate rewritten using only GNU coreutils, sudo and bash with proper
btrfs subvolume handling, semi-arbitrary filtering and other improvements
21 aur/xfce4-linelight-plugin 0.1.7-9 (20) (0,00)
A simple frontend for the locate search.
22 aur/xorg-xfindproxy 1.0.2-1 (1) (0,00)
Locate X proxy services
23 aur/yarn-vm-git r12.3219110-2 (0) (0,00)
A small embeddable VM with a custom instruction set and everything stored
in a statically allocated memory space.
==> Numéro(s) des paquets à installer (ex: 1 2 3 ou 1-3)
==> ----------------------------------------------------
==>
coolinux a écrit :└─> yaourt locate
1 core/findutils 4.6.0-2 (base base-devel) [installed]
GNU utilities to locate files
2 core/mlocate 0.26-6 [installed]
Merging locate/updatedb implementation
[carafife@carafife-pc ~]$ locate essai
locate: impossible de lancer la commande stat () pour « /var/lib/mlocate/mlocate.db »: Aucun fichier ou dossier de ce type
[carafife@carafife-pc ~]$
Laisse moi te trouver ça avec Googlelocate: impossible de lancer la commande stat
Before locate can be used, the database will need to be created. To do this, execute updatedb as root.