Subversion Repositories svn LFS-FR

Rev

Rev 7267 | Rev 7296 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
7156 jlepiller 1
# SOME DESCRIPTIVE TITLE
2
# Copyright (C) YEAR Free Software Foundation, Inc.
3
# This file is distributed under the same license as the PACKAGE package.
4
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
#
6
msgid ""
7
msgstr ""
8
"Project-Id-Version: PACKAGE VERSION\n"
7280 jlepiller 9
"POT-Creation-Date: 2017-05-20 04:05+0000\n"
10
"PO-Revision-Date: 2017-05-17 18:15+0000\n"
7156 jlepiller 11
"Last-Translator: roptat <roptat@lepiller.eu>\n"
12
"Language-Team: LANGUAGE <LL@li.org>\n"
7257 jlepiller 13
"Language: fr\n"
7156 jlepiller 14
"MIME-Version: 1.0\n"
15
"Content-Type: text/plain; charset=UTF-8\n"
16
"Content-Transfer-Encoding: 8bit\n"
17
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
7244 jlepiller 18
"X-Generator: Pootle 2.8\n"
7280 jlepiller 19
"X-POOTLE-MTIME: 1495044915.914868\n"
7156 jlepiller 20
 
21
#. type: Content of: <sect1><sect1info>
22
#: blfs-en/postlfs/config/profile.xml:12
7257 jlepiller 23
#| msgid ""
7280 jlepiller 24
#| "<othername>$LastChangedBy: dj $</othername> <date>$Date: 2017-05-17 05:08:32"
25
#| " +0000 (Wed, 17 May 2017) $</date>"
7156 jlepiller 26
msgid ""
7280 jlepiller 27
"<othername>$LastChangedBy: dj $</othername> <date>$Date: 2017-05-19 06:02:20"
28
" +0000 (Fri, 19 May 2017) $</date>"
7156 jlepiller 29
msgstr ""
7280 jlepiller 30
"<othername>$LastChangedBy: dj $</othername> <date>$Date: 2017-05-19 06:02:20"
31
" +0000 (Fri, 19 May 2017) $</date>"
7156 jlepiller 32
 
33
#. type: Content of: <sect1><title>
34
#: blfs-en/postlfs/config/profile.xml:16
35
msgid "The Bash Shell Startup Files"
36
msgstr "Les fichiers de démarrage du shell Bash"
37
 
38
#. type: Content of: <sect1><para>
39
#: blfs-en/postlfs/config/profile.xml:18
40
msgid ""
41
"The shell program <filename>/bin/bash</filename> (hereafter referred to as "
42
"just \"the shell\") uses a collection of startup files to help create an "
43
"environment.  Each file has a specific use and may affect login and "
7165 jlepiller 44
"interactive environments differently.  The files in the <filename "
45
"class=\"directory\">/etc</filename> directory generally provide global "
46
"settings. If an equivalent file exists in your home directory it may "
47
"override the global settings."
7156 jlepiller 48
msgstr ""
49
"Le programme de shell <filename>/bin/bash</filename> (auquel on se référera "
7267 jlepiller 50
"ci-après sous le nom de «&nbsp;shell&nbsp;» utilise un ensemble de fichiers "
51
"de démarrage pour aider à la création d'un environnement. Chaque fichier a "
7280 jlepiller 52
"une utilisation spécifique et il peut concerner différemment la connexion et"
53
" les environnements interactifs. Les fichiers du répertoire <filename "
54
"class=\"directory\">/etc</filename> fournissent en général les paramètres "
55
"globaux. Si un fichier équivalent existe dans votre répertoire home, il peut"
56
" remplacer les paramètres globaux."
7156 jlepiller 57
 
58
#. type: Content of: <sect1><para>
59
#: blfs-en/postlfs/config/profile.xml:26
60
msgid ""
61
"An interactive login shell is started after a successful login, using "
7165 jlepiller 62
"<filename>/bin/login</filename>, by reading the "
7244 jlepiller 63
"<filename>/etc/passwd</filename> file. This shell invocation normally reads "
64
"<filename>/etc/profile</filename> and its private equivalent "
65
"<filename>~/.bash_profile</filename> (or <filename>~/.profile</filename> if "
66
"called as <command>/bin/sh</command>) upon startup."
7156 jlepiller 67
msgstr ""
68
"Un shell de connexion interactif démarre après une connexion réussie, en "
7165 jlepiller 69
"utilisant <filename>/bin/login</filename>, en lisant le fichier "
70
"<filename>/etc/passwd</filename>. Cet appel du shell lit normalement "
71
"<filename>/etc/profile</filename> et son équivalent privé "
7244 jlepiller 72
"<filename>~/.bash_profile</filename> (ou <filename>~/.profile</filename> "
73
"s'il est appelé par <command>/bin/sh</command>) au démarrage."
7156 jlepiller 74
 
75
#. type: Content of: <sect1><para>
7244 jlepiller 76
#: blfs-en/postlfs/config/profile.xml:33
7156 jlepiller 77
msgid ""
7165 jlepiller 78
"An interactive non-login shell is normally started at the command-line using"
79
" a shell program (e.g., "
80
"<prompt>[prompt]$</prompt><command>/bin/bash</command>) or by the "
81
"<command>/bin/su</command> command.  An interactive non-login shell is also "
82
"started with a terminal program such as <command>xterm</command> or "
83
"<command>konsole</command> from within a graphical environment. This type of"
84
" shell invocation normally copies the parent environment and then reads the "
85
"user's <filename>~/.bashrc</filename> file for additional startup "
86
"configuration instructions."
7156 jlepiller 87
msgstr ""
88
"Un shell de non-connexion interactif démarre normalement en ligne de "
7165 jlepiller 89
"commande en utilisant un programme de shell (comme "
90
"<prompt>[prompt]$</prompt><command>/bin/bash</command>) ou par la commande "
91
"<command>/bin/su</command>. Un shell de non-connexion interactif démarre "
92
"également avec un programme de terminal tel que <command>xterm</command> ou "
93
"<command>konsole</command> depuis un environnement graphique. Ce type "
94
"d'appel de shell copie normalement l'environnement parent puis lit le "
95
"fichier <filename>~/.bashrc</filename> de l'utilisateur pour des "
96
"instructions de configuration de démarrage supplémentaires."
7156 jlepiller 97
 
98
#. type: Content of: <sect1><para>
7244 jlepiller 99
#: blfs-en/postlfs/config/profile.xml:43
7156 jlepiller 100
msgid ""
101
"A non-interactive shell is usually present when a shell script is running.  "
102
"It is non-interactive because it is processing a script and not waiting for "
103
"user input between commands. For these shell invocations, only the "
104
"environment inherited from the parent shell is used."
105
msgstr ""
106
"Un shell non interactif est présent en général lorsqu'un script shell "
107
"s'exécute. Il n'est pas interactif car il exécute un script et n'attend pas "
108
"d'entrée de l'utilisateur entre les commandes. Pour ces appels de shell, "
109
"seul l'environnement hérité du shell parent est utilisé."
110
 
111
#. type: Content of: <sect1><para>
7244 jlepiller 112
#: blfs-en/postlfs/config/profile.xml:48
7156 jlepiller 113
msgid ""
114
"The file <filename>~/.bash_logout</filename> is not used for an invocation "
7165 jlepiller 115
"of the shell.  It is read and executed when a user exits from an interactive"
116
" login shell."
7156 jlepiller 117
msgstr ""
118
"Le fichier <filename>~/.bash_logout</filename> n'est pas utilisé pour un "
119
"appel du shell. Il est lu et exécuté lorsqu'un utilisateur quitte un shell "
120
"de connexion interactif."
121
 
