Canaux
stdin 0
stdout 1
stderr 2
>& redirige les 2 canaux de sortie dans un seule fichier
cmd 2>error.log
ls -l >resultat.txt 2>&1
exec ouverture des canaux 3 a 9
exec 3>dump.log
ls -l >&3
tout redirection dans canal 3 sera ecrit dans fichier dump.log
exec 3>&-
fermeture du canal
—————————————————————————-
!! //Rappel de la dernière commande !23 //La 23ème commande !-2 //L'avant-dernière commande !?profile //La dernière commande contenant le mot "profile"
—————————————————————————————
6 consoles virtuelles, dont l’accès depuis l’interface graphique se fait avec les combinaisons de touches suivantes Ctrl+ALT+Fn ou
n est un chiffre de 1 à 6.
Depuis une console virtuelle, vous pouvez passer dans une autre avec la combinaison ALT+Fn, (avec n de 1 à 6).
Pour revenir en mode graphique depuis une console virtuelle, faites ALT+F7.
————————————————————————————–
Make :
means one of two things:
Error 127
- file not found: the path you’re using is incorrect. double check that the program is actually in your
$PATH
, or in this case, the relative path is correct — remember that the current working directory for a random terminal might not be the same for the IDE you’re using. it might be better to just use an absolute path instead. - ldso is not found: you’re using a pre-compiled binary and it wants an interpreter that isn’t on your system. maybe you’re using an x86_64 (64-bit) distro, but the prebuilt is for x86 (32-bit). you can determine whether this is the answer by opening a terminal and attempting to execute it directly. or by running
file -L
on/bin/sh
(to get your default/native format) and on the compiler itself (to see what format it is).
if the problem is (2), then you can solve it in a few diff ways:
- get a better binary. talk to the vendor that gave you the toolchain and ask them for one that doesn’t suck.
- see if your distro can install the multilib set of files. most x86_64 64-bit distros allow you to install x86 32-bit libraries in parallel.
- build your own cross-compiler using something like crosstool-ng.
- you could switch between an x86_64 & x86 install, but that seems a bit drastic ;).