Subversion Repositories svn LFS-FR

Rev

Rev 7244 | Rev 7267 | 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"
7257 jlepiller 9
"POT-Creation-Date: 2017-03-30 22:15+0000\n"
7244 jlepiller 10
"PO-Revision-Date: 2017-03-08 12:06+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"
19
"X-POOTLE-MTIME: 1488974806.836918\n"
7156 jlepiller 20
 
21
#. type: Content of: <sect1><sect1info>
22
#: blfs-en/postlfs/config/profile.xml:12
7257 jlepiller 23
#| msgid ""
24
#| "<othername>$LastChangedBy: dj $</othername> <date>$Date: 2017-03-08 03:05:30"
25
#| " +0100 (Wed, 08 Mar 2017) $</date>"
7156 jlepiller 26
msgid ""
7257 jlepiller 27
"<othername>$LastChangedBy: dj $</othername> <date>$Date: 2017-03-08 02:05:30"
28
" +0000 (Wed, 08 Mar 2017) $</date>"
7156 jlepiller 29
msgstr ""
7257 jlepiller 30
"<othername>$LastChangedBy: dj $</othername> <date>$Date: 2017-03-08 02:05:30"
31
" +0000 (Wed, 08 Mar 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 "
50
"ci-après sous le nom de « shell » utilise un ensemble de fichiers de "
51
"démarrage pour aider à la création d'un environnement. Chaque fichier a une "
7165 jlepiller 52
"utilisation spécifique et il peut concerner différemment la connexion et les"
53
" 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
7156 jlepiller 401
msgid "/etc/profile.d/dircolors.sh"
402
msgstr "/etc/profile.d/dircolors.sh"
403
 
404
#. type: Content of: <sect1><sect2><sect3><para>
7244 jlepiller 405
#: blfs-en/postlfs/config/profile.xml:192
7156 jlepiller 406
msgid ""
7165 jlepiller 407
"This script uses the <filename>~/.dircolors</filename> and "
408
"<filename>/etc/dircolors</filename> files to control the colors of file "
409
"names in a directory listing. They control colorized output of things like "
410
"<command>ls --color</command>.  The explanation of how to initialize these "
411
"files is at the end of this section."
7156 jlepiller 412
msgstr ""
413
"Ce script utilise les fichiers <filename>~/.dircolors</filename> et "
414
"<filename>/etc/dircolors</filename> pour contrôler les couleurs des noms de "
415
"fichiers dans la liste du contenu d'un répertoire. Ils contrôlent la sortie "
416
"en couleurs de commandes telles que <command>ls --color</command>.  "
7165 jlepiller 417
"L'explication de la façon d'initialiser ces fichiers se trouvent à la fin de"
418
" cette section."
7156 jlepiller 419
 
420
#. type: Content of: <sect1><sect2><sect3><screen>
7244 jlepiller 421
#: blfs-en/postlfs/config/profile.xml:198
7156 jlepiller 422
#, no-wrap
423
msgid ""
424
"<userinput>cat &gt; /etc/profile.d/dircolors.sh &lt;&lt; \"EOF\"\n"
425
"<literal># Setup for /bin/ls and /bin/grep to support color, the alias is in /etc/bashrc.\n"
426
"if [ -f \"/etc/dircolors\" ] ; then\n"
427
"        eval $(dircolors -b /etc/dircolors)\n"
428
"fi\n"
429
"\n"
430
"if [ -f \"$HOME/.dircolors\" ] ; then\n"
431
"        eval $(dircolors -b $HOME/.dircolors)\n"
432
"fi\n"
433
"\n"
434
"alias ls='ls --color=auto'\n"
435
"alias grep='grep --color=auto'</literal>\n"
436
"EOF</userinput>"
437
msgstr ""
438
"<userinput>cat &gt; /etc/profile.d/dircolors.sh &lt;&lt; \"EOF\"\n"
439
"<literal># Setup for /bin/ls and /bin/grep to support color, the alias is in /etc/bashrc.\n"
440
"if [ -f \"/etc/dircolors\" ] ; then\n"
441
"        eval $(dircolors -b /etc/dircolors)\n"
442
"fi\n"
443
"\n"
444
"if [ -f \"$HOME/.dircolors\" ] ; then\n"
445
"        eval $(dircolors -b $HOME/.dircolors)\n"
446
"fi\n"
447
"\n"
448
"alias ls='ls --color=auto'\n"
449
"alias grep='grep --color=auto'</literal>\n"
450
"EOF</userinput>"
451
 