122
#. type: Content of: <sect1><para>
7244 jlepiller 123
#: blfs-en/postlfs/config/profile.xml:52
7156 jlepiller 124
msgid ""
125
"Many distributions use <filename>/etc/bashrc</filename> for system wide "
126
"initialization of non-login shells. This file is usually called from the "
127
"user's <filename>~/.bashrc</filename> file and is not built directly into "
7165 jlepiller 128
"<command>bash</command> itself.  This convention is followed in this "
129
"section."
7156 jlepiller 130
msgstr ""
131
"De nombreuses distributions utilisent <filename>/etc/bashrc</filename> pour "
7165 jlepiller 132
"l'initialisation pour tout le système de shells de non-connexion. Ce fichier"
133
" est en général appelé depuis le fichier <filename>~/.bashrc</filename> de "
134
"l'utilisateur et il n'est pas construit directement dans "
135
"<command>bash</command> lui-même. On suit cette convention dans cette "
136
"section."
7156 jlepiller 137
 
138
#. type: Content of: <sect1><para>
7244 jlepiller 139
#: blfs-en/postlfs/config/profile.xml:58
7156 jlepiller 140
msgid ""
7165 jlepiller 141
"For more information see <command>info bash</command> -- <emphasis "
142
"role=\"strong\">Nodes: Bash Startup Files and Interactive Shells</emphasis>."
7156 jlepiller 143
msgstr ""
144
"Pour plus d'informations, voir <command>info bash</command> -- <emphasis "
145
"role=\"strong\">Nodes: Bash Startup Files et Interactive Shells</emphasis>."
146
 
147
#. type: Content of: <sect1><note><para>
7244 jlepiller 148
#: blfs-en/postlfs/config/profile.xml:63
7156 jlepiller 149
msgid ""
150
"Most of the instructions below are used to create files located in the "
151
"<filename class='directory'>/etc</filename> directory structure which "
152
"requires you to execute the commands as the <systemitem "
7165 jlepiller 153
"class='username'>root</systemitem> user. If you elect to create the files in"
154
" user's home directories instead, you should run the commands as an "
7156 jlepiller 155
"unprivileged user."
156
msgstr ""
157
"La plupart des instructions ci-dessous sont utilisées pour créer des "
158
"fichiers qui se trouvent dans la structure de répertoires <filename "
159
"class='directory'>/etc</filename>, ce qui implique que vous exécutiez les "
7165 jlepiller 160
"commandes en tant qu'utilisateur <systemitem "
161
"class='username'>root</systemitem>. Si vous optez plutôt pour la création "
162
"des fichiers dans le répertoire home de l'utilisateur, vous devriez lancer "
163
"les commandes en tant qu'utilisateur non privilégié."
7156 jlepiller 164
 
165
#. type: Content of: <sect1><sect2><indexterm><primary>
7244 jlepiller 166
#: blfs-en/postlfs/config/profile.xml:72 blfs-en/postlfs/config/profile.xml:75
7156 jlepiller 167
msgid "/etc/profile"
168
msgstr "/etc/profile"
169
 
170
#. type: Content of: <sect1><sect2><para>
7244 jlepiller 171
#: blfs-en/postlfs/config/profile.xml:78
7156 jlepiller 172
msgid ""
173
"Here is a base <filename>/etc/profile</filename>. This file starts by "
174
"setting up some helper functions and some basic parameters.  It specifies "
175
"some <command>bash</command> history parameters and, for security purposes, "
7165 jlepiller 176
"disables keeping a permanent history file for the <systemitem "
177
"class=\"username\">root</systemitem> user.  It also sets a default user "
178
"prompt.  It then calls small, single purpose scripts in the <filename "
179
"class='directory'>/etc/profile.d</filename> directory to provide most of the"
180
" initialization."
7156 jlepiller 181
msgstr ""
182
"Voici un <filename>/etc/profile</filename> de base. Ce fichier démarre en "
183
"paramétrant des fonctions d'aide et quelques paramètres de base.  Il "
7165 jlepiller 184
"spécifie des paramètres d'historique de <command>bash</command> et, pour des"
185
" raisons de sécurité, il désactive la conservation d'un fichier d'historique"
186
" permanent pour l'utilisateur <systemitem "
187
"class=\"username\">root</systemitem>.  Il paramètre aussi une invite "
188
"utilisateur par défaut. Il appelle ensuite de petits scripts à finalité "
189
"unique dans le répertoire <filename "
190
"class='directory'>/etc/profile.d</filename> pour fournir la plupart de "
191
"l'initialisation."
7156 jlepiller 192
 
193
#. type: Content of: <sect1><sect2><para>
7244 jlepiller 194
#: blfs-en/postlfs/config/profile.xml:87
7156 jlepiller 195
msgid ""
7165 jlepiller 196
"For more information on the escape sequences you can use for your prompt "
197
"(i.e., the <envar>PS1</envar> environment variable) see <command>info "
198
"bash</command> -- <emphasis role=\"strong\">Node: Printing a "
199
"Prompt</emphasis>."
7156 jlepiller 200
msgstr ""
201
"Pour plus d'informations sur les séquences d'échappement que vous pouvez "
7165 jlepiller 202
"utiliser pour votre invite (à savoir la variable d'environnement "
203
"<envar>PS1</envar>) voir <command>info bash</command> -- <emphasis "
204
"role=\"strong\">Node: Printing a Prompt</emphasis>."
7156 jlepiller 205
 
