alors ça donne ça : math@mathordi:~$ dpkg -l|awk '/linux-headers-3.2/{print$2}'|grep -v "$(uname -r|cut -d- -f1-2)" linux-headers-3.2.0-31 linux-headers-3.2.0-31-generic linux-headers-3.2.0-31-generic-pae linux-headers-3.2.0-41 linux-headers-3.2.0-41-generic linux-headers-3.2.0-41-generic-pae linux-headers-3.2.0-43 linux-headers-3.2.0-43-generic linux-headers-3.2.0-43-generic-pae linux-headers-3.2.0-48 linux-headers-3.2.0-48-generic linux-headers-3.2.0-48-generic-pae linux-headers-3.2.0-49 linux-headers-3.2.0-49-generic linux-headers-3.2.0-49-generic-pae linux-headers-3.2.0-51 linux-headers-3.2.0-51-generic linux-headers-3.2.0-51-generic-pae linux-headers-3.2.0-52 linux-headers-3.2.0-52-generic linux-headers-3.2.0-52-generic-pae math@mathordi:~$
ça vous parle? (moi ça me dit rien du tout!!) Le 4 janvier 2014 18:20, Aymeric <m...@aplu.fr> a écrit : > On 04/01/2014 17:05, Fredo Mathilde Jamois wrote: > > Quand à l'autre commande j'ai du mal la recopier parce que ça donne ça : > > math@mathordi:~$ $ dpkg -l|awk '/linux-headers-3.2/{print$2}'|grep -v > "$(uname -r|cut -d- > > -f1-2)" > cut: une liste d'octets, de caractères ou de champs doit être indiquée > Saisissez « cut --help » pour plus d'informations. > $ : commande introuvable > -f1-2 : commande introuvable > > > Retour a la ligne en trop. > > > J'ai essayé en enlevant le "aller à la ligne" mais c'est pas mieux : > > math@mathordi:~$ $ dpkg -l|awk '/linux-headers-3.2/{print$2}'|grep -v > "$(uname -r|cut -d--f1-2)" > cut: le délimiteur doit être un seul caractère > Saisissez « cut --help » pour plus d'informations. > $ : commande introuvable > math@mathordi:~$ > > > T'as manger ou j'ai oublié l'espace entre -d- et -f1-2 (à la fin), sinon > c'était bon. > > dpkg -l|awk '/linux-headers-3.2/{print$2}'|grep -v "$(uname -r|cut -d- > -f1-2)" > > Aymeric > > -- > Aymeric > > > _______________________________________________ > Toulouse-ll mailing list > Toulouse-ll@toulibre.org > http://toulibre.org/cgi-bin/mailman/listinfo/toulouse-ll >
_______________________________________________ Toulouse-ll mailing list Toulouse-ll@toulibre.org http://toulibre.org/cgi-bin/mailman/listinfo/toulouse-ll