452
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7244 jlepiller 453
#: blfs-en/postlfs/config/profile.xml:215
454
#: blfs-en/postlfs/config/profile.xml:218
7156 jlepiller 455
msgid "/etc/profile.d/extrapaths.sh"
456
msgstr "/etc/profile.d/extrapaths.sh"
457
 
458
#. type: Content of: <sect1><sect2><sect3><para>
7244 jlepiller 459
#: blfs-en/postlfs/config/profile.xml:221
7156 jlepiller 460
msgid ""
461
"This script adds some useful paths to the <envar>PATH</envar> and can be "
462
"used to customize other PATH related environment variables (e.g. "
463
"LD_LIBRARY_PATH, etc) that may be needed for all users."
464
msgstr ""
465
"Ce script ajoute plusieurs chemins utiles aux variables d'environnement "
466
"<envar>PATH</envar> et peut être utilisé pour personnaliser les autres "
467
"variables d'environnement relatives à PATH (par exemple LD_LIBRARY_PATH, "
468
"etc) qui peuvent être utiles pour tous les utilisateurs."
469
 
470
#. type: Content of: <sect1><sect2><sect3><screen>
7244 jlepiller 471
#: blfs-en/postlfs/config/profile.xml:225
7156 jlepiller 472
#, no-wrap
473
msgid ""
474
"<userinput>cat &gt; /etc/profile.d/extrapaths.sh &lt;&lt; \"EOF\"\n"
475
"<literal>if [ -d /usr/local/lib/pkgconfig ] ; then\n"
476
"        pathappend /usr/local/lib/pkgconfig PKG_CONFIG_PATH\n"
477
"fi\n"
478
"if [ -d /usr/local/bin ]; then\n"
479
"        pathprepend /usr/local/bin\n"
480
"fi\n"
481
"if [ -d /usr/local/sbin -a $EUID -eq 0 ]; then\n"
482
"        pathprepend /usr/local/sbin\n"
483
"fi\n"
484
"\n"
485
"# Set some defaults before other applications add to these paths.\n"
486
"pathappend /usr/share/man  MANPATH\n"
487
"pathappend /usr/share/info INFOPATH</literal>\n"
488
"EOF</userinput>"
489
msgstr ""
490
"<userinput>cat &gt; /etc/profile.d/extrapaths.sh &lt;&lt; \"EOF\"\n"
491
"<literal>if [ -d /usr/local/lib/pkgconfig ] ; then\n"
492
"        pathappend /usr/local/lib/pkgconfig PKG_CONFIG_PATH\n"
493
"fi\n"
494
"if [ -d /usr/local/bin ]; then\n"
495
"        pathprepend /usr/local/bin\n"
496
"fi\n"
497
"if [ -d /usr/local/sbin -a $EUID -eq 0 ]; then\n"
498
"        pathprepend /usr/local/sbin\n"
499
"fi\n"
500
"\n"
501
"# Set some defaults before other applications add to these paths.\n"
502
"pathappend /usr/share/man  MANPATH\n"
503
"pathappend /usr/share/info INFOPATH</literal>\n"
504
"EOF</userinput>"
505
 
506
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7244 jlepiller 507
#: blfs-en/postlfs/config/profile.xml:244
508
#: blfs-en/postlfs/config/profile.xml:247
7156 jlepiller 509
msgid "/etc/profile.d/readline.sh"
510
msgstr "/etc/profile.d/readline.sh"
511
 
512
#. type: Content of: <sect1><sect2><sect3><para>
7244 jlepiller 513
#: blfs-en/postlfs/config/profile.xml:250
7156 jlepiller 514
msgid ""
515
"This script sets up the default <filename>inputrc</filename> configuration "
7165 jlepiller 516
"file. If the user does not have individual settings, it uses the global "
517
"file."
7156 jlepiller 518
msgstr ""
7165 jlepiller 519
"Ce script règle le fichier de configuration <filename>inputrc</filename> par"
520
" défaut. Si l'utilisateur n'a pas de paramètres individuels, il utilise le "
7156 jlepiller 521
"fichier global."
522
 