206
#. type: Content of: <sect1><sect2><screen>
7244 jlepiller 207
#: blfs-en/postlfs/config/profile.xml:92
7156 jlepiller 208
#, no-wrap
209
msgid ""
210
"<userinput>cat &gt; /etc/profile &lt;&lt; \"EOF\"\n"
211
"<literal># Begin /etc/profile\n"
212
"# Written for Beyond Linux From Scratch\n"
213
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
214
"# modifications by Dagmar d'Surreal &lt;rivyqntzne@pbzpnfg.arg&gt;\n"
215
"\n"
216
"# System wide environment variables and startup programs.\n"
217
"\n"
218
"# System wide aliases and functions should go in /etc/bashrc.  Personal\n"
219
"# environment variables and startup programs should go into\n"
220
"# ~/.bash_profile.  Personal aliases and functions should go into\n"
221
"# ~/.bashrc.\n"
222
"\n"
223
"# Functions to help us manage paths.  Second argument is the name of the\n"
224
"# path variable to be modified (default: PATH)\n"
225
"pathremove () {\n"
226
"        local IFS=':'\n"
227
"        local NEWPATH\n"
228
"        local DIR\n"
229
"        local PATHVARIABLE=${2:-PATH}\n"
230
"        for DIR in ${!PATHVARIABLE} ; do\n"
231
"                if [ \"$DIR\" != \"$1\" ] ; then\n"
232
"                  NEWPATH=${NEWPATH:+$NEWPATH:}$DIR\n"
233
"                fi\n"
234
"        done\n"
235
"        export $PATHVARIABLE=\"$NEWPATH\"\n"
236
"}\n"
237
"\n"
238
"pathprepend () {\n"
239
"        pathremove $1 $2\n"
240
"        local PATHVARIABLE=${2:-PATH}\n"
241
"        export $PATHVARIABLE=\"$1${!PATHVARIABLE:+:${!PATHVARIABLE}}\"\n"
242
"}\n"
243
"\n"
244
"pathappend () {\n"
245
"        pathremove $1 $2\n"
246
"        local PATHVARIABLE=${2:-PATH}\n"
247
"        export $PATHVARIABLE=\"${!PATHVARIABLE:+${!PATHVARIABLE}:}$1\"\n"
248
"}\n"
249
"\n"
250
"export -f pathremove pathprepend pathappend\n"
251
"\n"
252
"# Set the initial path\n"
253
"export PATH=/bin:/usr/bin\n"
254
"\n"
255
"if [ $EUID -eq 0 ] ; then\n"
256
"        pathappend /sbin:/usr/sbin\n"
257
"        unset HISTFILE\n"
258
"fi\n"
259
"\n"
260
"# Setup some environment variables.\n"
261
"export HISTSIZE=1000\n"
262
"export HISTIGNORE=\"&amp;:[bf]g:exit\"\n"
263
"\n"
264
"# Set some defaults for graphical systems\n"
265
"export XDG_DATA_DIRS=/usr/share/\n"
266
"export XDG_CONFIG_DIRS=/etc/xdg/\n"
267
"\n"
268
"# Setup a red prompt for root and a green one for users.\n"
269
"NORMAL=\"\\[\\e[0m\\]\"\n"
270
"RED=\"\\[\\e[1;31m\\]\"\n"
271
"GREEN=\"\\[\\e[1;32m\\]\"\n"
272
"if [[ $EUID == 0 ]] ; then\n"
273
"  PS1=\"$RED\\u [ $NORMAL\\w$RED ]# $NORMAL\"\n"
274
"else\n"
275
"  PS1=\"$GREEN\\u [ $NORMAL\\w$GREEN ]\\$ $NORMAL\"\n"
276
"fi\n"
277
"\n"
278
"for script in /etc/profile.d/*.sh ; do\n"
279
"        if [ -r $script ] ; then\n"
280
"                . $script\n"
281
"        fi\n"
282
"done\n"
283
"\n"
284
"unset script RED GREEN NORMAL\n"
285
"\n"
286
"# End /etc/profile</literal>\n"
287
"EOF</userinput>"
288
msgstr ""
289
"<userinput>cat &gt; /etc/profile &lt;&lt; \"EOF\"\n"
290
"<literal># Begin /etc/profile\n"
291
"# Written for Beyond Linux From Scratch\n"
292
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
293
"# modifications by Dagmar d'Surreal &lt;rivyqntzne@pbzpnfg.arg&gt;\n"
294
"\n"
295
"# System wide environment variables and startup programs.\n"
296
"\n"
297
"# System wide aliases and functions should go in /etc/bashrc.  Personal\n"
298
"# environment variables and startup programs should go into\n"
299
"# ~/.bash_profile.  Personal aliases and functions should go into\n"
300
"# ~/.bashrc.\n"
301
"\n"
302
"# Functions to help us manage paths.  Second argument is the name of the\n"
303
"# path variable to be modified (default: PATH)\n"
304
"pathremove () {\n"
305
"        local IFS=':'\n"
306
"        local NEWPATH\n"
307
"        local DIR\n"
308
"        local PATHVARIABLE=${2:-PATH}\n"
309
"        for DIR in ${!PATHVARIABLE} ; do\n"
310
"                if [ \"$DIR\" != \"$1\" ] ; then\n"
311
"                  NEWPATH=${NEWPATH:+$NEWPATH:}$DIR\n"
312
"                fi\n"
313
"        done\n"
314
"        export $PATHVARIABLE=\"$NEWPATH\"\n"
315
"}\n"
316
"\n"
317
"pathprepend () {\n"
318
"        pathremove $1 $2\n"
319
"        local PATHVARIABLE=${2:-PATH}\n"
320
"        export $PATHVARIABLE=\"$1${!PATHVARIABLE:+:${!PATHVARIABLE}}\"\n"
321
"}\n"
322
"\n"
323
"pathappend () {\n"
324
"        pathremove $1 $2\n"
325
"        local PATHVARIABLE=${2:-PATH}\n"
326
"        export $PATHVARIABLE=\"${!PATHVARIABLE:+${!PATHVARIABLE}:}$1\"\n"
327
"}\n"
328
"\n"
329
"export -f pathremove pathprepend pathappend\n"
330
"\n"
331
"# Set the initial path\n"
332
"export PATH=/bin:/usr/bin\n"
333
"\n"
334
"if [ $EUID -eq 0 ] ; then\n"
335
"        pathappend /sbin:/usr/sbin\n"
336
"        unset HISTFILE\n"
337
"fi\n"
338
"\n"
339
"# Setup some environment variables.\n"
340
"export HISTSIZE=1000\n"
341
"export HISTIGNORE=\"&amp;:[bf]g:exit\"\n"
342
"\n"
343
"# Set some defaults for graphical systems\n"
344
"export XDG_DATA_DIRS=/usr/share/\n"
345
"export XDG_CONFIG_DIRS=/etc/xdg/\n"
346
"\n"
347
"# Setup a red prompt for root and a green one for users.\n"
348
"NORMAL=\"\\[\\e[0m\\]\"\n"
349
"RED=\"\\[\\e[1;31m\\]\"\n"
350
"GREEN=\"\\[\\e[1;32m\\]\"\n"
351
"if [[ $EUID == 0 ]] ; then\n"
352
"  PS1=\"$RED\\u [ $NORMAL\\w$RED ]# $NORMAL\"\n"
353
"else\n"
354
"  PS1=\"$GREEN\\u [ $NORMAL\\w$GREEN ]\\$ $NORMAL\"\n"
355
"fi\n"
356
"\n"
357
"for script in /etc/profile.d/*.sh ; do\n"
358
"        if [ -r $script ] ; then\n"
359
"                . $script\n"
360
"        fi\n"
361
"done\n"
362
"\n"
363
"unset script RED GREEN NORMAL\n"
364
"\n"
365
"# End /etc/profile</literal>\n"
366
"EOF</userinput>"
367
 
368
#. type: Content of: <sect1><sect2><sect3><title>
7244 jlepiller 369
#: blfs-en/postlfs/config/profile.xml:172
7156 jlepiller 370
msgid "The /etc/profile.d Directory"
371
msgstr "Le répertoire /etc/profile.d"
372
 
373
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7244 jlepiller 374
#: blfs-en/postlfs/config/profile.xml:175
7156 jlepiller 375
msgid "/etc/profile.d"
376
msgstr "/etc/profile.d"
377
 
378
#. type: Content of: <sect1><sect2><sect3><para>
7244 jlepiller 379
#: blfs-en/postlfs/config/profile.xml:178
7156 jlepiller 380
msgid ""
381
"Now create the <filename class='directory'>/etc/profile.d</filename> "
382
"directory, where the individual initialization scripts are placed:"
383
msgstr ""
7165 jlepiller 384
"Maintenant créez le répertoire <filename "
385
"class='directory'>/etc/profile.d</filename>, où sont mis les scripts "
386
"d'initialisation individuels&nbsp;:"
7156 jlepiller 387
 
388
#. type: Content of: <sect1><sect2><sect3><screen>
7244 jlepiller 389
#: blfs-en/postlfs/config/profile.xml:181
7156 jlepiller 390
#, no-wrap
7165 jlepiller 391
msgid ""
392
"<userinput>install --directory --mode=0755 --owner=root --group=root "
393
"/etc/profile.d</userinput>"
394
msgstr ""
395
"<userinput>install --directory --mode=0755 --owner=root --group=root "
396
"/etc/profile.d</userinput>"
7156 jlepiller 397
 
