issue74:certifie_linux
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue74:certifie_linux [2013/08/13 09:23] – créée auntiee | issue74:certifie_linux [2013/12/04 21:11] (Version actuelle) – fcm_-_ekel | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | I'm unemployed, and where I live, as I think is also the case in a lot of countries, I need to make a number of job applications a month. Now, I’m also the organised type and I like to keep all my applications nicely foldered away in their respective months. Hence, I have a folder hierarchy as follows: | + | **I'm unemployed, and where I live, as I think is also the case in a lot of countries, I need to make a number of job applications a month. Now, I’m also the organised type and I like to keep all my applications nicely foldered away in their respective months. Hence, I have a folder hierarchy as follows: |
unemployed --> applications --> jan, feb, may (it's been some time now) --> job_name | unemployed --> applications --> jan, feb, may (it's been some time now) --> job_name | ||
- | Now, of course, when I log in, I arrive in the home directory, and because of my meticulous folder architecture :), it takes some time to navigate to the said month or even application upon which I'm working. In the window (point & click), I have set up a shortcut, but as I like to use the terminal, I'd like to set up a link in my home directory which will jump to the month where all my current applications are stored. Now how do I do that? With a symlink. | + | Now, of course, when I log in, I arrive in the home directory, and because of my meticulous folder architecture :), it takes some time to navigate to the said month or even application upon which I'm working. In the window (point & click), I have set up a shortcut, but as I like to use the terminal, I'd like to set up a link in my home directory which will jump to the month where all my current applications are stored. Now how do I do that? With a symlink.** |
- | What are symlinks? | + | Je n'ai pas d' |
+ | |||
+ | sans emploi --> candidatures --> jan, fev, mai (oui, malheureusement, | ||
+ | |||
+ | Bien entendu, quand je me connecte, j' | ||
+ | |||
+ | **What are symlinks? | ||
Basically, a symlink is a file which points to another file. | Basically, a symlink is a file which points to another file. | ||
Ligne 17: | Ligne 23: | ||
Possibility 2: ln [options] files directory | Possibility 2: ln [options] files directory | ||
- | The first noteworthy item is that setting a symlink isn't a default option for the ln command. You need to pass -s to the [options] section, otherwise you'll create a hard link. | + | The first noteworthy item is that setting a symlink isn't a default option for the ln command. You need to pass -s to the [options] section, otherwise you'll create a hard link.** |
- | Now to create the link to the application I'm working on. Presently it's May and all my applications are in my May folder (some of my desktop is organised in German so it's written Mai). Also I want to create a link to a folder, not a file. My first attempt. Navigate to where I want to place the link (in my case in my Documents folder), and type: | + | Qu' |
+ | |||
+ | En fait, un symlink est un fichier qui pointe vers un autre fichier. | ||
+ | |||
+ | Le code | ||
+ | |||
+ | Bon. Nous savons que j'en ai besoin d'un. Nous savons ce que c' | ||
+ | |||
+ | 1ère possibilité : ln [options] lien vers un fichier | ||
+ | |||
+ | 2ème possibilité : ln [options] dossier de fichiers | ||
+ | |||
+ | Tout d' | ||
+ | |||
+ | **Now to create the link to the application I'm working on. Presently it's May and all my applications are in my May folder (some of my desktop is organised in German so it's written Mai). Also I want to create a link to a folder, not a file. My first attempt. Navigate to where I want to place the link (in my case in my Documents folder), and type: | ||
ln -s / | ln -s / | ||
- | To repeat, '/ | + | To repeat, '/ |
- | Editing symlinks | + | Bon, créons maintenant le lien vers la candidature sur laquelle je travaille actuellement. Nous sommes en mai et toutes mes candidatures se trouvent dans mon dossier Mai (écrit Mai, car une partie de mon bureau est organisée en allemand). Je veux également créer un lien vers un dossier, pas vers un fichier. Premier essai. Naviguez à l' |
+ | |||
+ | ln -s / | ||
+ | |||
+ | Encore une fois « / | ||
+ | |||
+ | **Editing symlinks | ||
Now I only used the name ' | Now I only used the name ' | ||
Ligne 35: | Ligne 61: | ||
ln -s / | ln -s / | ||
- | Anyway, I hope that helped, and if you are a seasoned symlinker or have just put together your first, like me, please write to let me know your ideas. I would love to hear about how you use symlinks. | + | Anyway, I hope that helped, and if you are a seasoned symlinker or have just put together your first, like me, please write to let me know your ideas. I would love to hear about how you use symlinks.** |
+ | |||
+ | La modification des symlinks | ||
+ | |||
+ | Il faut savoir que je n'ai utilisé le nom « new_link » que pour les besoins de ma démonstration ; en outre, nous ne serons pas en mai éternellement. À un moment quelconque, dans un avenir assez rapproché, je vais envoyer des candidatures dans un autre mois. J'ai donc besoin de pouvoir changer le nom du symlink, ainsi que de l' | ||
+ | |||
+ | mv new_link may_app | ||
+ | |||
+ | J' | ||
+ | |||
+ | ln -s / | ||
+ | |||
+ | Quoiqu' |
issue74/certifie_linux.1376378602.txt.gz · Dernière modification : 2013/08/13 09:23 de auntiee