523
#. type: Content of: <sect1><sect2><sect3><screen>
7244 jlepiller 524
#: blfs-en/postlfs/config/profile.xml:254
7156 jlepiller 525
#, no-wrap
526
msgid ""
527
"<userinput>cat &gt; /etc/profile.d/readline.sh &lt;&lt; \"EOF\"\n"
528
"<literal># Setup the INPUTRC environment variable.\n"
529
"if [ -z \"$INPUTRC\" -a ! -f \"$HOME/.inputrc\" ] ; then\n"
530
"        INPUTRC=/etc/inputrc\n"
531
"fi\n"
532
"export INPUTRC</literal>\n"
533
"EOF</userinput>"
534
msgstr ""
535
"<userinput>cat &gt; /etc/profile.d/readline.sh &lt;&lt; \"EOF\"\n"
536
"<literal># Setup the INPUTRC environment variable.\n"
537
"if [ -z \"$INPUTRC\" -a ! -f \"$HOME/.inputrc\" ] ; then\n"
538
"        INPUTRC=/etc/inputrc\n"
539
"fi\n"
540
"export INPUTRC</literal>\n"
541
"EOF</userinput>"
542
 
543
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7244 jlepiller 544
#: blfs-en/postlfs/config/profile.xml:265
545
#: blfs-en/postlfs/config/profile.xml:268
7156 jlepiller 546
msgid "/etc/profile.d/umask.sh"
547
msgstr "/etc/profile.d/umask.sh"
548
 
549
#. type: Content of: <sect1><sect2><sect3><para>
7244 jlepiller 550
#: blfs-en/postlfs/config/profile.xml:271
7156 jlepiller 551
msgid ""
552
"Setting the <command>umask</command> value is important for security.  Here "
7165 jlepiller 553
"the default group write permissions are turned off for system users and when"
554
" the user name and group name are not the same."
7156 jlepiller 555
msgstr ""
556
"Le paramétrage de la valeur <command>umask</command> est important pour la "
557
"sécurité. Ici, les droits d'écriture par défaut du groupe sont désactivés "
558
"pour les utilisateurs systèmes et quand le nom d'utilisateur et le nom du "
559
"groupe ne sont pas les mêmes."
560
 
561
#. type: Content of: <sect1><sect2><sect3><screen>
7244 jlepiller 562
#: blfs-en/postlfs/config/profile.xml:275
7156 jlepiller 563
#, no-wrap
564
msgid ""
565
"<userinput>cat &gt; /etc/profile.d/umask.sh &lt;&lt; \"EOF\"\n"
566
"<literal># By default, the umask should be set.\n"
567
"if [ \"$(id -gn)\" = \"$(id -un)\" -a $EUID -gt 99 ] ; then\n"
568
"  umask 002\n"
569
"else\n"
570
"  umask 022\n"
571
"fi</literal>\n"
572
"EOF</userinput>"
573
msgstr ""
574
"<userinput>cat &gt; /etc/profile.d/umask.sh &lt;&lt; \"EOF\"\n"
575
"<literal># By default, the umask should be set.\n"
576
"if [ \"$(id -gn)\" = \"$(id -un)\" -a $EUID -gt 99 ] ; then\n"
577
"  umask 002\n"
578
"else\n"
579
"  umask 022\n"
580
"fi</literal>\n"
581
"EOF</userinput>"
582
 
583
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7244 jlepiller 584
#: blfs-en/postlfs/config/profile.xml:309
585
#: blfs-en/postlfs/config/profile.xml:312
7156 jlepiller 586
msgid "/etc/profile.d/i18n.sh"
587
msgstr "/etc/profile.d/i18n.sh"
588
 
589
#. type: Content of: <sect1><sect2><sect3><para>
7244 jlepiller 590
#: blfs-en/postlfs/config/profile.xml:315
7156 jlepiller 591
msgid ""
592
"This script sets an environment variable necessary for native language "
593
"support. A full discussion on determining this variable can be found on the "
594
"<ulink url=\"&lfs-root;/chapter07/profile.html\">LFS Bash Shell Startup "
595
"Files</ulink> page."
596
msgstr ""
597
"Ce script règle une variable d'environnement nécessaire au support des "
598
"langues natives. Vous pouvez trouver un point complet sur la détermination "
7165 jlepiller 599
"de cette variable sur la page <ulink url=\"&lfs-"
600
"root;/chapter07/profile.html\">Fichiers de démarrage du shell bash de "
601
"LFS</ulink>."
7156 jlepiller 602
 