398
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7244 jlepiller 399
#: blfs-en/postlfs/config/profile.xml:186
400
#: blfs-en/postlfs/config/profile.xml:189
7280 jlepiller 401
msgid "/etc/profile.d/bash_completion.sh"
402
msgstr "/etc/profile.d/bash_completion.sh"
403
 
404
#. type: Content of: <sect1><sect2><sect3><para>
405
#: blfs-en/postlfs/config/profile.xml:192
406
msgid ""
407
"This script imports bash completion scripts, installed by many other BLFS "
408
"packages, to allow TAB command line completion."
409
msgstr ""
410
"Ce script importe les scripts de complétion bash, installé par beaucoup "
411
"d'autres paquets BLFS pour permettre la complétion de la ligne de commande "
412
"avec TAB."
413
 
414
#. type: Content of: <sect1><sect2><sect3><screen>
415
#: blfs-en/postlfs/config/profile.xml:195
416
#, no-wrap
417
msgid ""
418
"<userinput>cat &gt; /etc/profile.d/bash_completion.sh &lt;&lt; \"EOF\"\n"
419
"<literal># Begin /etc/profile.d/bash_completion.sh\n"
420
"# Import bash completion scripts\n"
421
"\n"
422
"for script in /etc/bash_completion.d/*.sh ; do\n"
423
"        if [ -r $script ] ; then\n"
424
"                . $script\n"
425
"        fi\n"
426
"done\n"
427
"# End /etc/profile.d/bash_completion.sh</literal>\n"
428
"EOF</userinput>"
429
msgstr ""
430
"<userinput>cat &gt; /etc/profile.d/bash_completion.sh &lt;&lt; \"EOF\"\n"
431
"<literal># Begin /etc/profile.d/bash_completion.sh\n"
432
"# Import bash completion scripts\n"
433
"\n"
434
"for script in /etc/bash_completion.d/*.sh ; do\n"
435
"        if [ -r $script ] ; then\n"
436
"                . $script\n"
437
"        fi\n"
438
"done\n"
439
"# End /etc/profile.d/bash_completion.sh</literal>\n"
440
"EOF</userinput>"
441
 
442
#. type: Content of: <sect1><sect2><sect3><para>
443
#: blfs-en/postlfs/config/profile.xml:207
444
msgid "Make sure that the directory exists:"
445
msgstr "Assurez-vous que le répertoire existe&nbsp;:"
446
 
447
#. type: Content of: <sect1><sect2><sect3><screen>
448
#: blfs-en/postlfs/config/profile.xml:209
449
#, no-wrap
450
msgid ""
451
"<userinput>install --directory --mode=0755 --owner=root --group=root "
452
"/etc/bash_completion.d</userinput>"
453
msgstr ""
454
"<userinput>install --directory --mode=0755 --owner=root --group=root "
455
"/etc/bash_completion.d</userinput>"
456
 
457
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
458
#: blfs-en/postlfs/config/profile.xml:216
459
#: blfs-en/postlfs/config/profile.xml:219
7156 jlepiller 460
msgid "/etc/profile.d/dircolors.sh"
461
msgstr "/etc/profile.d/dircolors.sh"
462
 
463
#. type: Content of: <sect1><sect2><sect3><para>
7280 jlepiller 464
#: blfs-en/postlfs/config/profile.xml:222
7156 jlepiller 465
msgid ""
7165 jlepiller 466
"This script uses the <filename>~/.dircolors</filename> and "
467
"<filename>/etc/dircolors</filename> files to control the colors of file "
468
"names in a directory listing. They control colorized output of things like "
469
"<command>ls --color</command>.  The explanation of how to initialize these "
470
"files is at the end of this section."
7156 jlepiller 471
msgstr ""
472
"Ce script utilise les fichiers <filename>~/.dircolors</filename> et "
473
"<filename>/etc/dircolors</filename> pour contrôler les couleurs des noms de "
474
"fichiers dans la liste du contenu d'un répertoire. Ils contrôlent la sortie "
475
"en couleurs de commandes telles que <command>ls --color</command>.  "
7165 jlepiller 476
"L'explication de la façon d'initialiser ces fichiers se trouvent à la fin de"
477
" cette section."
7156 jlepiller 478
 
479
#. type: Content of: <sect1><sect2><sect3><screen>
7280 jlepiller 480
#: blfs-en/postlfs/config/profile.xml:228
7156 jlepiller 481
#, no-wrap
482
msgid ""
483
"<userinput>cat &gt; /etc/profile.d/dircolors.sh &lt;&lt; \"EOF\"\n"
484
"<literal># Setup for /bin/ls and /bin/grep to support color, the alias is in /etc/bashrc.\n"
485
"if [ -f \"/etc/dircolors\" ] ; then\n"
486
"        eval $(dircolors -b /etc/dircolors)\n"
487
"fi\n"
488
"\n"
489
"if [ -f \"$HOME/.dircolors\" ] ; then\n"
490
"        eval $(dircolors -b $HOME/.dircolors)\n"
491
"fi\n"
492
"\n"
493
"alias ls='ls --color=auto'\n"
494
"alias grep='grep --color=auto'</literal>\n"
495
"EOF</userinput>"
496
msgstr ""
497
"<userinput>cat &gt; /etc/profile.d/dircolors.sh &lt;&lt; \"EOF\"\n"
498
"<literal># Setup for /bin/ls and /bin/grep to support color, the alias is in /etc/bashrc.\n"
499
"if [ -f \"/etc/dircolors\" ] ; then\n"
500
"        eval $(dircolors -b /etc/dircolors)\n"
501
"fi\n"
502
"\n"
503
"if [ -f \"$HOME/.dircolors\" ] ; then\n"
504
"        eval $(dircolors -b $HOME/.dircolors)\n"
505
"fi\n"
506
"\n"
507
"alias ls='ls --color=auto'\n"
508
"alias grep='grep --color=auto'</literal>\n"
509
"EOF</userinput>"
510
 
511
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7280 jlepiller 512
#: blfs-en/postlfs/config/profile.xml:245
513
#: blfs-en/postlfs/config/profile.xml:248
7156 jlepiller 514
msgid "/etc/profile.d/extrapaths.sh"
515
msgstr "/etc/profile.d/extrapaths.sh"
516
 
517
#. type: Content of: <sect1><sect2><sect3><para>
7280 jlepiller 518
#: blfs-en/postlfs/config/profile.xml:251
7156 jlepiller 519
msgid ""
520
"This script adds some useful paths to the <envar>PATH</envar> and can be "
521
"used to customize other PATH related environment variables (e.g. "
522
"LD_LIBRARY_PATH, etc) that may be needed for all users."
523
msgstr ""
524
"Ce script ajoute plusieurs chemins utiles aux variables d'environnement "
525
"<envar>PATH</envar> et peut être utilisé pour personnaliser les autres "
526
"variables d'environnement relatives à PATH (par exemple LD_LIBRARY_PATH, "
527
"etc) qui peuvent être utiles pour tous les utilisateurs."
528
 
