issue74:c_c
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue74:c_c [2013/08/12 19:00] – créée auntiee | issue74:c_c [2013/12/02 16:55] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | When going through last month' | + | **When going through last month' |
+ | En parcourant les résultats du sondage du mois dernier, j'ai été agréablement surpris de voir un certain nombre de suggestions intéressantes, | ||
+ | ** | ||
LaTeX: I covered this in C&C in FCM#50 and #52 – where 52 was aimed more at Asian languages in LaTeX. | LaTeX: I covered this in C&C in FCM#50 and #52 – where 52 was aimed more at Asian languages in LaTeX. | ||
Ligne 7: | Ligne 9: | ||
Install the current version of VirtualBox for Linux hosts, then the Extension Pack. You have to select the VirtualBox package which corresponds to the version of Ubuntu you are using, and 32-bit or 64-bit. | Install the current version of VirtualBox for Linux hosts, then the Extension Pack. You have to select the VirtualBox package which corresponds to the version of Ubuntu you are using, and 32-bit or 64-bit. | ||
- | Automation: A surprising number of you seemed to be interested in writing bash scripts to automate things (either for yourself or for family members). I introduced that topic in C&C in FCM#24, but judging by the response, I'll probably be writing another few articles on that at a later date. | + | Automation: A surprising number of you seemed to be interested in writing bash scripts to automate things (either for yourself or for family members). I introduced that topic in C&C in FCM#24, but judging by the response, I'll probably be writing another few articles on that at a later date.** |
- | Conky: There were a fair amount of requests on getting started with conky. I have covered Conky in the following issues of FCM (in the C&C column): #44, #45,#46, #48, #51. If you have any particular issues with Conky, feel free to email me about it at lswest34@gmail.com. Please put “conky question” in the subject, and include the output of both lsb_release -a and conky -v | + | LaTeX : je l'ai couvert dans les C & C du FCM n° 50 et du n° 52 - où le 52 était plus axé sur l' |
+ | |||
+ | Virtualbox : quelqu' | ||
+ | |||
+ | Installez la version actuelle de VirtualBox pour les hôtes Linux, puis le pack d' | ||
+ | |||
+ | Automatisation : un nombre surprenant de gens semblaient être intéressés par l' | ||
+ | |||
+ | **Conky: There were a fair amount of requests on getting started with conky. I have covered Conky in the following issues of FCM (in the C&C column): #44, #45,#46, #48, #51. If you have any particular issues with Conky, feel free to email me about it at lswest34@gmail.com. Please put “conky question” in the subject, and include the output of both lsb_release -a and conky -v | ||
IDEs: Someone asked for a review of IDEs – without knowing exactly what languages you want to develop for, it would be a fairly confusing article. That being said, I did discuss IDEs in FCM#64. | IDEs: Someone asked for a review of IDEs – without knowing exactly what languages you want to develop for, it would be a fairly confusing article. That being said, I did discuss IDEs in FCM#64. | ||
- | CLI Coloring: A couple of people asked about styling your prompt and terminal. I have discussed this in FCM#27, #35, #36 | + | CLI Coloring: A couple of people asked about styling your prompt and terminal. I have discussed this in FCM#27, #35, #36** |
+ | |||
+ | Conky : il y avait beaucoup de demandes sur comment commencer à utiliser Conky. J'ai couvert Conky dans les numéros suivants du FCM (dans les colonnes du C & C): n° 44, n° 45, n° 46, n° 48, n° 51. Si vous avez des problèmes particuliers dans Conky, n' | ||
+ | |||
+ | IDE : quelqu' | ||
+ | |||
+ | CLI Coloriage : quelques personnes ont posé des questions sur le style des invites et du terminal. J'ai parlé de cela dans les FCM n° 27, n° 35 et n° 36. | ||
- | Command-line “cookbook”: | + | **Command-line “cookbook”: |
And now, on to some questions that were fairly brief and would not have been enough for a whole article in and of themselves. | And now, on to some questions that were fairly brief and would not have been enough for a whole article in and of themselves. | ||
Ligne 29: | Ligne 45: | ||
As you can see, you can't place a space between the items and the comma (mkdir understands it as two paths then: Pictures/ | As you can see, you can't place a space between the items and the comma (mkdir understands it as two paths then: Pictures/ | ||
+ | ** | ||
- | Another question I had was to create a bash script to automatically mount a second and third hard drive. Once again, this isn't a Bash problem. Linux offers you a configuration file called /etc/fstab. This is in charge of mounting all your drives on boot-up. It will look something like that shown below. | + | Un « livre de recettes » de la ligne de commande : quelqu' |
+ | |||
+ | Et maintenant, passons à quelques questions qui sont assez brèves et dont la réponse n' | ||
+ | |||
+ | Créer une hiérarchie de dossiers avec un script d'une seule ligne (scripts bash) : tout d' | ||
+ | |||
+ | mkdir -p Images/ | ||
+ | |||
+ | L' | ||
+ | |||
+ | |||
+ | mkdir -p Images/ | ||
+ | |||
+ | Comme vous pouvez le voir, vous ne pouvez pas placer un espace entre les articles et la virgule (mkdir le comprend alors comme deux chemins : Images/ | ||
+ | |||
+ | **Another question I had was to create a bash script to automatically mount a second and third hard drive. Once again, this isn't a Bash problem. Linux offers you a configuration file called /etc/fstab. This is in charge of mounting all your drives on boot-up. It will look something like that shown below. | ||
The following mounts an NTFS drive to / | The following mounts an NTFS drive to / | ||
Ligne 52: | Ligne 84: | ||
sudo vol_id –uid /dev/sda2 | sudo vol_id –uid /dev/sda2 | ||
- | Replace, of course, sda2 with the actual drive you want. | + | Replace, of course, sda2 with the actual drive you want.** |
- | Lastly, there were a few requests for covering GRUB2. While that would be an article in itself, I felt I should at least offer a little bit of information for those who don't want to wait. For GUI-based editing of some settings, there' | + | Une autre question qui m'a été posée était comment créer un script bash pour monter automatiquement un deuxième et troisième disques durs. Encore une fois, ce n'est pas un problème de bash. Linux vous propose un fichier de configuration /etc/fstab. Sa fonction est de monter tous vos disques lors du démarrage. Il ressemblera à celui illustré ci-dessous. |
+ | |||
+ | Ce qui suit monte un lecteur NTFS vers / | ||
+ | |||
+ | / | ||
+ | |||
+ | Un exemple de montage d'une clef USB FAT32 en utilisant l'UUID - encore une fois, donnez à l'UUID la bonne information : | ||
+ | |||
+ | UUID=47FA-4071 | ||
+ | |||
+ | Si vous voulez utiliser des espaces dans les chemins, vous devez remplacer les espaces par \040 dans le fichier. Une fois que vous aurez modifié le fichier /etc/fstab, vous pourrez tester pour voir s'il fonctionne en exécutant : | ||
+ | |||
+ | sudo mount -a | ||
+ | |||
+ | Si les disques apparaissent où vous vous y attendez et que vous pouvez y accéder, vous avez tout bon. Vous pouvez vérifier les UUID par la commande : | ||
+ | |||
+ | sudo blkid | ||
+ | |||
+ | Ou, si vous voulez l'UUID pour un seul disque/ | ||
+ | |||
+ | sudo vol_id –uid /dev/sda2 | ||
+ | |||
+ | Remplacez, bien sûr, sda2 par le lecteur réel que vous voulez. | ||
+ | |||
+ | **Lastly, there were a few requests for covering GRUB2. While that would be an article in itself, I felt I should at least offer a little bit of information for those who don't want to wait. For GUI-based editing of some settings, there' | ||
If you're just after a different theme, they are discussed at the following links: | If you're just after a different theme, they are discussed at the following links: | ||
Ligne 63: | Ligne 119: | ||
Hopefully I've answered the questions sufficiently. If anyone has any further questions, feel free to email me at lswest34@gmail.com. Please include “C& | Hopefully I've answered the questions sufficiently. If anyone has any further questions, feel free to email me at lswest34@gmail.com. Please include “C& | ||
+ | ** | ||
+ | |||
+ | Enfin, il y avait quelques demandes concernant GRUB2. Alors que ce serait un article en lui-même, je sentais que je devais au moins offrir un peu d' | ||
+ | |||
+ | Si vous souhaitez juste un thème différent, voir les liens suivants : | ||
+ | |||
+ | https:// | ||
+ | http:// | ||
+ | https:// | ||
+ | J' |
issue74/c_c.1376326844.txt.gz · Dernière modification : 2013/08/12 19:00 de auntiee