603
#. type: Content of: <sect1><sect2><sect3><screen>
7244 jlepiller 604
#: blfs-en/postlfs/config/profile.xml:321
7156 jlepiller 605
#, no-wrap
606
msgid ""
607
"<userinput>cat &gt; /etc/profile.d/i18n.sh &lt;&lt; \"EOF\"\n"
608
"<literal># Set up i18n variables\n"
609
"export LANG=<replaceable>&lt;ll&gt;</replaceable>_<replaceable>&lt;CC&gt;</replaceable>.<replaceable>&lt;charmap&gt;</replaceable><replaceable>&lt;@modifiers&gt;</replaceable></literal>\n"
610
"EOF</userinput>"
611
msgstr ""
612
"<userinput>cat &gt; /etc/profile.d/i18n.sh &lt;&lt; \"EOF\"\n"
613
"<literal># Set up i18n variables\n"
614
"export LANG=<replaceable>&lt;ll&gt;</replaceable>_<replaceable>&lt;CC&gt;</replaceable>.<replaceable>&lt;charmap&gt;</replaceable><replaceable>&lt;@modifiers&gt;</replaceable></literal>\n"
615
"EOF</userinput>"
616
 
617
#. type: Content of: <sect1><sect2><sect3><title>
7244 jlepiller 618
#: blfs-en/postlfs/config/profile.xml:329
7156 jlepiller 619
msgid "Other Initialization Values"
620
msgstr "Autres valeurs d'Initialisation"
621
 
622
#. type: Content of: <sect1><sect2><sect3><para>
7244 jlepiller 623
#: blfs-en/postlfs/config/profile.xml:331
7156 jlepiller 624
msgid ""
7165 jlepiller 625
"Other initialization can easily be added to the <filename>profile</filename>"
626
" by adding additional scripts to the <filename "
627
"class='directory'>/etc/profile.d</filename> directory."
7156 jlepiller 628
msgstr ""
629
"On peut facilement ajouter d'autres réglages à <filename>profile</filename> "
630
"en ajoutant des scripts supplémentaires au répertoire <filename "
631
"class='directory'>/etc/profile.d</filename>."
632
 
633
#. type: Content of: <sect1><sect2><indexterm><primary>
7244 jlepiller 634
#: blfs-en/postlfs/config/profile.xml:340
635
#: blfs-en/postlfs/config/profile.xml:343
7156 jlepiller 636
msgid "/etc/bashrc"
637
msgstr "/etc/bashrc"
638
 
639
#. type: Content of: <sect1><sect2><para>
7244 jlepiller 640
#: blfs-en/postlfs/config/profile.xml:346
7156 jlepiller 641
msgid ""
642
"Here is a base <filename>/etc/bashrc</filename>.  Comments in the file "
643
"should explain everything you need."
644
msgstr ""
645
"Voici un <filename>/etc/bashrc</filename> de base. Les commentaires dans ce "
646
"fichier devraient vous expliquer tout ce dont vous avez besoin."
647
 