529
#. type: Content of: <sect1><sect2><sect3><screen>
7280 jlepiller 530
#: blfs-en/postlfs/config/profile.xml:255
7156 jlepiller 531
#, no-wrap
532
msgid ""
533
"<userinput>cat &gt; /etc/profile.d/extrapaths.sh &lt;&lt; \"EOF\"\n"
534
"<literal>if [ -d /usr/local/lib/pkgconfig ] ; then\n"
535
"        pathappend /usr/local/lib/pkgconfig PKG_CONFIG_PATH\n"
536
"fi\n"
537
"if [ -d /usr/local/bin ]; then\n"
538
"        pathprepend /usr/local/bin\n"
539
"fi\n"
540
"if [ -d /usr/local/sbin -a $EUID -eq 0 ]; then\n"
541
"        pathprepend /usr/local/sbin\n"
542
"fi\n"
543
"\n"
544
"# Set some defaults before other applications add to these paths.\n"
545
"pathappend /usr/share/man  MANPATH\n"
546
"pathappend /usr/share/info INFOPATH</literal>\n"
547
"EOF</userinput>"
548
msgstr ""
549
"<userinput>cat &gt; /etc/profile.d/extrapaths.sh &lt;&lt; \"EOF\"\n"
550
"<literal>if [ -d /usr/local/lib/pkgconfig ] ; then\n"
551
"        pathappend /usr/local/lib/pkgconfig PKG_CONFIG_PATH\n"
552
"fi\n"
553
"if [ -d /usr/local/bin ]; then\n"
554
"        pathprepend /usr/local/bin\n"
555
"fi\n"
556
"if [ -d /usr/local/sbin -a $EUID -eq 0 ]; then\n"
557
"        pathprepend /usr/local/sbin\n"
558
"fi\n"
559
"\n"
560
"# Set some defaults before other applications add to these paths.\n"
561
"pathappend /usr/share/man  MANPATH\n"
562
"pathappend /usr/share/info INFOPATH</literal>\n"
563
"EOF</userinput>"
564
 
565
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7280 jlepiller 566
#: blfs-en/postlfs/config/profile.xml:274
567
#: blfs-en/postlfs/config/profile.xml:277
7156 jlepiller 568
msgid "/etc/profile.d/readline.sh"
569
msgstr "/etc/profile.d/readline.sh"
570
 
571
#. type: Content of: <sect1><sect2><sect3><para>
7280 jlepiller 572
#: blfs-en/postlfs/config/profile.xml:280
7156 jlepiller 573
msgid ""
574
"This script sets up the default <filename>inputrc</filename> configuration "
7165 jlepiller 575
"file. If the user does not have individual settings, it uses the global "
576
"file."
7156 jlepiller 577
msgstr ""
7165 jlepiller 578
"Ce script règle le fichier de configuration <filename>inputrc</filename> par"
579
" défaut. Si l'utilisateur n'a pas de paramètres individuels, il utilise le "
7156 jlepiller 580
"fichier global."
581
 
582
#. type: Content of: <sect1><sect2><sect3><screen>
7280 jlepiller 583
#: blfs-en/postlfs/config/profile.xml:284
7156 jlepiller 584
#, no-wrap
585
msgid ""
586
"<userinput>cat &gt; /etc/profile.d/readline.sh &lt;&lt; \"EOF\"\n"
587
"<literal># Setup the INPUTRC environment variable.\n"
588
"if [ -z \"$INPUTRC\" -a ! -f \"$HOME/.inputrc\" ] ; then\n"
589
"        INPUTRC=/etc/inputrc\n"
590
"fi\n"
591
"export INPUTRC</literal>\n"
592
"EOF</userinput>"
593
msgstr ""
594
"<userinput>cat &gt; /etc/profile.d/readline.sh &lt;&lt; \"EOF\"\n"
595
"<literal># Setup the INPUTRC environment variable.\n"
596
"if [ -z \"$INPUTRC\" -a ! -f \"$HOME/.inputrc\" ] ; then\n"
597
"        INPUTRC=/etc/inputrc\n"
598
"fi\n"
599
"export INPUTRC</literal>\n"
600
"EOF</userinput>"
601
 
602
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7280 jlepiller 603
#: blfs-en/postlfs/config/profile.xml:295
604
#: blfs-en/postlfs/config/profile.xml:298
7156 jlepiller 605
msgid "/etc/profile.d/umask.sh"
606
msgstr "/etc/profile.d/umask.sh"
607
 
608
#. type: Content of: <sect1><sect2><sect3><para>
7280 jlepiller 609
#: blfs-en/postlfs/config/profile.xml:301
7156 jlepiller 610
msgid ""
611
"Setting the <command>umask</command> value is important for security.  Here "
7165 jlepiller 612
"the default group write permissions are turned off for system users and when"
613
" the user name and group name are not the same."
7156 jlepiller 614
msgstr ""
615
"Le paramétrage de la valeur <command>umask</command> est important pour la "
616
"sécurité. Ici, les droits d'écriture par défaut du groupe sont désactivés "
617
"pour les utilisateurs systèmes et quand le nom d'utilisateur et le nom du "
618
"groupe ne sont pas les mêmes."
619
 
620
#. type: Content of: <sect1><sect2><sect3><screen>
7280 jlepiller 621
#: blfs-en/postlfs/config/profile.xml:305
7156 jlepiller 622
#, no-wrap
623
msgid ""
624
"<userinput>cat &gt; /etc/profile.d/umask.sh &lt;&lt; \"EOF\"\n"
625
"<literal># By default, the umask should be set.\n"
626
"if [ \"$(id -gn)\" = \"$(id -un)\" -a $EUID -gt 99 ] ; then\n"
627
"  umask 002\n"
628
"else\n"
629
"  umask 022\n"
630
"fi</literal>\n"
631
"EOF</userinput>"
632
msgstr ""
633
"<userinput>cat &gt; /etc/profile.d/umask.sh &lt;&lt; \"EOF\"\n"
634
"<literal># By default, the umask should be set.\n"
635
"if [ \"$(id -gn)\" = \"$(id -un)\" -a $EUID -gt 99 ] ; then\n"
636
"  umask 002\n"
637
"else\n"
638
"  umask 022\n"
639
"fi</literal>\n"
640
"EOF</userinput>"
641
 
642
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7280 jlepiller 643
#: blfs-en/postlfs/config/profile.xml:340
644
#: blfs-en/postlfs/config/profile.xml:343
7156 jlepiller 645
msgid "/etc/profile.d/i18n.sh"
646
msgstr "/etc/profile.d/i18n.sh"
647
 
648
#. type: Content of: <sect1><sect2><sect3><para>
7280 jlepiller 649
#: blfs-en/postlfs/config/profile.xml:346
7156 jlepiller 650
msgid ""
651
"This script sets an environment variable necessary for native language "
652
"support. A full discussion on determining this variable can be found on the "
653
"<ulink url=\"&lfs-root;/chapter07/profile.html\">LFS Bash Shell Startup "
654
"Files</ulink> page."
655
msgstr ""
656
"Ce script règle une variable d'environnement nécessaire au support des "
657
"langues natives. Vous pouvez trouver un point complet sur la détermination "
7165 jlepiller 658
"de cette variable sur la page <ulink url=\"&lfs-"
659
"root;/chapter07/profile.html\">Fichiers de démarrage du shell bash de "
660
"LFS</ulink>."
7156 jlepiller 661
 
