issue72:certifie_linux
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| issue72:certifie_linux [2013/09/08 08:38] – [2] fcm_-_ekel | issue72:certifie_linux [2013/09/09 09:10] (Version actuelle) – [1] auntiee | ||
|---|---|---|---|
| Ligne 9: | Ligne 9: | ||
| alias ls='ls --color=auto' | alias ls='ls --color=auto' | ||
| - | Dites de moi que je suis tatillon, mais lorsque j' | + | Dites de moi que je suis tatillonne, mais lorsque j' |
| rpwitt@rpwitt-laptop: | rpwitt@rpwitt-laptop: | ||
| Ligne 38: | Ligne 38: | ||
| shell_scripting.pdf | shell_scripting.pdf | ||
| - | Dans mon cas (Ubuntu 12.04 LTS), ls est prédéfini avec les alias ls - color = auto ', qui, autant que je sache, attribue | + | Dans mon cas (Ubuntu 12.04 LTS), ls est prédéfini avec l'alias 'ls --color=auto', |
| - | Pour avoir un fichier ou un dossier par ligne tout en gardant le code couleur: | + | Pour avoir un fichier ou un dossier par ligne tout en gardant le code couleur : |
| - | (NB : Bien que pas toujours nécessaire, | + | (NB : Bien que pas toujours nécessaire, |
| alias ls='ls -1 --color=auto' | alias ls='ls -1 --color=auto' | ||
| Ligne 57: | Ligne 57: | ||
| prog_interface.pdf | prog_interface.pdf | ||
| shell_scripting.pdf | shell_scripting.pdf | ||
| + | |||
| ===== 3 ===== | ===== 3 ===== | ||
| Ligne 63: | Ligne 64: | ||
| But wait! It's not enough. I want to have my nand2tetris folder (very cool little learning project) at the top of that list. In fact, I always want my folders listed first. A quick consultation under ls --help informs me that ls --group-directories-first will get the job done. I can have all I would have hoped (and still do ever hope) for. If only I wouldn’t have to type that pesky addendum to each ls command: --group-directories-first. | But wait! It's not enough. I want to have my nand2tetris folder (very cool little learning project) at the top of that list. In fact, I always want my folders listed first. A quick consultation under ls --help informs me that ls --group-directories-first will get the job done. I can have all I would have hoped (and still do ever hope) for. If only I wouldn’t have to type that pesky addendum to each ls command: --group-directories-first. | ||
| alias saves the day again.** | alias saves the day again.** | ||
| + | |||
| + | Et ça y est, c'est fait. | ||
| + | |||
| + | Mais attendez ! Ce n'est pas assez. Je veux avoir mon dossier nand2tetris (petit projet d' | ||
| + | alias est à nouveau venu à la rescousse. | ||
| alias ls='ls -1 --color=auto --group-directories-first' | alias ls='ls -1 --color=auto --group-directories-first' | ||
| Ligne 78: | Ligne 84: | ||
| *The alias command is a part of LPIC learning statement 1.105.1, Customize and use the shell environment. (weight: 4)** | *The alias command is a part of LPIC learning statement 1.105.1, Customize and use the shell environment. (weight: 4)** | ||
| + | |||
| + | C'est très beau. | ||
| + | |||
| + | * La commande alias est une partie de la déclaration d' | ||
issue72/certifie_linux.1378622287.txt.gz · Dernière modification : 2013/09/08 08:38 de fcm_-_ekel