648
#. type: Content of: <sect1><sect2><screen>
7244 jlepiller 649
#: blfs-en/postlfs/config/profile.xml:349
7156 jlepiller 650
#, no-wrap
651
msgid ""
652
"<userinput>cat &gt; /etc/bashrc &lt;&lt; \"EOF\"\n"
653
"<literal># Begin /etc/bashrc\n"
654
"# Written for Beyond Linux From Scratch\n"
655
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
656
"# updated by Bruce Dubbs &lt;bdubbs@&lfs-domainname;&gt;\n"
657
"\n"
658
"# System wide aliases and functions.\n"
659
"\n"
660
"# System wide environment variables and startup programs should go into\n"
661
"# /etc/profile.  Personal environment variables and startup programs\n"
662
"# should go into ~/.bash_profile.  Personal aliases and functions should\n"
663
"# go into ~/.bashrc\n"
664
"\n"
665
"# Provides colored /bin/ls and /bin/grep commands.  Used in conjunction\n"
666
"# with code in /etc/profile.\n"
667
"\n"
668
"alias ls='ls --color=auto'\n"
669
"alias grep='grep --color=auto'\n"
670
"\n"
671
"# Provides prompt for non-login shells, specifically shells started\n"
672
"# in the X environment. [Review the LFS archive thread titled\n"
673
"# PS1 Environment Variable for a great case study behind this script\n"
674
"# addendum.]\n"
675
"\n"
676
"NORMAL=\"\\[\\e[0m\\]\"\n"
677
"RED=\"\\[\\e[1;31m\\]\"\n"
678
"GREEN=\"\\[\\e[1;32m\\]\"\n"
679
"if [[ $EUID == 0 ]] ; then\n"
680
"  PS1=\"$RED\\u [ $NORMAL\\w$RED ]# $NORMAL\"\n"
681
"else\n"
682
"  PS1=\"$GREEN\\u [ $NORMAL\\w$GREEN ]\\$ $NORMAL\"\n"
683
"fi\n"
684
"\n"
685
"unset RED GREEN NORMAL\n"
686
"\n"
687
"# End /etc/bashrc</literal>\n"
688
"EOF</userinput>"
689
msgstr ""
690
"<userinput>cat &gt; /etc/bashrc &lt;&lt; \"EOF\"\n"
691
"<literal># Begin /etc/bashrc\n"
692
"# Written for Beyond Linux From Scratch\n"
693
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
694
"# updated by Bruce Dubbs &lt;bdubbs@&lfs-domainname;&gt;\n"
695
"\n"
696
"# System wide aliases and functions.\n"
697
"\n"
698
"# System wide environment variables and startup programs should go into\n"
699
"# /etc/profile.  Personal environment variables and startup programs\n"
700
"# should go into ~/.bash_profile.  Personal aliases and functions should\n"
701
"# go into ~/.bashrc\n"
702
"\n"
703
"# Provides colored /bin/ls and /bin/grep commands.  Used in conjunction\n"
704
"# with code in /etc/profile.\n"
705
"\n"
706
"alias ls='ls --color=auto'\n"
707
"alias grep='grep --color=auto'\n"
708
"\n"
709
"# Provides prompt for non-login shells, specifically shells started\n"
710
"# in the X environment. [Review the LFS archive thread titled\n"
711
"# PS1 Environment Variable for a great case study behind this script\n"
712
"# addendum.]\n"
713
"\n"
714
"NORMAL=\"\\[\\e[0m\\]\"\n"
715
"RED=\"\\[\\e[1;31m\\]\"\n"
716
"GREEN=\"\\[\\e[1;32m\\]\"\n"
717
"if [[ $EUID == 0 ]] ; then\n"
718
"  PS1=\"$RED\\u [ $NORMAL\\w$RED ]# $NORMAL\"\n"
719
"else\n"
720
"  PS1=\"$GREEN\\u [ $NORMAL\\w$GREEN ]\\$ $NORMAL\"\n"
721
"fi\n"
722
"\n"
723
"unset RED GREEN NORMAL\n"
724
"\n"
725
"# End /etc/bashrc</literal>\n"
726
"EOF</userinput>"
727
 
728
#. type: Content of: <sect1><sect2><indexterm><primary>
7244 jlepiller 729
#: blfs-en/postlfs/config/profile.xml:390
730
#: blfs-en/postlfs/config/profile.xml:393
7156 jlepiller 731
msgid "~/.bash_profile"
732
msgstr "~/.bash_profile"
733
 
734
#. type: Content of: <sect1><sect2><para>
7244 jlepiller 735
#: blfs-en/postlfs/config/profile.xml:396
7156 jlepiller 736
msgid ""
737
"Here is a base <filename>~/.bash_profile</filename>.  If you want each new "
738
"user to have this file automatically, just change the output of the command "
739
"to <filename>/etc/skel/.bash_profile</filename> and check the permissions "
7165 jlepiller 740
"after the command is run. You can then copy "
741
"<filename>/etc/skel/.bash_profile</filename> to the home directories of "
742
"already existing users, including <systemitem "
743
"class=\"username\">root</systemitem>, and set the owner and group "
744
"appropriately."
7156 jlepiller 745
msgstr ""
746
"Voici un <filename>~/.bash_profile</filename> de base. Si vous voulez que "
7165 jlepiller 747
"chaque nouvel utilisateur ait automatiquement ce fichier, renvoyez seulement"
748
" la sortie de la commande vers <filename>/etc/skel/.bash_profile</filename> "
7156 jlepiller 749
"et vérifiez les droits après l'exécution de la commande. Vous pouvez alors "
750
"copier <filename>/etc/skel/.bash_profile</filename> dans les répertoires "
7165 jlepiller 751
"home des utilisateurs existants, y compris celui de <systemitem "
752
"class=\"username\">root</systemitem>, et réglez comme il faut le "
753
"propriétaire et le groupe d'appartenance."
7156 jlepiller 754
 