662
#. type: Content of: <sect1><sect2><sect3><screen>
7280 jlepiller 663
#: blfs-en/postlfs/config/profile.xml:352
7156 jlepiller 664
#, no-wrap
665
msgid ""
666
"<userinput>cat &gt; /etc/profile.d/i18n.sh &lt;&lt; \"EOF\"\n"
667
"<literal># Set up i18n variables\n"
668
"export LANG=<replaceable>&lt;ll&gt;</replaceable>_<replaceable>&lt;CC&gt;</replaceable>.<replaceable>&lt;charmap&gt;</replaceable><replaceable>&lt;@modifiers&gt;</replaceable></literal>\n"
669
"EOF</userinput>"
670
msgstr ""
671
"<userinput>cat &gt; /etc/profile.d/i18n.sh &lt;&lt; \"EOF\"\n"
672
"<literal># Set up i18n variables\n"
673
"export LANG=<replaceable>&lt;ll&gt;</replaceable>_<replaceable>&lt;CC&gt;</replaceable>.<replaceable>&lt;charmap&gt;</replaceable><replaceable>&lt;@modifiers&gt;</replaceable></literal>\n"
674
"EOF</userinput>"
675
 
676
#. type: Content of: <sect1><sect2><sect3><title>
7280 jlepiller 677
#: blfs-en/postlfs/config/profile.xml:360
7156 jlepiller 678
msgid "Other Initialization Values"
679
msgstr "Autres valeurs d'Initialisation"
680
 
681
#. type: Content of: <sect1><sect2><sect3><para>
7280 jlepiller 682
#: blfs-en/postlfs/config/profile.xml:362
7156 jlepiller 683
msgid ""
7165 jlepiller 684
"Other initialization can easily be added to the <filename>profile</filename>"
685
" by adding additional scripts to the <filename "
686
"class='directory'>/etc/profile.d</filename> directory."
7156 jlepiller 687
msgstr ""
688
"On peut facilement ajouter d'autres réglages à <filename>profile</filename> "
689
"en ajoutant des scripts supplémentaires au répertoire <filename "
690
"class='directory'>/etc/profile.d</filename>."
691
 
692
#. type: Content of: <sect1><sect2><indexterm><primary>
7280 jlepiller 693
#: blfs-en/postlfs/config/profile.xml:371
694
#: blfs-en/postlfs/config/profile.xml:374
7156 jlepiller 695
msgid "/etc/bashrc"
696
msgstr "/etc/bashrc"
697
 
698
#. type: Content of: <sect1><sect2><para>
7280 jlepiller 699
#: blfs-en/postlfs/config/profile.xml:377
7156 jlepiller 700
msgid ""
701
"Here is a base <filename>/etc/bashrc</filename>.  Comments in the file "
702
"should explain everything you need."
703
msgstr ""
704
"Voici un <filename>/etc/bashrc</filename> de base. Les commentaires dans ce "
705
"fichier devraient vous expliquer tout ce dont vous avez besoin."
706
 
707
#. type: Content of: <sect1><sect2><screen>
7280 jlepiller 708
#: blfs-en/postlfs/config/profile.xml:380
7156 jlepiller 709
#, no-wrap
710
msgid ""
711
"<userinput>cat &gt; /etc/bashrc &lt;&lt; \"EOF\"\n"
712
"<literal># Begin /etc/bashrc\n"
713
"# Written for Beyond Linux From Scratch\n"
714
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
715
"# updated by Bruce Dubbs &lt;bdubbs@&lfs-domainname;&gt;\n"
716
"\n"
717
"# System wide aliases and functions.\n"
718
"\n"
719
"# System wide environment variables and startup programs should go into\n"
720
"# /etc/profile.  Personal environment variables and startup programs\n"
721
"# should go into ~/.bash_profile.  Personal aliases and functions should\n"
722
"# go into ~/.bashrc\n"
723
"\n"
724
"# Provides colored /bin/ls and /bin/grep commands.  Used in conjunction\n"
725
"# with code in /etc/profile.\n"
726
"\n"
727
"alias ls='ls --color=auto'\n"
728
"alias grep='grep --color=auto'\n"
729
"\n"
730
"# Provides prompt for non-login shells, specifically shells started\n"
731
"# in the X environment. [Review the LFS archive thread titled\n"
732
"# PS1 Environment Variable for a great case study behind this script\n"
733
"# addendum.]\n"
734
"\n"
735
"NORMAL=\"\\[\\e[0m\\]\"\n"
736
"RED=\"\\[\\e[1;31m\\]\"\n"
737
"GREEN=\"\\[\\e[1;32m\\]\"\n"
738
"if [[ $EUID == 0 ]] ; then\n"
739
"  PS1=\"$RED\\u [ $NORMAL\\w$RED ]# $NORMAL\"\n"
740
"else\n"
741
"  PS1=\"$GREEN\\u [ $NORMAL\\w$GREEN ]\\$ $NORMAL\"\n"
742
"fi\n"
743
"\n"
744
"unset RED GREEN NORMAL\n"
745
"\n"
746
"# End /etc/bashrc</literal>\n"
747
"EOF</userinput>"
748
msgstr ""
749
"<userinput>cat &gt; /etc/bashrc &lt;&lt; \"EOF\"\n"
750
"<literal># Begin /etc/bashrc\n"
751
"# Written for Beyond Linux From Scratch\n"
752
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
753
"# updated by Bruce Dubbs &lt;bdubbs@&lfs-domainname;&gt;\n"
754
"\n"
755
"# System wide aliases and functions.\n"
756
"\n"
757
"# System wide environment variables and startup programs should go into\n"
758
"# /etc/profile.  Personal environment variables and startup programs\n"
759
"# should go into ~/.bash_profile.  Personal aliases and functions should\n"
760
"# go into ~/.bashrc\n"
761
"\n"
762
"# Provides colored /bin/ls and /bin/grep commands.  Used in conjunction\n"
763
"# with code in /etc/profile.\n"
764
"\n"
765
"alias ls='ls --color=auto'\n"
766
"alias grep='grep --color=auto'\n"
767
"\n"
768
"# Provides prompt for non-login shells, specifically shells started\n"
769
"# in the X environment. [Review the LFS archive thread titled\n"
770
"# PS1 Environment Variable for a great case study behind this script\n"
771
"# addendum.]\n"
772
"\n"
773
"NORMAL=\"\\[\\e[0m\\]\"\n"
774
"RED=\"\\[\\e[1;31m\\]\"\n"
775
"GREEN=\"\\[\\e[1;32m\\]\"\n"
776
"if [[ $EUID == 0 ]] ; then\n"
777
"  PS1=\"$RED\\u [ $NORMAL\\w$RED ]# $NORMAL\"\n"
778
"else\n"
779
"  PS1=\"$GREEN\\u [ $NORMAL\\w$GREEN ]\\$ $NORMAL\"\n"
780
"fi\n"
781
"\n"
782
"unset RED GREEN NORMAL\n"
783
"\n"
784
"# End /etc/bashrc</literal>\n"
785
"EOF</userinput>"
786
 
787
#. type: Content of: <sect1><sect2><indexterm><primary>
7280 jlepiller 788
#: blfs-en/postlfs/config/profile.xml:421
789
#: blfs-en/postlfs/config/profile.xml:424
7156 jlepiller 790
msgid "~/.bash_profile"
791
msgstr "~/.bash_profile"
792
 
