Bonjour,
OS :version "bash"Code:Linux achille 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 GMT 2011 x86_64 x86_64 x86_64 GNU/Linux
j'ai un comportement étrange sur mon bashCode:GNU bash, version 4.1.2(1)-release (x86_64-redhat-linux-gnu)
c'est bizarre !!! la commade tout seule est exécuté mais avec un pipe en entré std, elle est rejeté !!!Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 [root@achille ~]# awk '{print $1}' toto tata titi toto .... [root@achille ~]# ll | awk '{print $1}' bash: awk : commande introuvable [root@achille ~]# ... [root@achille ~]# which awk /usr/bin/awk [root@achille ~]# ll | /usr/bin/awk '{print $1}' bash: /usr/bin/awk: Aucun fichier ou dossier de ce type [root@achille ~]# ... [root@achille ~]# ll | grep toto bash: grep : commande introuvable [root@achille ~]#
voila ma variable PATH
Merci de m'aider.Code:
1
2 [root@achille ~]# echo $PATH /usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/root/bin
Grizli.