755
#. type: Content of: <sect1><sect2><screen>
7244 jlepiller 756
#: blfs-en/postlfs/config/profile.xml:404
7156 jlepiller 757
#, no-wrap
758
msgid ""
759
"<userinput>cat &gt; ~/.bash_profile &lt;&lt; \"EOF\"\n"
760
"<literal># Begin ~/.bash_profile\n"
761
"# Written for Beyond Linux From Scratch\n"
762
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
763
"# updated by Bruce Dubbs &lt;bdubbs@&lfs-domainname;&gt;\n"
764
"\n"
765
"# Personal environment variables and startup programs.\n"
766
"\n"
767
"# Personal aliases and functions should go in ~/.bashrc.  System wide\n"
768
"# environment variables and startup programs are in /etc/profile.\n"
769
"# System wide aliases and functions are in /etc/bashrc.\n"
770
"\n"
771
"if [ -f \"$HOME/.bashrc\" ] ; then\n"
772
"  source $HOME/.bashrc\n"
773
"fi\n"
774
"\n"
775
"if [ -d \"$HOME/bin\" ] ; then\n"
776
"  pathprepend $HOME/bin\n"
777
"fi\n"
778
"\n"
779
"# Having . in the PATH is dangerous\n"
780
"#if [ $EUID -gt 99 ]; then\n"
781
"#  pathappend .\n"
782
"#fi\n"
783
"\n"
784
"# End ~/.bash_profile</literal>\n"
785
"EOF</userinput>"
786
msgstr ""
787
"<userinput>cat &gt; ~/.bash_profile &lt;&lt; \"EOF\"\n"
788
"<literal># Begin ~/.bash_profile\n"
789
"# Written for Beyond Linux From Scratch\n"
790
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
791
"# updated by Bruce Dubbs &lt;bdubbs@&lfs-domainname;&gt;\n"
792
"\n"
793
"# Personal environment variables and startup programs.\n"
794
"\n"
795
"# Personal aliases and functions should go in ~/.bashrc.  System wide\n"
796
"# environment variables and startup programs are in /etc/profile.\n"
797
"# System wide aliases and functions are in /etc/bashrc.\n"
798
"\n"
799
"if [ -f \"$HOME/.bashrc\" ] ; then\n"
800
"  source $HOME/.bashrc\n"
801
"fi\n"
802
"\n"
803
"if [ -d \"$HOME/bin\" ] ; then\n"
804
"  pathprepend $HOME/bin\n"
805
"fi\n"
806
"\n"
807
"# Having . in the PATH is dangerous\n"
808
"#if [ $EUID -gt 99 ]; then\n"
809
"#  pathappend .\n"
810
"#fi\n"
811
"\n"
812
"# End ~/.bash_profile</literal>\n"
813
"EOF</userinput>"
814
 
815
#. type: Content of: <sect1><sect2><indexterm><primary>
7244 jlepiller 816
#: blfs-en/postlfs/config/profile.xml:435
817
#: blfs-en/postlfs/config/profile.xml:438
818
msgid "~/.profile"
819
msgstr "~/.profile"
7156 jlepiller 820
 
821
#. type: Content of: <sect1><sect2><para>
7244 jlepiller 822
#: blfs-en/postlfs/config/profile.xml:441
7156 jlepiller 823
msgid ""
7244 jlepiller 824
"Here is a base <filename>~/.profile</filename>. The comments and "
7156 jlepiller 825
"instructions for using <filename class=\"directory\">/etc/skel</filename> "
826
"for <filename>.bash_profile</filename> above also apply here. Only the "
827
"target file names are different."
828
msgstr ""
7244 jlepiller 829
"Voici un <filename>~/.profile</filename> de base. Les commentaires et les "
7165 jlepiller 830
"instructions d'utilisation de <filename "
831
"class=\"directory\">/etc/skel</filename> pour "
7244 jlepiller 832
"<filename>.bash_profile</filename> ci-dessus s'appliquent aussi ici. Seuls "
7165 jlepiller 833
"les noms de fichiers cibles sont différents."
7156 jlepiller 834
 
835
#. type: Content of: <sect1><sect2><screen>
7244 jlepiller 836
#: blfs-en/postlfs/config/profile.xml:446
7156 jlepiller 837
#, no-wrap
838
msgid ""
7244 jlepiller 839
"<userinput>cat &gt; ~/.profile &lt;&lt; \"EOF\"\n"
840
"<literal># Begin ~/.profile\n"
841
"# Personal environment variables and startup programs.\n"
842
"\n"
843
"if [ -d \"$HOME/bin\" ] ; then\n"
844
"  pathprepend $HOME/bin\n"
845
"fi\n"
846
"\n"
847
"# End ~/.profile</literal>\n"
848
"EOF</userinput>"
849
msgstr ""
850
"<userinput>cat &gt; ~/.profile &lt;&lt; \"EOF\"\n"
851
"<literal># Begin ~/.profile\n"
852
"# Personal environment variables and startup programs.\n"
853
"\n"
854
"if [ -d \"$HOME/bin\" ] ; then\n"
855
"  pathprepend $HOME/bin\n"
856
"fi\n"
857
"\n"
858
"# End ~/.profile</literal>\n"
859
"EOF</userinput>"
860
 
