Subversion Repositories svn LFS-FR

Rev

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