793
#. type: Content of: <sect1><sect2><para>
7280 jlepiller 794
#: blfs-en/postlfs/config/profile.xml:427
7156 jlepiller 795
msgid ""
796
"Here is a base <filename>~/.bash_profile</filename>.  If you want each new "
797
"user to have this file automatically, just change the output of the command "
798
"to <filename>/etc/skel/.bash_profile</filename> and check the permissions "
7165 jlepiller 799
"after the command is run. You can then copy "
800
"<filename>/etc/skel/.bash_profile</filename> to the home directories of "
801
"already existing users, including <systemitem "
802
"class=\"username\">root</systemitem>, and set the owner and group "
803
"appropriately."
7156 jlepiller 804
msgstr ""
805
"Voici un <filename>~/.bash_profile</filename> de base. Si vous voulez que "
7165 jlepiller 806
"chaque nouvel utilisateur ait automatiquement ce fichier, renvoyez seulement"
807
" la sortie de la commande vers <filename>/etc/skel/.bash_profile</filename> "
7156 jlepiller 808
"et vérifiez les droits après l'exécution de la commande. Vous pouvez alors "
809
"copier <filename>/etc/skel/.bash_profile</filename> dans les répertoires "
7165 jlepiller 810
"home des utilisateurs existants, y compris celui de <systemitem "
811
"class=\"username\">root</systemitem>, et réglez comme il faut le "
812
"propriétaire et le groupe d'appartenance."
7156 jlepiller 813
 
814
#. type: Content of: <sect1><sect2><screen>
7280 jlepiller 815
#: blfs-en/postlfs/config/profile.xml:435
7156 jlepiller 816
#, no-wrap
817
msgid ""
818
"<userinput>cat &gt; ~/.bash_profile &lt;&lt; \"EOF\"\n"
819
"<literal># Begin ~/.bash_profile\n"
820
"# Written for Beyond Linux From Scratch\n"
821
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
822
"# updated by Bruce Dubbs &lt;bdubbs@&lfs-domainname;&gt;\n"
823
"\n"
824
"# Personal environment variables and startup programs.\n"
825
"\n"
826
"# Personal aliases and functions should go in ~/.bashrc.  System wide\n"
827
"# environment variables and startup programs are in /etc/profile.\n"
828
"# System wide aliases and functions are in /etc/bashrc.\n"
829
"\n"
830
"if [ -f \"$HOME/.bashrc\" ] ; then\n"
831
"  source $HOME/.bashrc\n"
832
"fi\n"
833
"\n"
834
"if [ -d \"$HOME/bin\" ] ; then\n"
835
"  pathprepend $HOME/bin\n"
836
"fi\n"
837
"\n"
838
"# Having . in the PATH is dangerous\n"
839
"#if [ $EUID -gt 99 ]; then\n"
840
"#  pathappend .\n"
841
"#fi\n"
842
"\n"
843
"# End ~/.bash_profile</literal>\n"
844
"EOF</userinput>"
845
msgstr ""
846
"<userinput>cat &gt; ~/.bash_profile &lt;&lt; \"EOF\"\n"
847
"<literal># Begin ~/.bash_profile\n"
848
"# Written for Beyond Linux From Scratch\n"
849
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
850
"# updated by Bruce Dubbs &lt;bdubbs@&lfs-domainname;&gt;\n"
851
"\n"
852
"# Personal environment variables and startup programs.\n"
853
"\n"
854
"# Personal aliases and functions should go in ~/.bashrc.  System wide\n"
855
"# environment variables and startup programs are in /etc/profile.\n"
856
"# System wide aliases and functions are in /etc/bashrc.\n"
857
"\n"
858
"if [ -f \"$HOME/.bashrc\" ] ; then\n"
859
"  source $HOME/.bashrc\n"
860
"fi\n"
861
"\n"
862
"if [ -d \"$HOME/bin\" ] ; then\n"
863
"  pathprepend $HOME/bin\n"
864
"fi\n"
865
"\n"
866
"# Having . in the PATH is dangerous\n"
867
"#if [ $EUID -gt 99 ]; then\n"
868
"#  pathappend .\n"
869
"#fi\n"
870
"\n"
871
"# End ~/.bash_profile</literal>\n"
872
"EOF</userinput>"
873
 
874
#. type: Content of: <sect1><sect2><indexterm><primary>
7280 jlepiller 875
#: blfs-en/postlfs/config/profile.xml:466
876
#: blfs-en/postlfs/config/profile.xml:469
7244 jlepiller 877
msgid "~/.profile"
878
msgstr "~/.profile"
7156 jlepiller 879
 
880
#. type: Content of: <sect1><sect2><para>
7280 jlepiller 881
#: blfs-en/postlfs/config/profile.xml:472
7156 jlepiller 882
msgid ""
7244 jlepiller 883
"Here is a base <filename>~/.profile</filename>. The comments and "
7156 jlepiller 884
"instructions for using <filename class=\"directory\">/etc/skel</filename> "
885
"for <filename>.bash_profile</filename> above also apply here. Only the "
886
"target file names are different."
887
msgstr ""
7244 jlepiller 888
"Voici un <filename>~/.profile</filename> de base. Les commentaires et les "
7165 jlepiller 889
"instructions d'utilisation de <filename "
890
"class=\"directory\">/etc/skel</filename> pour "
7244 jlepiller 891
"<filename>.bash_profile</filename> ci-dessus s'appliquent aussi ici. Seuls "
7165 jlepiller 892
"les noms de fichiers cibles sont différents."
7156 jlepiller 893
 
894
#. type: Content of: <sect1><sect2><screen>
7280 jlepiller 895
#: blfs-en/postlfs/config/profile.xml:477
7156 jlepiller 896
#, no-wrap
897
msgid ""
7244 jlepiller 898
"<userinput>cat &gt; ~/.profile &lt;&lt; \"EOF\"\n"
899
"<literal># Begin ~/.profile\n"
900
"# Personal environment variables and startup programs.\n"
901
"\n"
902
"if [ -d \"$HOME/bin\" ] ; then\n"
903
"  pathprepend $HOME/bin\n"
904
"fi\n"
905
"\n"
906
"# End ~/.profile</literal>\n"
907
"EOF</userinput>"
908
msgstr ""
909
"<userinput>cat &gt; ~/.profile &lt;&lt; \"EOF\"\n"
910
"<literal># Begin ~/.profile\n"
911
"# Personal environment variables and startup programs.\n"
912
"\n"
913
"if [ -d \"$HOME/bin\" ] ; then\n"
914
"  pathprepend $HOME/bin\n"
915
"fi\n"
916
"\n"
917
"# End ~/.profile</literal>\n"
918
"EOF</userinput>"
919
 
920
#. type: Content of: <sect1><sect2><indexterm><primary>
7280 jlepiller 921
#: blfs-en/postlfs/config/profile.xml:491
922
#: blfs-en/postlfs/config/profile.xml:494
7244 jlepiller 923
msgid "~/.bashrc"
924
msgstr "~/.bashrc"
925
 
926
#. type: Content of: <sect1><sect2><para>
7280 jlepiller 927
#: blfs-en/postlfs/config/profile.xml:497
7244 jlepiller 928
msgid "Here is a base <filename>~/.bashrc</filename>."
929
msgstr "voici un fichier <filename>~/.bashrc</filename> de base."
930
 