861
#. type: Content of: <sect1><sect2><indexterm><primary>
862
#: blfs-en/postlfs/config/profile.xml:460
863
#: blfs-en/postlfs/config/profile.xml:463
864
msgid "~/.bashrc"
865
msgstr "~/.bashrc"
866
 
867
#. type: Content of: <sect1><sect2><para>
868
#: blfs-en/postlfs/config/profile.xml:466
869
msgid "Here is a base <filename>~/.bashrc</filename>."
870
msgstr "voici un fichier <filename>~/.bashrc</filename> de base."
871
 
872
#. type: Content of: <sect1><sect2><screen>
873
#: blfs-en/postlfs/config/profile.xml:468
874
#, no-wrap
875
msgid ""
7156 jlepiller 876
"<userinput>cat &gt; ~/.bashrc &lt;&lt; \"EOF\"\n"
877
"<literal># Begin ~/.bashrc\n"
878
"# Written for Beyond Linux From Scratch\n"
879
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
880
"\n"
881
"# Personal aliases and functions.\n"
882
"\n"
883
"# Personal environment variables and startup programs should go in\n"
884
"# ~/.bash_profile.  System wide environment variables and startup\n"
885
"# programs are in /etc/profile.  System wide aliases and functions are\n"
886
"# in /etc/bashrc.\n"
887
"\n"
888
"if [ -f \"/etc/bashrc\" ] ; then\n"
889
"  source /etc/bashrc\n"
890
"fi\n"
891
"\n"
892
"# End ~/.bashrc</literal>\n"
893
"EOF</userinput>"
894
msgstr ""
895
"<userinput>cat &gt; ~/.bashrc &lt;&lt; \"EOF\"\n"
896
"<literal># Begin ~/.bashrc\n"
897
"# Written for Beyond Linux From Scratch\n"
898
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
899
"\n"
900
"# Personal aliases and functions.\n"
901
"\n"
902
"# Personal environment variables and startup programs should go in\n"
903
"# ~/.bash_profile.  System wide environment variables and startup\n"
904
"# programs are in /etc/profile.  System wide aliases and functions are\n"
905
"# in /etc/bashrc.\n"
906
"\n"
907
"if [ -f \"/etc/bashrc\" ] ; then\n"
908
"  source /etc/bashrc\n"
909
"fi\n"
910
"\n"
911
"# End ~/.bashrc</literal>\n"
912
"EOF</userinput>"
913
 
914
#. type: Content of: <sect1><sect2><indexterm><primary>
7244 jlepiller 915
#: blfs-en/postlfs/config/profile.xml:491
916
#: blfs-en/postlfs/config/profile.xml:494
7156 jlepiller 917
msgid "~/.bash_logout"
918
msgstr "~/.bash_logout"
919
 
920
#. type: Content of: <sect1><sect2><para>
7244 jlepiller 921
#: blfs-en/postlfs/config/profile.xml:497
7156 jlepiller 922
msgid ""
923
"This is an empty <filename>~/.bash_logout</filename> that can be used as a "
7165 jlepiller 924
"template.  You will notice that the base <filename>~/.bash_logout</filename>"
925
" does not include a <userinput>clear</userinput> command.  This is because "
7156 jlepiller 926
"the clear is handled in the <filename>/etc/issue</filename> file."
927
msgstr ""
928
"C'est un <filename>~/.bash_logout</filename> vide qui peut être utilisé "
7165 jlepiller 929
"comme modèle. Vous remarquerez que le <filename>~/.bash_logout</filename> de"
930
" base n'inclut pas de commande <userinput>clear</userinput>. Ceci car le "
7156 jlepiller 931
"vidage se gère dans le fichier <filename>/etc/issue</filename>."
932
 
