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:32] – [1] 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 27: | Ligne 27: | ||
| **Execute the command.** | **Execute the command.** | ||
| + | |||
| + | rpwitt@rpwitt-laptop: | ||
| + | c_programming.pdf | ||
| + | lfs.pdf | ||
| + | LinuxAdm.pdf | ||
| + | linux_nutshell.pdf | ||
| + | lpic.pdf | ||
| + | nand2tetris | ||
| + | prog_interface.pdf | ||
| + | shell_scripting.pdf | ||
| + | |||
| + | Dans mon cas (Ubuntu 12.04 LTS), ls est prédéfini avec l' | ||
| + | |||
| + | Pour avoir un fichier ou un dossier par ligne tout en gardant le code couleur : | ||
| + | |||
| + | (NB : Bien que pas toujours nécessaire, | ||
| + | |||
| + | alias ls='ls -1 --color=auto' | ||
| + | |||
| + | Exécuter la commande : | ||
| rpwitt@rpwitt-laptop: | rpwitt@rpwitt-laptop: | ||
| Ligne 44: | 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 59: | 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.1378621949.txt.gz · Dernière modification : 2013/09/08 08:32 de fcm_-_ekel