931
#. type: Content of: <sect1><sect2><screen>
7280 jlepiller 932
#: blfs-en/postlfs/config/profile.xml:499
7244 jlepiller 933
#, no-wrap
934
msgid ""
7156 jlepiller 935
"<userinput>cat &gt; ~/.bashrc &lt;&lt; \"EOF\"\n"
936
"<literal># Begin ~/.bashrc\n"
937
"# Written for Beyond Linux From Scratch\n"
938
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
939
"\n"
940
"# Personal aliases and functions.\n"
941
"\n"
942
"# Personal environment variables and startup programs should go in\n"
943
"# ~/.bash_profile.  System wide environment variables and startup\n"
944
"# programs are in /etc/profile.  System wide aliases and functions are\n"
945
"# in /etc/bashrc.\n"
946
"\n"
947
"if [ -f \"/etc/bashrc\" ] ; then\n"
948
"  source /etc/bashrc\n"
949
"fi\n"
950
"\n"
951
"# End ~/.bashrc</literal>\n"
952
"EOF</userinput>"
953
msgstr ""
954
"<userinput>cat &gt; ~/.bashrc &lt;&lt; \"EOF\"\n"
955
"<literal># Begin ~/.bashrc\n"
956
"# Written for Beyond Linux From Scratch\n"
957
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
958
"\n"
959
"# Personal aliases and functions.\n"
960
"\n"
961
"# Personal environment variables and startup programs should go in\n"
962
"# ~/.bash_profile.  System wide environment variables and startup\n"
963
"# programs are in /etc/profile.  System wide aliases and functions are\n"
964
"# in /etc/bashrc.\n"
965
"\n"
966
"if [ -f \"/etc/bashrc\" ] ; then\n"
967
"  source /etc/bashrc\n"
968
"fi\n"
969
"\n"
970
"# End ~/.bashrc</literal>\n"
971
"EOF</userinput>"
972
 
973
#. type: Content of: <sect1><sect2><indexterm><primary>
7280 jlepiller 974
#: blfs-en/postlfs/config/profile.xml:522
975
#: blfs-en/postlfs/config/profile.xml:525
7156 jlepiller 976
msgid "~/.bash_logout"
977
msgstr "~/.bash_logout"
978
 
979
#. type: Content of: <sect1><sect2><para>
7280 jlepiller 980
#: blfs-en/postlfs/config/profile.xml:528
7156 jlepiller 981
msgid ""
982
"This is an empty <filename>~/.bash_logout</filename> that can be used as a "
7165 jlepiller 983
"template.  You will notice that the base <filename>~/.bash_logout</filename>"
984
" does not include a <userinput>clear</userinput> command.  This is because "
7156 jlepiller 985
"the clear is handled in the <filename>/etc/issue</filename> file."
986
msgstr ""
987
"C'est un <filename>~/.bash_logout</filename> vide qui peut être utilisé "
7165 jlepiller 988
"comme modèle. Vous remarquerez que le <filename>~/.bash_logout</filename> de"
989
" base n'inclut pas de commande <userinput>clear</userinput>. Ceci car le "
7156 jlepiller 990
"vidage se gère dans le fichier <filename>/etc/issue</filename>."
991
 
992
#. type: Content of: <sect1><sect2><screen>
7280 jlepiller 993
#: blfs-en/postlfs/config/profile.xml:533
7156 jlepiller 994
#, no-wrap
995
msgid ""
996
"<userinput>cat &gt; ~/.bash_logout &lt;&lt; \"EOF\"\n"
997
"<literal># Begin ~/.bash_logout\n"
998
"# Written for Beyond Linux From Scratch\n"
999
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
1000
"\n"
1001
"# Personal items to perform on logout.\n"
1002
"\n"
1003
"# End ~/.bash_logout</literal>\n"
1004
"EOF</userinput>"
1005
msgstr ""
1006
"<userinput>cat &gt; ~/.bash_logout &lt;&lt; \"EOF\"\n"
1007
"<literal># Begin ~/.bash_logout\n"
1008
"# Written for Beyond Linux From Scratch\n"
1009
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
1010
"\n"
1011
"# Personal items to perform on logout.\n"
1012
"\n"
1013
"# End ~/.bash_logout</literal>\n"
1014
"EOF</userinput>"
1015
 
1016
#. type: Content of: <sect1><sect2><indexterm><primary>
7280 jlepiller 1017
#: blfs-en/postlfs/config/profile.xml:547
1018
#: blfs-en/postlfs/config/profile.xml:550
7156 jlepiller 1019
msgid "/etc/dircolors"
1020
msgstr "/etc/dircolors"
1021
 
1022
#. type: Content of: <sect1><sect2><indexterm><primary>
7280 jlepiller 1023
#: blfs-en/postlfs/config/profile.xml:554
7156 jlepiller 1024
msgid "~/.dircolors"
1025
msgstr "~/.dircolors"
1026
 
1027
#. type: Content of: <sect1><sect2><para>
7280 jlepiller 1028
#: blfs-en/postlfs/config/profile.xml:557
7156 jlepiller 1029
msgid ""
1030
"If you want to use the <filename>dircolors</filename> capability, then run "
7165 jlepiller 1031
"the following command. The <filename "
1032
"class=\"directory\">/etc/skel</filename> setup steps shown above also can be"
1033
" used here to provide a <filename>~/.dircolors</filename> file when a new "
1034
"user is set up. As before, just change the output file name on the following"
1035
" command and assure the permissions, owner, and group are correct on the "
1036
"files created and/or copied."
7156 jlepiller 1037
msgstr ""
1038
"Si vous utilisez la possibilité <filename>dircolors</filename>, lancez la "
7165 jlepiller 1039
"commande suivante. Les étapes de paramétrage de <filename "
1040
"class=\"directory\">/etc/skel</filename> indiquées ci-dessus peuvent être "
1041
"utilisées ici pour avoir un fichier <filename>~/.dircolors</filename> lors "
1042
"du réglage d'un nouvel utilisateur. Comme tout à l'heure, changez simplement"
1043
" le nom du fichier de sorti dans la commande suivante et assurez-vous que "
7220 jlepiller 1044
"les droits, le propriétaire et le groupe conviennent aux fichiers créés ou "
1045
"copiés."
7156 jlepiller 1046
 
1047
#. type: Content of: <sect1><sect2><screen>
7280 jlepiller 1048
#: blfs-en/postlfs/config/profile.xml:565
7156 jlepiller 1049
#, no-wrap
1050
msgid "<userinput>dircolors -p > /etc/dircolors</userinput>"
1051
msgstr "<userinput>dircolors -p > /etc/dircolors</userinput>"
1052
 
1053
#. type: Content of: <sect1><sect2><para>
7280 jlepiller 1054
#: blfs-en/postlfs/config/profile.xml:567
7156 jlepiller 1055
msgid ""
1056
"If you wish to customize the colors used for different file types, you can "
7244 jlepiller 1057
"edit the <filename>/etc/dircolors</filename> file. The instructions for "
7156 jlepiller 1058
"setting the colors are embedded in the file."
1059
msgstr ""
7165 jlepiller 1060
"Si vous souhaitez personnaliser les couleurs utilisées pour différents types"
1061
" de fichiers, vous devez éditer le fichier "
7244 jlepiller 1062
"<filename>/etc/dircolors</filename>. Les instructions pour régler les "
7165 jlepiller 1063
"couleurs sont comprises dans le fichier."
7156 jlepiller 1064
 
1065
#. type: Content of: <sect1><sect2><para>
7280 jlepiller 1066
#: blfs-en/postlfs/config/profile.xml:572
7156 jlepiller 1067
msgid ""
1068
"Finally, Ian Macdonald has written an excellent collection of tips and "
1069
"tricks to enhance your shell environment.  You can read it online at <ulink "
1070
"url=\"http://www.caliban.org/bash/index.shtml\"/>."
1071
msgstr ""
1072
"Enfin, Ian Macdonald a écrit un ensemble excellent de modèles et de "
1073
"bidouillages pour améliorer votre environnement de shell. Vous pouvez le "
1074
"lire en ligne sur <ulink url=\"http://www.caliban.org/bash/index.shtml\"/>."