933
#. type: Content of: <sect1><sect2><screen>
7244 jlepiller 934
#: blfs-en/postlfs/config/profile.xml:502
7156 jlepiller 935
#, no-wrap
936
msgid ""
937
"<userinput>cat &gt; ~/.bash_logout &lt;&lt; \"EOF\"\n"
938
"<literal># Begin ~/.bash_logout\n"
939
"# Written for Beyond Linux From Scratch\n"
940
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
941
"\n"
942
"# Personal items to perform on logout.\n"
943
"\n"
944
"# End ~/.bash_logout</literal>\n"
945
"EOF</userinput>"
946
msgstr ""
947
"<userinput>cat &gt; ~/.bash_logout &lt;&lt; \"EOF\"\n"
948
"<literal># Begin ~/.bash_logout\n"
949
"# Written for Beyond Linux From Scratch\n"
950
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
951
"\n"
952
"# Personal items to perform on logout.\n"
953
"\n"
954
"# End ~/.bash_logout</literal>\n"
955
"EOF</userinput>"
956
 
957
#. type: Content of: <sect1><sect2><indexterm><primary>
7244 jlepiller 958
#: blfs-en/postlfs/config/profile.xml:516
959
#: blfs-en/postlfs/config/profile.xml:519
7156 jlepiller 960
msgid "/etc/dircolors"
961
msgstr "/etc/dircolors"
962
 
963
#. type: Content of: <sect1><sect2><indexterm><primary>
7244 jlepiller 964
#: blfs-en/postlfs/config/profile.xml:523
7156 jlepiller 965
msgid "~/.dircolors"
966
msgstr "~/.dircolors"
967
 
968
#. type: Content of: <sect1><sect2><para>
7244 jlepiller 969
#: blfs-en/postlfs/config/profile.xml:526
7156 jlepiller 970
msgid ""
971
"If you want to use the <filename>dircolors</filename> capability, then run "
7165 jlepiller 972
"the following command. The <filename "
973
"class=\"directory\">/etc/skel</filename> setup steps shown above also can be"
974
" used here to provide a <filename>~/.dircolors</filename> file when a new "
975
"user is set up. As before, just change the output file name on the following"
976
" command and assure the permissions, owner, and group are correct on the "
977
"files created and/or copied."
7156 jlepiller 978
msgstr ""
979
"Si vous utilisez la possibilité <filename>dircolors</filename>, lancez la "
7165 jlepiller 980
"commande suivante. Les étapes de paramétrage de <filename "
981
"class=\"directory\">/etc/skel</filename> indiquées ci-dessus peuvent être "
982
"utilisées ici pour avoir un fichier <filename>~/.dircolors</filename> lors "
983
"du réglage d'un nouvel utilisateur. Comme tout à l'heure, changez simplement"
984
" le nom du fichier de sorti dans la commande suivante et assurez-vous que "
7220 jlepiller 985
"les droits, le propriétaire et le groupe conviennent aux fichiers créés ou "
986
"copiés."
7156 jlepiller 987
 
988
#. type: Content of: <sect1><sect2><screen>
7244 jlepiller 989
#: blfs-en/postlfs/config/profile.xml:534
7156 jlepiller 990
#, no-wrap
991
msgid "<userinput>dircolors -p > /etc/dircolors</userinput>"
992
msgstr "<userinput>dircolors -p > /etc/dircolors</userinput>"
993
 
994
#. type: Content of: <sect1><sect2><para>
7244 jlepiller 995
#: blfs-en/postlfs/config/profile.xml:536
7156 jlepiller 996
msgid ""
997
"If you wish to customize the colors used for different file types, you can "
7244 jlepiller 998
"edit the <filename>/etc/dircolors</filename> file. The instructions for "
7156 jlepiller 999
"setting the colors are embedded in the file."
1000
msgstr ""
7165 jlepiller 1001
"Si vous souhaitez personnaliser les couleurs utilisées pour différents types"
1002
" de fichiers, vous devez éditer le fichier "
7244 jlepiller 1003
"<filename>/etc/dircolors</filename>. Les instructions pour régler les "
7165 jlepiller 1004
"couleurs sont comprises dans le fichier."
7156 jlepiller 1005
 
1006
#. type: Content of: <sect1><sect2><para>
7244 jlepiller 1007
#: blfs-en/postlfs/config/profile.xml:541
7156 jlepiller 1008
msgid ""
1009
"Finally, Ian Macdonald has written an excellent collection of tips and "
1010
"tricks to enhance your shell environment.  You can read it online at <ulink "
1011
"url=\"http://www.caliban.org/bash/index.shtml\"/>."
1012
msgstr ""
1013
"Enfin, Ian Macdonald a écrit un ensemble excellent de modèles et de "
1014
"bidouillages pour améliorer votre environnement de shell. Vous pouvez le "
1015
"lire en ligne sur <ulink url=\"http://www.caliban.org/bash/index.shtml\"/>."