Subversion Repositories svn LFS-FR

Rev

Rev 7691 | 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.
7313 jlepiller 5
#
7156 jlepiller 6
msgid ""
7
msgstr ""
8
"Project-Id-Version: PACKAGE VERSION\n"
7808 jlepiller 9
"POT-Creation-Date: 2019-02-28 20:10+0000\n"
7691 jlepiller 10
"PO-Revision-Date: 2018-12-05 12:46+0000\n"
7156 jlepiller 11
"Last-Translator: roptat <roptat@lepiller.eu>\n"
12
"Language-Team: LANGUAGE <LL@li.org>\n"
7313 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"
7691 jlepiller 19
"X-POOTLE-MTIME: 1544014012.198704\n"
7156 jlepiller 20
 
21
#. type: Content of: <sect1><sect1info>
22
#: blfs-en/postlfs/config/profile.xml:12
23
msgid ""
7688 jlepiller 24
"<othername>$LastChangedBy: bdubbs $</othername> <date>$Date: 2018-12-02 "
25
"22:36:16 +0000 (Sun, 02 Dec 2018) $</date>"
7156 jlepiller 26
msgstr ""
7688 jlepiller 27
"<othername>$LastChangedBy: bdubbs $</othername> <date>$Date: 2018-12-02 "
28
"22:36:16 +0000 (Sun, 02 Dec 2018) $</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 "
7323 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 "
7267 jlepiller 47
"ci-après sous le nom de «&nbsp;shell&nbsp;» utilise un ensemble de fichiers "
48
"de démarrage pour aider à la création d'un environnement. Chaque fichier a "
7323 jlepiller 49
"une utilisation spécifique et il peut concerner différemment la connexion et"
50
" les 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 "
7323 jlepiller 59
"<filename>/bin/login</filename>, by reading the "
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 "
7323 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é "
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 ""
7323 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 "
7323 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 "
7323 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 "
7323 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 "
7323 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 ""
7323 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 "
7323 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 "
7323 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
 
7687 jlepiller 162
#. type: Content of: <sect1><para>
163
#: blfs-en/postlfs/config/profile.xml:71
164
msgid "User Notes: <ulink url=\"&blfs-wiki;/bash-shell-startup-files\"/>"
165
msgstr ""
166
"Notes utilisateur&nbsp;: <ulink url=\"&blfs-wiki;/bash-shell-startup-"
167
"files\"/>"
168
 
7156 jlepiller 169
#. type: Content of: <sect1><sect2><indexterm><primary>
7687 jlepiller 170
#: blfs-en/postlfs/config/profile.xml:75 blfs-en/postlfs/config/profile.xml:78
7156 jlepiller 171
msgid "/etc/profile"
172
msgstr "/etc/profile"
173
 
174
#. type: Content of: <sect1><sect2><para>
7687 jlepiller 175
#: blfs-en/postlfs/config/profile.xml:81
7156 jlepiller 176
msgid ""
177
"Here is a base <filename>/etc/profile</filename>. This file starts by "
178
"setting up some helper functions and some basic parameters.  It specifies "
179
"some <command>bash</command> history parameters and, for security purposes, "
7323 jlepiller 180
"disables keeping a permanent history file for the <systemitem "
181
"class=\"username\">root</systemitem> user.  It also sets a default user "
182
"prompt.  It then calls small, single purpose scripts in the <filename "
183
"class='directory'>/etc/profile.d</filename> directory to provide most of the"
184
" initialization."
7156 jlepiller 185
msgstr ""
186
"Voici un <filename>/etc/profile</filename> de base. Ce fichier démarre en "
187
"paramétrant des fonctions d'aide et quelques paramètres de base.  Il "
7323 jlepiller 188
"spécifie des paramètres d'historique de <command>bash</command> et, pour des"
189
" raisons de sécurité, il désactive la conservation d'un fichier d'historique"
190
" permanent pour l'utilisateur <systemitem "
191
"class=\"username\">root</systemitem>.  Il paramètre aussi une invite "
192
"utilisateur par défaut. Il appelle ensuite de petits scripts à finalité "
193
"unique dans le répertoire <filename "
194
"class='directory'>/etc/profile.d</filename> pour fournir la plupart de "
195
"l'initialisation."
7156 jlepiller 196
 
197
#. type: Content of: <sect1><sect2><para>
7687 jlepiller 198
#: blfs-en/postlfs/config/profile.xml:90
7156 jlepiller 199
msgid ""
7323 jlepiller 200
"For more information on the escape sequences you can use for your prompt "
201
"(i.e., the <envar>PS1</envar> environment variable) see <command>info "
202
"bash</command> -- <emphasis role=\"strong\">Node: Printing a "
203
"Prompt</emphasis>."
7156 jlepiller 204
msgstr ""
205
"Pour plus d'informations sur les séquences d'échappement que vous pouvez "
7323 jlepiller 206
"utiliser pour votre invite (à savoir la variable d'environnement "
207
"<envar>PS1</envar>) voir <command>info bash</command> -- <emphasis "
208
"role=\"strong\">Node: Printing a Prompt</emphasis>."
7156 jlepiller 209
 
210
#. type: Content of: <sect1><sect2><screen>
7687 jlepiller 211
#: blfs-en/postlfs/config/profile.xml:95
7156 jlepiller 212
#, no-wrap
213
msgid ""
214
"<userinput>cat &gt; /etc/profile &lt;&lt; \"EOF\"\n"
215
"<literal># Begin /etc/profile\n"
216
"# Written for Beyond Linux From Scratch\n"
217
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
218
"# modifications by Dagmar d'Surreal &lt;rivyqntzne@pbzpnfg.arg&gt;\n"
219
"\n"
220
"# System wide environment variables and startup programs.\n"
221
"\n"
222
"# System wide aliases and functions should go in /etc/bashrc.  Personal\n"
223
"# environment variables and startup programs should go into\n"
224
"# ~/.bash_profile.  Personal aliases and functions should go into\n"
225
"# ~/.bashrc.\n"
226
"\n"
227
"# Functions to help us manage paths.  Second argument is the name of the\n"
228
"# path variable to be modified (default: PATH)\n"
229
"pathremove () {\n"
230
"        local IFS=':'\n"
231
"        local NEWPATH\n"
232
"        local DIR\n"
233
"        local PATHVARIABLE=${2:-PATH}\n"
234
"        for DIR in ${!PATHVARIABLE} ; do\n"
235
"                if [ \"$DIR\" != \"$1\" ] ; then\n"
236
"                  NEWPATH=${NEWPATH:+$NEWPATH:}$DIR\n"
237
"                fi\n"
238
"        done\n"
239
"        export $PATHVARIABLE=\"$NEWPATH\"\n"
240
"}\n"
241
"\n"
242
"pathprepend () {\n"
243
"        pathremove $1 $2\n"
244
"        local PATHVARIABLE=${2:-PATH}\n"
245
"        export $PATHVARIABLE=\"$1${!PATHVARIABLE:+:${!PATHVARIABLE}}\"\n"
246
"}\n"
247
"\n"
248
"pathappend () {\n"
249
"        pathremove $1 $2\n"
250
"        local PATHVARIABLE=${2:-PATH}\n"
251
"        export $PATHVARIABLE=\"${!PATHVARIABLE:+${!PATHVARIABLE}:}$1\"\n"
252
"}\n"
253
"\n"
254
"export -f pathremove pathprepend pathappend\n"
255
"\n"
256
"# Set the initial path\n"
257
"export PATH=/bin:/usr/bin\n"
258
"\n"
259
"if [ $EUID -eq 0 ] ; then\n"
260
"        pathappend /sbin:/usr/sbin\n"
261
"        unset HISTFILE\n"
262
"fi\n"
263
"\n"
264
"# Setup some environment variables.\n"
265
"export HISTSIZE=1000\n"
266
"export HISTIGNORE=\"&amp;:[bf]g:exit\"\n"
267
"\n"
268
"# Set some defaults for graphical systems\n"
7315 jlepiller 269
"export XDG_DATA_DIRS=${XDG_DATA_DIRS:-/usr/share/}\n"
270
"export XDG_CONFIG_DIRS=${XDG_CONFIG_DIRS:-/etc/xdg/}\n"
271
"export XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR:-/tmp/xdg-$USER}\n"
7156 jlepiller 272
"\n"
273
"# Setup a red prompt for root and a green one for users.\n"
274
"NORMAL=\"\\[\\e[0m\\]\"\n"
275
"RED=\"\\[\\e[1;31m\\]\"\n"
276
"GREEN=\"\\[\\e[1;32m\\]\"\n"
277
"if [[ $EUID == 0 ]] ; then\n"
278
"  PS1=\"$RED\\u [ $NORMAL\\w$RED ]# $NORMAL\"\n"
279
"else\n"
280
"  PS1=\"$GREEN\\u [ $NORMAL\\w$GREEN ]\\$ $NORMAL\"\n"
281
"fi\n"
282
"\n"
283
"for script in /etc/profile.d/*.sh ; do\n"
284
"        if [ -r $script ] ; then\n"
285
"                . $script\n"
286
"        fi\n"
287
"done\n"
288
"\n"
289
"unset script RED GREEN NORMAL\n"
290
"\n"
291
"# End /etc/profile</literal>\n"
292
"EOF</userinput>"
293
msgstr ""
294
"<userinput>cat &gt; /etc/profile &lt;&lt; \"EOF\"\n"
295
"<literal># Begin /etc/profile\n"
296
"# Written for Beyond Linux From Scratch\n"
297
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
298
"# modifications by Dagmar d'Surreal &lt;rivyqntzne@pbzpnfg.arg&gt;\n"
299
"\n"
300
"# System wide environment variables and startup programs.\n"
301
"\n"
302
"# System wide aliases and functions should go in /etc/bashrc.  Personal\n"
303
"# environment variables and startup programs should go into\n"
304
"# ~/.bash_profile.  Personal aliases and functions should go into\n"
305
"# ~/.bashrc.\n"
306
"\n"
307
"# Functions to help us manage paths.  Second argument is the name of the\n"
308
"# path variable to be modified (default: PATH)\n"
309
"pathremove () {\n"
310
"        local IFS=':'\n"
311
"        local NEWPATH\n"
312
"        local DIR\n"
313
"        local PATHVARIABLE=${2:-PATH}\n"
314
"        for DIR in ${!PATHVARIABLE} ; do\n"
315
"                if [ \"$DIR\" != \"$1\" ] ; then\n"
316
"                  NEWPATH=${NEWPATH:+$NEWPATH:}$DIR\n"
317
"                fi\n"
318
"        done\n"
319
"        export $PATHVARIABLE=\"$NEWPATH\"\n"
320
"}\n"
321
"\n"
322
"pathprepend () {\n"
323
"        pathremove $1 $2\n"
324
"        local PATHVARIABLE=${2:-PATH}\n"
325
"        export $PATHVARIABLE=\"$1${!PATHVARIABLE:+:${!PATHVARIABLE}}\"\n"
326
"}\n"
327
"\n"
328
"pathappend () {\n"
329
"        pathremove $1 $2\n"
330
"        local PATHVARIABLE=${2:-PATH}\n"
331
"        export $PATHVARIABLE=\"${!PATHVARIABLE:+${!PATHVARIABLE}:}$1\"\n"
332
"}\n"
333
"\n"
334
"export -f pathremove pathprepend pathappend\n"
335
"\n"
336
"# Set the initial path\n"
337
"export PATH=/bin:/usr/bin\n"
338
"\n"
339
"if [ $EUID -eq 0 ] ; then\n"
340
"        pathappend /sbin:/usr/sbin\n"
341
"        unset HISTFILE\n"
342
"fi\n"
343
"\n"
344
"# Setup some environment variables.\n"
345
"export HISTSIZE=1000\n"
346
"export HISTIGNORE=\"&amp;:[bf]g:exit\"\n"
347
"\n"
348
"# Set some defaults for graphical systems\n"
7315 jlepiller 349
"export XDG_DATA_DIRS=${XDG_DATA_DIRS:-/usr/share/}\n"
350
"export XDG_CONFIG_DIRS=${XDG_CONFIG_DIRS:-/etc/xdg/}\n"
351
"export XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR:-/tmp/xdg-$USER}\n"
7156 jlepiller 352
"\n"
353
"# Setup a red prompt for root and a green one for users.\n"
354
"NORMAL=\"\\[\\e[0m\\]\"\n"
355
"RED=\"\\[\\e[1;31m\\]\"\n"
356
"GREEN=\"\\[\\e[1;32m\\]\"\n"
357
"if [[ $EUID == 0 ]] ; then\n"
358
"  PS1=\"$RED\\u [ $NORMAL\\w$RED ]# $NORMAL\"\n"
359
"else\n"
360
"  PS1=\"$GREEN\\u [ $NORMAL\\w$GREEN ]\\$ $NORMAL\"\n"
361
"fi\n"
362
"\n"
363
"for script in /etc/profile.d/*.sh ; do\n"
364
"        if [ -r $script ] ; then\n"
365
"                . $script\n"
366
"        fi\n"
367
"done\n"
368
"\n"
369
"unset script RED GREEN NORMAL\n"
370
"\n"
371
"# End /etc/profile</literal>\n"
372
"EOF</userinput>"
373
 
374
#. type: Content of: <sect1><sect2><sect3><title>
7687 jlepiller 375
#: blfs-en/postlfs/config/profile.xml:176
7156 jlepiller 376
msgid "The /etc/profile.d Directory"
377
msgstr "Le répertoire /etc/profile.d"
378
 
379
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7687 jlepiller 380
#: blfs-en/postlfs/config/profile.xml:179
7156 jlepiller 381
msgid "/etc/profile.d"
382
msgstr "/etc/profile.d"
383
 
384
#. type: Content of: <sect1><sect2><sect3><para>
7687 jlepiller 385
#: blfs-en/postlfs/config/profile.xml:182
7156 jlepiller 386
msgid ""
387
"Now create the <filename class='directory'>/etc/profile.d</filename> "
388
"directory, where the individual initialization scripts are placed:"
389
msgstr ""
7323 jlepiller 390
"Maintenant créez le répertoire <filename "
391
"class='directory'>/etc/profile.d</filename>, où sont mis les scripts "
392
"d'initialisation individuels&nbsp;:"
7156 jlepiller 393
 
394
#. type: Content of: <sect1><sect2><sect3><screen>
7687 jlepiller 395
#: blfs-en/postlfs/config/profile.xml:185
7156 jlepiller 396
#, no-wrap
7323 jlepiller 397
msgid ""
398
"<userinput>install --directory --mode=0755 --owner=root --group=root "
399
"/etc/profile.d</userinput>"
400
msgstr ""
401
"<userinput>install --directory --mode=0755 --owner=root --group=root "
402
"/etc/profile.d</userinput>"
7156 jlepiller 403
 
404
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7296 jlepiller 405
#: blfs-en/postlfs/config/profile.xml:190
7687 jlepiller 406
#: blfs-en/postlfs/config/profile.xml:193
7280 jlepiller 407
msgid "/etc/profile.d/bash_completion.sh"
408
msgstr "/etc/profile.d/bash_completion.sh"
409
 
7688 jlepiller 410
#. type: Content of: <sect1><sect2><sect3><note><para>
7687 jlepiller 411
#: blfs-en/postlfs/config/profile.xml:196
7280 jlepiller 412
msgid ""
7688 jlepiller 413
"Using the bash completion script below is controversial.  Not all users like"
414
" it.  It adds many (usually over 1000) lines to the bash environment and "
415
"makes it difficult to use the 'set' command to examine simple environment "
416
"variables.  Omitting this script does not interfere with the ability of bash"
417
" to use the tab key for file name completion."
418
msgstr ""
7689 jlepiller 419
"L'utilisation du script de complétion bash ci-dessous ne fait pas consensus."
420
" Tous les utilisateurs ne l'aiment pas. Il ajoute de nombreuses (plus de "
421
"1000) lignes à l'environnement bash et rend difficile d'utiliser la commande"
422
" «&nbsp;set&nbsp;» pour examiner des variables d'environnement simples. "
423
"Passer ce script n'interfère pas avec la capacité de bash d'utiliser la "
424
"touche de tabulation pour compléter les noms de fichiers."
7688 jlepiller 425
 
426
#. type: Content of: <sect1><sect2><sect3><para>
427
#: blfs-en/postlfs/config/profile.xml:203
428
msgid ""
7280 jlepiller 429
"This script imports bash completion scripts, installed by many other BLFS "
430
"packages, to allow TAB command line completion."
431
msgstr ""
432
"Ce script importe les scripts de complétion bash, installé par beaucoup "
433
"d'autres paquets BLFS pour permettre la complétion de la ligne de commande "
434
"avec TAB."
435
 
436
#. type: Content of: <sect1><sect2><sect3><screen>
7688 jlepiller 437
#: blfs-en/postlfs/config/profile.xml:206
7280 jlepiller 438
#, no-wrap
439
msgid ""
440
"<userinput>cat &gt; /etc/profile.d/bash_completion.sh &lt;&lt; \"EOF\"\n"
441
"<literal># Begin /etc/profile.d/bash_completion.sh\n"
442
"# Import bash completion scripts\n"
443
"\n"
7687 jlepiller 444
"# If the bash-completion package is installed, use its configuration instead\n"
445
"if [ -f /usr/share/bash-completion/bash_completion ]; then\n"
446
"\n"
447
"  # Check for interactive bash and that we haven't already been sourced.\n"
448
"  if [ -n \"${BASH_VERSION-}\" -a -n \"${PS1-}\" -a -z \"${BASH_COMPLETION_VERSINFO-}\" ]; then\n"
449
"\n"
450
"    # Check for recent enough version of bash.\n"
451
"    if [ ${BASH_VERSINFO[0]} -gt 4 ] || \\\n"
452
"       [ ${BASH_VERSINFO[0]} -eq 4 -a ${BASH_VERSINFO[1]} -ge 1 ]; then\n"
453
"       [ -r \"${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion\" ] &amp;&amp; \\\n"
454
"            . \"${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion\"\n"
455
"       if shopt -q progcomp &amp;&amp; [ -r /usr/share/bash-completion/bash_completion ]; then\n"
456
"          # Source completion code.\n"
457
"          . /usr/share/bash-completion/bash_completion\n"
458
"       fi\n"
459
"    fi\n"
460
"  fi\n"
461
"\n"
462
"else\n"
463
"\n"
464
"  # bash-completions are not installed, use only bash completion directory\n"
465
"  if shopt -q progcomp; then\n"
466
"    for script in /etc/bash_completion.d/* ; do\n"
467
"      if [ -r $script ] ; then\n"
468
"        . $script\n"
469
"      fi\n"
470
"    done\n"
471
"  fi\n"
472
"fi\n"
473
"\n"
7280 jlepiller 474
"# End /etc/profile.d/bash_completion.sh</literal>\n"
475
"EOF</userinput>"
476
msgstr ""
477
"<userinput>cat &gt; /etc/profile.d/bash_completion.sh &lt;&lt; \"EOF\"\n"
478
"<literal># Begin /etc/profile.d/bash_completion.sh\n"
479
"# Import bash completion scripts\n"
480
"\n"
7687 jlepiller 481
"# If the bash-completion package is installed, use its configuration instead\n"
482
"if [ -f /usr/share/bash-completion/bash_completion ]; then\n"
483
"\n"
484
"  # Check for interactive bash and that we haven't already been sourced.\n"
485
"  if [ -n \"${BASH_VERSION-}\" -a -n \"${PS1-}\" -a -z \"${BASH_COMPLETION_VERSINFO-}\" ]; then\n"
486
"\n"
487
"    # Check for recent enough version of bash.\n"
488
"    if [ ${BASH_VERSINFO[0]} -gt 4 ] || \\\n"
489
"       [ ${BASH_VERSINFO[0]} -eq 4 -a ${BASH_VERSINFO[1]} -ge 1 ]; then\n"
490
"       [ -r \"${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion\" ] &amp;&amp; \\\n"
491
"            . \"${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion\"\n"
492
"       if shopt -q progcomp &amp;&amp; [ -r /usr/share/bash-completion/bash_completion ]; then\n"
493
"          # Source completion code.\n"
494
"          . /usr/share/bash-completion/bash_completion\n"
495
"       fi\n"
496
"    fi\n"
497
"  fi\n"
498
"\n"
499
"else\n"
500
"\n"
501
"  # bash-completions are not installed, use only bash completion directory\n"
502
"  if shopt -q progcomp; then\n"
503
"    for script in /etc/bash_completion.d/* ; do\n"
504
"      if [ -r $script ] ; then\n"
505
"        . $script\n"
506
"      fi\n"
507
"    done\n"
508
"  fi\n"
509
"fi\n"
510
"\n"
7280 jlepiller 511
"# End /etc/profile.d/bash_completion.sh</literal>\n"
512
"EOF</userinput>"
513
 
514
#. type: Content of: <sect1><sect2><sect3><para>
7688 jlepiller 515
#: blfs-en/postlfs/config/profile.xml:242
7280 jlepiller 516
msgid "Make sure that the directory exists:"
517
msgstr "Assurez-vous que le répertoire existe&nbsp;:"
518
 
519
#. type: Content of: <sect1><sect2><sect3><screen>
7688 jlepiller 520
#: blfs-en/postlfs/config/profile.xml:244
7280 jlepiller 521
#, no-wrap
7323 jlepiller 522
msgid ""
523
"<userinput>install --directory --mode=0755 --owner=root --group=root "
524
"/etc/bash_completion.d</userinput>"
525
msgstr ""
526
"<userinput>install --directory --mode=0755 --owner=root --group=root "
527
"/etc/bash_completion.d</userinput>"
7280 jlepiller 528
 
7687 jlepiller 529
#. type: Content of: <sect1><sect2><sect3><para>
7688 jlepiller 530
#: blfs-en/postlfs/config/profile.xml:246
7687 jlepiller 531
msgid ""
532
"For a more complete installation, see <ulink url=\"&blfs-wiki;/bash-shell-"
533
"startup-files#bash-completions\"/>."
534
msgstr ""
7691 jlepiller 535
"Pour une installation plus complète, voir <ulink url=\"&blfs-wiki;/bash-"
536
"shell-startup-files#bash-completions\"/>."
7687 jlepiller 537
 
7280 jlepiller 538
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7688 jlepiller 539
#: blfs-en/postlfs/config/profile.xml:252
540
#: blfs-en/postlfs/config/profile.xml:255
7156 jlepiller 541
msgid "/etc/profile.d/dircolors.sh"
542
msgstr "/etc/profile.d/dircolors.sh"
543
 
544
#. type: Content of: <sect1><sect2><sect3><para>
7688 jlepiller 545
#: blfs-en/postlfs/config/profile.xml:258
7156 jlepiller 546
msgid ""
7323 jlepiller 547
"This script uses the <filename>~/.dircolors</filename> and "
548
"<filename>/etc/dircolors</filename> files to control the colors of file "
549
"names in a directory listing. They control colorized output of things like "
550
"<command>ls --color</command>.  The explanation of how to initialize these "
551
"files is at the end of this section."
7156 jlepiller 552
msgstr ""
553
"Ce script utilise les fichiers <filename>~/.dircolors</filename> et "
554
"<filename>/etc/dircolors</filename> pour contrôler les couleurs des noms de "
555
"fichiers dans la liste du contenu d'un répertoire. Ils contrôlent la sortie "
556
"en couleurs de commandes telles que <command>ls --color</command>.  "
7323 jlepiller 557
"L'explication de la façon d'initialiser ces fichiers se trouvent à la fin de"
558
" cette section."
7156 jlepiller 559
 
560
#. type: Content of: <sect1><sect2><sect3><screen>
7688 jlepiller 561
#: blfs-en/postlfs/config/profile.xml:264
7156 jlepiller 562
#, no-wrap
563
msgid ""
564
"<userinput>cat &gt; /etc/profile.d/dircolors.sh &lt;&lt; \"EOF\"\n"
565
"<literal># Setup for /bin/ls and /bin/grep to support color, the alias is in /etc/bashrc.\n"
566
"if [ -f \"/etc/dircolors\" ] ; then\n"
567
"        eval $(dircolors -b /etc/dircolors)\n"
568
"fi\n"
569
"\n"
570
"if [ -f \"$HOME/.dircolors\" ] ; then\n"
571
"        eval $(dircolors -b $HOME/.dircolors)\n"
572
"fi\n"
573
"\n"
574
"alias ls='ls --color=auto'\n"
575
"alias grep='grep --color=auto'</literal>\n"
576
"EOF</userinput>"
577
msgstr ""
578
"<userinput>cat &gt; /etc/profile.d/dircolors.sh &lt;&lt; \"EOF\"\n"
579
"<literal># Setup for /bin/ls and /bin/grep to support color, the alias is in /etc/bashrc.\n"
580
"if [ -f \"/etc/dircolors\" ] ; then\n"
581
"        eval $(dircolors -b /etc/dircolors)\n"
582
"fi\n"
583
"\n"
584
"if [ -f \"$HOME/.dircolors\" ] ; then\n"
585
"        eval $(dircolors -b $HOME/.dircolors)\n"
586
"fi\n"
587
"\n"
588
"alias ls='ls --color=auto'\n"
589
"alias grep='grep --color=auto'</literal>\n"
590
"EOF</userinput>"
591
 
592
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7688 jlepiller 593
#: blfs-en/postlfs/config/profile.xml:281
594
#: blfs-en/postlfs/config/profile.xml:284
7156 jlepiller 595
msgid "/etc/profile.d/extrapaths.sh"
596
msgstr "/etc/profile.d/extrapaths.sh"
597
 
598
#. type: Content of: <sect1><sect2><sect3><para>
7688 jlepiller 599
#: blfs-en/postlfs/config/profile.xml:287
7156 jlepiller 600
msgid ""
601
"This script adds some useful paths to the <envar>PATH</envar> and can be "
602
"used to customize other PATH related environment variables (e.g. "
603
"LD_LIBRARY_PATH, etc) that may be needed for all users."
604
msgstr ""
605
"Ce script ajoute plusieurs chemins utiles aux variables d'environnement "
606
"<envar>PATH</envar> et peut être utilisé pour personnaliser les autres "
607
"variables d'environnement relatives à PATH (par exemple LD_LIBRARY_PATH, "
608
"etc) qui peuvent être utiles pour tous les utilisateurs."
609
 
610
#. type: Content of: <sect1><sect2><sect3><screen>
7688 jlepiller 611
#: blfs-en/postlfs/config/profile.xml:291
7156 jlepiller 612
#, no-wrap
613
msgid ""
614
"<userinput>cat &gt; /etc/profile.d/extrapaths.sh &lt;&lt; \"EOF\"\n"
615
"<literal>if [ -d /usr/local/lib/pkgconfig ] ; then\n"
616
"        pathappend /usr/local/lib/pkgconfig PKG_CONFIG_PATH\n"
617
"fi\n"
618
"if [ -d /usr/local/bin ]; then\n"
619
"        pathprepend /usr/local/bin\n"
620
"fi\n"
621
"if [ -d /usr/local/sbin -a $EUID -eq 0 ]; then\n"
622
"        pathprepend /usr/local/sbin\n"
623
"fi\n"
624
"\n"
625
"# Set some defaults before other applications add to these paths.\n"
626
"pathappend /usr/share/man  MANPATH\n"
627
"pathappend /usr/share/info INFOPATH</literal>\n"
628
"EOF</userinput>"
629
msgstr ""
630
"<userinput>cat &gt; /etc/profile.d/extrapaths.sh &lt;&lt; \"EOF\"\n"
631
"<literal>if [ -d /usr/local/lib/pkgconfig ] ; then\n"
632
"        pathappend /usr/local/lib/pkgconfig PKG_CONFIG_PATH\n"
633
"fi\n"
634
"if [ -d /usr/local/bin ]; then\n"
635
"        pathprepend /usr/local/bin\n"
636
"fi\n"
637
"if [ -d /usr/local/sbin -a $EUID -eq 0 ]; then\n"
638
"        pathprepend /usr/local/sbin\n"
639
"fi\n"
640
"\n"
641
"# Set some defaults before other applications add to these paths.\n"
642
"pathappend /usr/share/man  MANPATH\n"
643
"pathappend /usr/share/info INFOPATH</literal>\n"
644
"EOF</userinput>"
645
 
646
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7688 jlepiller 647
#: blfs-en/postlfs/config/profile.xml:310
648
#: blfs-en/postlfs/config/profile.xml:313
7156 jlepiller 649
msgid "/etc/profile.d/readline.sh"
650
msgstr "/etc/profile.d/readline.sh"
651
 
652
#. type: Content of: <sect1><sect2><sect3><para>
7688 jlepiller 653
#: blfs-en/postlfs/config/profile.xml:316
7156 jlepiller 654
msgid ""
655
"This script sets up the default <filename>inputrc</filename> configuration "
7323 jlepiller 656
"file. If the user does not have individual settings, it uses the global "
657
"file."
7156 jlepiller 658
msgstr ""
7323 jlepiller 659
"Ce script règle le fichier de configuration <filename>inputrc</filename> par"
660
" défaut. Si l'utilisateur n'a pas de paramètres individuels, il utilise le "
7156 jlepiller 661
"fichier global."
662
 
663
#. type: Content of: <sect1><sect2><sect3><screen>
7688 jlepiller 664
#: blfs-en/postlfs/config/profile.xml:320
7156 jlepiller 665
#, no-wrap
666
msgid ""
667
"<userinput>cat &gt; /etc/profile.d/readline.sh &lt;&lt; \"EOF\"\n"
668
"<literal># Setup the INPUTRC environment variable.\n"
669
"if [ -z \"$INPUTRC\" -a ! -f \"$HOME/.inputrc\" ] ; then\n"
670
"        INPUTRC=/etc/inputrc\n"
671
"fi\n"
672
"export INPUTRC</literal>\n"
673
"EOF</userinput>"
674
msgstr ""
675
"<userinput>cat &gt; /etc/profile.d/readline.sh &lt;&lt; \"EOF\"\n"
676
"<literal># Setup the INPUTRC environment variable.\n"
677
"if [ -z \"$INPUTRC\" -a ! -f \"$HOME/.inputrc\" ] ; then\n"
678
"        INPUTRC=/etc/inputrc\n"
679
"fi\n"
680
"export INPUTRC</literal>\n"
681
"EOF</userinput>"
682
 
683
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7688 jlepiller 684
#: blfs-en/postlfs/config/profile.xml:331
685
#: blfs-en/postlfs/config/profile.xml:334
7156 jlepiller 686
msgid "/etc/profile.d/umask.sh"
687
msgstr "/etc/profile.d/umask.sh"
688
 
689
#. type: Content of: <sect1><sect2><sect3><para>
7688 jlepiller 690
#: blfs-en/postlfs/config/profile.xml:337
7156 jlepiller 691
msgid ""
692
"Setting the <command>umask</command> value is important for security.  Here "
7323 jlepiller 693
"the default group write permissions are turned off for system users and when"
694
" the user name and group name are not the same."
7156 jlepiller 695
msgstr ""
696
"Le paramétrage de la valeur <command>umask</command> est important pour la "
697
"sécurité. Ici, les droits d'écriture par défaut du groupe sont désactivés "
698
"pour les utilisateurs systèmes et quand le nom d'utilisateur et le nom du "
699
"groupe ne sont pas les mêmes."
700
 
701
#. type: Content of: <sect1><sect2><sect3><screen>
7688 jlepiller 702
#: blfs-en/postlfs/config/profile.xml:341
7156 jlepiller 703
#, no-wrap
704
msgid ""
705
"<userinput>cat &gt; /etc/profile.d/umask.sh &lt;&lt; \"EOF\"\n"
706
"<literal># By default, the umask should be set.\n"
707
"if [ \"$(id -gn)\" = \"$(id -un)\" -a $EUID -gt 99 ] ; then\n"
708
"  umask 002\n"
709
"else\n"
710
"  umask 022\n"
711
"fi</literal>\n"
712
"EOF</userinput>"
713
msgstr ""
714
"<userinput>cat &gt; /etc/profile.d/umask.sh &lt;&lt; \"EOF\"\n"
715
"<literal># By default, the umask should be set.\n"
716
"if [ \"$(id -gn)\" = \"$(id -un)\" -a $EUID -gt 99 ] ; then\n"
717
"  umask 002\n"
718
"else\n"
719
"  umask 022\n"
720
"fi</literal>\n"
721
"EOF</userinput>"
722
 
723
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7688 jlepiller 724
#: blfs-en/postlfs/config/profile.xml:378
725
#: blfs-en/postlfs/config/profile.xml:381
7156 jlepiller 726
msgid "/etc/profile.d/i18n.sh"
727
msgstr "/etc/profile.d/i18n.sh"
728
 
729
#. type: Content of: <sect1><sect2><sect3><para>
7688 jlepiller 730
#: blfs-en/postlfs/config/profile.xml:384
7156 jlepiller 731
msgid ""
732
"This script sets an environment variable necessary for native language "
733
"support. A full discussion on determining this variable can be found on the "
734
"<ulink url=\"&lfs-root;/chapter07/profile.html\">LFS Bash Shell Startup "
735
"Files</ulink> page."
736
msgstr ""
737
"Ce script règle une variable d'environnement nécessaire au support des "
738
"langues natives. Vous pouvez trouver un point complet sur la détermination "
7323 jlepiller 739
"de cette variable sur la page <ulink url=\"&lfs-"
740
"root;/chapter07/profile.html\">Fichiers de démarrage du shell bash de "
741
"LFS</ulink>."
7156 jlepiller 742
 
743
#. type: Content of: <sect1><sect2><sect3><screen>
7688 jlepiller 744
#: blfs-en/postlfs/config/profile.xml:390
7156 jlepiller 745
#, no-wrap
746
msgid ""
747
"<userinput>cat &gt; /etc/profile.d/i18n.sh &lt;&lt; \"EOF\"\n"
748
"<literal># Set up i18n variables\n"
749
"export LANG=<replaceable>&lt;ll&gt;</replaceable>_<replaceable>&lt;CC&gt;</replaceable>.<replaceable>&lt;charmap&gt;</replaceable><replaceable>&lt;@modifiers&gt;</replaceable></literal>\n"
750
"EOF</userinput>"
751
msgstr ""
752
"<userinput>cat &gt; /etc/profile.d/i18n.sh &lt;&lt; \"EOF\"\n"
753
"<literal># Set up i18n variables\n"
754
"export LANG=<replaceable>&lt;ll&gt;</replaceable>_<replaceable>&lt;CC&gt;</replaceable>.<replaceable>&lt;charmap&gt;</replaceable><replaceable>&lt;@modifiers&gt;</replaceable></literal>\n"
755
"EOF</userinput>"
756
 
7684 jlepiller 757
#. type: Content of: <sect1><sect2><sect3><screen>
7688 jlepiller 758
#: blfs-en/postlfs/config/profile.xml:395
7684 jlepiller 759
#, no-wrap
760
msgid ""
761
"<userinput>cat &gt; /etc/profile.d/i18n.sh &lt;&lt; \"EOF\"\n"
762
"<literal># Set up i18n variables\n"
763
". /etc/locale.conf\n"
764
"export LANG</literal>\n"
765
"EOF</userinput>"
766
msgstr ""
767
"<userinput>cat &gt; /etc/profile.d/i18n.sh &lt;&lt; \"EOF\"\n"
768
"<literal># Set up i18n variables\n"
769
". /etc/locale.conf\n"
770
"export LANG</literal>\n"
771
"EOF</userinput>"
772
 
7156 jlepiller 773
#. type: Content of: <sect1><sect2><sect3><title>
7688 jlepiller 774
#: blfs-en/postlfs/config/profile.xml:404
7156 jlepiller 775
msgid "Other Initialization Values"
776
msgstr "Autres valeurs d'Initialisation"
777
 
778
#. type: Content of: <sect1><sect2><sect3><para>
7688 jlepiller 779
#: blfs-en/postlfs/config/profile.xml:406
7156 jlepiller 780
msgid ""
7323 jlepiller 781
"Other initialization can easily be added to the <filename>profile</filename>"
782
" by adding additional scripts to the <filename "
783
"class='directory'>/etc/profile.d</filename> directory."
7156 jlepiller 784
msgstr ""
785
"On peut facilement ajouter d'autres réglages à <filename>profile</filename> "
786
"en ajoutant des scripts supplémentaires au répertoire <filename "
787
"class='directory'>/etc/profile.d</filename>."
788
 
789
#. type: Content of: <sect1><sect2><indexterm><primary>
7688 jlepiller 790
#: blfs-en/postlfs/config/profile.xml:415
791
#: blfs-en/postlfs/config/profile.xml:418
7156 jlepiller 792
msgid "/etc/bashrc"
793
msgstr "/etc/bashrc"
794
 
795
#. type: Content of: <sect1><sect2><para>
7688 jlepiller 796
#: blfs-en/postlfs/config/profile.xml:421
7156 jlepiller 797
msgid ""
798
"Here is a base <filename>/etc/bashrc</filename>.  Comments in the file "
799
"should explain everything you need."
800
msgstr ""
801
"Voici un <filename>/etc/bashrc</filename> de base. Les commentaires dans ce "
802
"fichier devraient vous expliquer tout ce dont vous avez besoin."
803
 
804
#. type: Content of: <sect1><sect2><screen>
7688 jlepiller 805
#: blfs-en/postlfs/config/profile.xml:424
7156 jlepiller 806
#, no-wrap
807
msgid ""
808
"<userinput>cat &gt; /etc/bashrc &lt;&lt; \"EOF\"\n"
809
"<literal># Begin /etc/bashrc\n"
810
"# Written for Beyond Linux From Scratch\n"
811
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
812
"# updated by Bruce Dubbs &lt;bdubbs@&lfs-domainname;&gt;\n"
813
"\n"
814
"# System wide aliases and functions.\n"
815
"\n"
816
"# System wide environment variables and startup programs should go into\n"
817
"# /etc/profile.  Personal environment variables and startup programs\n"
818
"# should go into ~/.bash_profile.  Personal aliases and functions should\n"
819
"# go into ~/.bashrc\n"
820
"\n"
821
"# Provides colored /bin/ls and /bin/grep commands.  Used in conjunction\n"
822
"# with code in /etc/profile.\n"
823
"\n"
824
"alias ls='ls --color=auto'\n"
825
"alias grep='grep --color=auto'\n"
826
"\n"
827
"# Provides prompt for non-login shells, specifically shells started\n"
828
"# in the X environment. [Review the LFS archive thread titled\n"
829
"# PS1 Environment Variable for a great case study behind this script\n"
830
"# addendum.]\n"
831
"\n"
832
"NORMAL=\"\\[\\e[0m\\]\"\n"
833
"RED=\"\\[\\e[1;31m\\]\"\n"
834
"GREEN=\"\\[\\e[1;32m\\]\"\n"
835
"if [[ $EUID == 0 ]] ; then\n"
836
"  PS1=\"$RED\\u [ $NORMAL\\w$RED ]# $NORMAL\"\n"
837
"else\n"
838
"  PS1=\"$GREEN\\u [ $NORMAL\\w$GREEN ]\\$ $NORMAL\"\n"
839
"fi\n"
840
"\n"
841
"unset RED GREEN NORMAL\n"
842
"\n"
843
"# End /etc/bashrc</literal>\n"
844
"EOF</userinput>"
845
msgstr ""
846
"<userinput>cat &gt; /etc/bashrc &lt;&lt; \"EOF\"\n"
847
"<literal># Begin /etc/bashrc\n"
848
"# Written for Beyond Linux From Scratch\n"
849
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
850
"# updated by Bruce Dubbs &lt;bdubbs@&lfs-domainname;&gt;\n"
851
"\n"
852
"# System wide aliases and functions.\n"
853
"\n"
854
"# System wide environment variables and startup programs should go into\n"
855
"# /etc/profile.  Personal environment variables and startup programs\n"
856
"# should go into ~/.bash_profile.  Personal aliases and functions should\n"
857
"# go into ~/.bashrc\n"
858
"\n"
859
"# Provides colored /bin/ls and /bin/grep commands.  Used in conjunction\n"
860
"# with code in /etc/profile.\n"
861
"\n"
862
"alias ls='ls --color=auto'\n"
863
"alias grep='grep --color=auto'\n"
864
"\n"
865
"# Provides prompt for non-login shells, specifically shells started\n"
866
"# in the X environment. [Review the LFS archive thread titled\n"
867
"# PS1 Environment Variable for a great case study behind this script\n"
868
"# addendum.]\n"
869
"\n"
870
"NORMAL=\"\\[\\e[0m\\]\"\n"
871
"RED=\"\\[\\e[1;31m\\]\"\n"
872
"GREEN=\"\\[\\e[1;32m\\]\"\n"
873
"if [[ $EUID == 0 ]] ; then\n"
874
"  PS1=\"$RED\\u [ $NORMAL\\w$RED ]# $NORMAL\"\n"
875
"else\n"
876
"  PS1=\"$GREEN\\u [ $NORMAL\\w$GREEN ]\\$ $NORMAL\"\n"
877
"fi\n"
878
"\n"
879
"unset RED GREEN NORMAL\n"
880
"\n"
881
"# End /etc/bashrc</literal>\n"
882
"EOF</userinput>"
883
 
884
#. type: Content of: <sect1><sect2><indexterm><primary>
7688 jlepiller 885
#: blfs-en/postlfs/config/profile.xml:465
886
#: blfs-en/postlfs/config/profile.xml:468
7156 jlepiller 887
msgid "~/.bash_profile"
888
msgstr "~/.bash_profile"
889
 
890
#. type: Content of: <sect1><sect2><para>
7688 jlepiller 891
#: blfs-en/postlfs/config/profile.xml:471
7156 jlepiller 892
msgid ""
893
"Here is a base <filename>~/.bash_profile</filename>.  If you want each new "
894
"user to have this file automatically, just change the output of the command "
895
"to <filename>/etc/skel/.bash_profile</filename> and check the permissions "
7323 jlepiller 896
"after the command is run. You can then copy "
897
"<filename>/etc/skel/.bash_profile</filename> to the home directories of "
898
"already existing users, including <systemitem "
899
"class=\"username\">root</systemitem>, and set the owner and group "
900
"appropriately."
7156 jlepiller 901
msgstr ""
902
"Voici un <filename>~/.bash_profile</filename> de base. Si vous voulez que "
7323 jlepiller 903
"chaque nouvel utilisateur ait automatiquement ce fichier, renvoyez seulement"
904
" la sortie de la commande vers <filename>/etc/skel/.bash_profile</filename> "
7156 jlepiller 905
"et vérifiez les droits après l'exécution de la commande. Vous pouvez alors "
906
"copier <filename>/etc/skel/.bash_profile</filename> dans les répertoires "
7323 jlepiller 907
"home des utilisateurs existants, y compris celui de <systemitem "
908
"class=\"username\">root</systemitem>, et réglez comme il faut le "
909
"propriétaire et le groupe d'appartenance."
7156 jlepiller 910
 
911
#. type: Content of: <sect1><sect2><screen>
7688 jlepiller 912
#: blfs-en/postlfs/config/profile.xml:479
7156 jlepiller 913
#, no-wrap
914
msgid ""
915
"<userinput>cat &gt; ~/.bash_profile &lt;&lt; \"EOF\"\n"
916
"<literal># Begin ~/.bash_profile\n"
917
"# Written for Beyond Linux From Scratch\n"
918
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
919
"# updated by Bruce Dubbs &lt;bdubbs@&lfs-domainname;&gt;\n"
920
"\n"
921
"# Personal environment variables and startup programs.\n"
922
"\n"
923
"# Personal aliases and functions should go in ~/.bashrc.  System wide\n"
924
"# environment variables and startup programs are in /etc/profile.\n"
925
"# System wide aliases and functions are in /etc/bashrc.\n"
926
"\n"
927
"if [ -f \"$HOME/.bashrc\" ] ; then\n"
928
"  source $HOME/.bashrc\n"
929
"fi\n"
930
"\n"
931
"if [ -d \"$HOME/bin\" ] ; then\n"
932
"  pathprepend $HOME/bin\n"
933
"fi\n"
934
"\n"
935
"# Having . in the PATH is dangerous\n"
936
"#if [ $EUID -gt 99 ]; then\n"
937
"#  pathappend .\n"
938
"#fi\n"
939
"\n"
940
"# End ~/.bash_profile</literal>\n"
941
"EOF</userinput>"
942
msgstr ""
943
"<userinput>cat &gt; ~/.bash_profile &lt;&lt; \"EOF\"\n"
944
"<literal># Begin ~/.bash_profile\n"
945
"# Written for Beyond Linux From Scratch\n"
946
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
947
"# updated by Bruce Dubbs &lt;bdubbs@&lfs-domainname;&gt;\n"
948
"\n"
949
"# Personal environment variables and startup programs.\n"
950
"\n"
951
"# Personal aliases and functions should go in ~/.bashrc.  System wide\n"
952
"# environment variables and startup programs are in /etc/profile.\n"
953
"# System wide aliases and functions are in /etc/bashrc.\n"
954
"\n"
955
"if [ -f \"$HOME/.bashrc\" ] ; then\n"
956
"  source $HOME/.bashrc\n"
957
"fi\n"
958
"\n"
959
"if [ -d \"$HOME/bin\" ] ; then\n"
960
"  pathprepend $HOME/bin\n"
961
"fi\n"
962
"\n"
963
"# Having . in the PATH is dangerous\n"
964
"#if [ $EUID -gt 99 ]; then\n"
965
"#  pathappend .\n"
966
"#fi\n"
967
"\n"
968
"# End ~/.bash_profile</literal>\n"
969
"EOF</userinput>"
970
 
971
#. type: Content of: <sect1><sect2><indexterm><primary>
7688 jlepiller 972
#: blfs-en/postlfs/config/profile.xml:510
973
#: blfs-en/postlfs/config/profile.xml:513
7244 jlepiller 974
msgid "~/.profile"
975
msgstr "~/.profile"
7156 jlepiller 976
 
977
#. type: Content of: <sect1><sect2><para>
7688 jlepiller 978
#: blfs-en/postlfs/config/profile.xml:516
7156 jlepiller 979
msgid ""
7244 jlepiller 980
"Here is a base <filename>~/.profile</filename>. The comments and "
7156 jlepiller 981
"instructions for using <filename class=\"directory\">/etc/skel</filename> "
982
"for <filename>.bash_profile</filename> above also apply here. Only the "
983
"target file names are different."
984
msgstr ""
7244 jlepiller 985
"Voici un <filename>~/.profile</filename> de base. Les commentaires et les "
7323 jlepiller 986
"instructions d'utilisation de <filename "
987
"class=\"directory\">/etc/skel</filename> pour "
988
"<filename>.bash_profile</filename> ci-dessus s'appliquent aussi ici. Seuls "
989
"les noms de fichiers cibles sont différents."
7156 jlepiller 990
 
991
#. type: Content of: <sect1><sect2><screen>
7688 jlepiller 992
#: blfs-en/postlfs/config/profile.xml:521
7156 jlepiller 993
#, no-wrap
994
msgid ""
7244 jlepiller 995
"<userinput>cat &gt; ~/.profile &lt;&lt; \"EOF\"\n"
996
"<literal># Begin ~/.profile\n"
997
"# Personal environment variables and startup programs.\n"
998
"\n"
999
"if [ -d \"$HOME/bin\" ] ; then\n"
1000
"  pathprepend $HOME/bin\n"
1001
"fi\n"
1002
"\n"
7296 jlepiller 1003
"# Set up user specific i18n variables\n"
1004
"#export LANG=<replaceable>&lt;ll&gt;</replaceable>_<replaceable>&lt;CC&gt;</replaceable>.<replaceable>&lt;charmap&gt;</replaceable><replaceable>&lt;@modifiers&gt;</replaceable>\n"
1005
"\n"
7244 jlepiller 1006
"# End ~/.profile</literal>\n"
1007
"EOF</userinput>"
1008
msgstr ""
1009
"<userinput>cat &gt; ~/.profile &lt;&lt; \"EOF\"\n"
1010
"<literal># Begin ~/.profile\n"
1011
"# Personal environment variables and startup programs.\n"
1012
"\n"
1013
"if [ -d \"$HOME/bin\" ] ; then\n"
1014
"  pathprepend $HOME/bin\n"
1015
"fi\n"
1016
"\n"
7296 jlepiller 1017
"# Set up user specific i18n variables\n"
1018
"#export LANG=<replaceable>&lt;ll&gt;</replaceable>_<replaceable>&lt;CC&gt;</replaceable>.<replaceable>&lt;charmap&gt;</replaceable><replaceable>&lt;@modifiers&gt;</replaceable>\n"
1019
"\n"
7244 jlepiller 1020
"# End ~/.profile</literal>\n"
1021
"EOF</userinput>"
1022
 
1023
#. type: Content of: <sect1><sect2><indexterm><primary>
7688 jlepiller 1024
#: blfs-en/postlfs/config/profile.xml:538
1025
#: blfs-en/postlfs/config/profile.xml:541
7244 jlepiller 1026
msgid "~/.bashrc"
1027
msgstr "~/.bashrc"
1028
 
1029
#. type: Content of: <sect1><sect2><para>
7688 jlepiller 1030
#: blfs-en/postlfs/config/profile.xml:544
7244 jlepiller 1031
msgid "Here is a base <filename>~/.bashrc</filename>."
1032
msgstr "voici un fichier <filename>~/.bashrc</filename> de base."
1033
 
1034
#. type: Content of: <sect1><sect2><screen>
7688 jlepiller 1035
#: blfs-en/postlfs/config/profile.xml:546
7244 jlepiller 1036
#, no-wrap
1037
msgid ""
7156 jlepiller 1038
"<userinput>cat &gt; ~/.bashrc &lt;&lt; \"EOF\"\n"
1039
"<literal># Begin ~/.bashrc\n"
1040
"# Written for Beyond Linux From Scratch\n"
1041
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
1042
"\n"
1043
"# Personal aliases and functions.\n"
1044
"\n"
1045
"# Personal environment variables and startup programs should go in\n"
1046
"# ~/.bash_profile.  System wide environment variables and startup\n"
1047
"# programs are in /etc/profile.  System wide aliases and functions are\n"
1048
"# in /etc/bashrc.\n"
1049
"\n"
1050
"if [ -f \"/etc/bashrc\" ] ; then\n"
1051
"  source /etc/bashrc\n"
1052
"fi\n"
1053
"\n"
7296 jlepiller 1054
"# Set up user specific i18n variables\n"
1055
"#export LANG=<replaceable>&lt;ll&gt;</replaceable>_<replaceable>&lt;CC&gt;</replaceable>.<replaceable>&lt;charmap&gt;</replaceable><replaceable>&lt;@modifiers&gt;</replaceable>\n"
1056
"\n"
7156 jlepiller 1057
"# End ~/.bashrc</literal>\n"
1058
"EOF</userinput>"
1059
msgstr ""
1060
"<userinput>cat &gt; ~/.bashrc &lt;&lt; \"EOF\"\n"
1061
"<literal># Begin ~/.bashrc\n"
1062
"# Written for Beyond Linux From Scratch\n"
1063
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
1064
"\n"
1065
"# Personal aliases and functions.\n"
1066
"\n"
1067
"# Personal environment variables and startup programs should go in\n"
1068
"# ~/.bash_profile.  System wide environment variables and startup\n"
1069
"# programs are in /etc/profile.  System wide aliases and functions are\n"
1070
"# in /etc/bashrc.\n"
1071
"\n"
1072
"if [ -f \"/etc/bashrc\" ] ; then\n"
1073
"  source /etc/bashrc\n"
1074
"fi\n"
1075
"\n"
7296 jlepiller 1076
"# Set up user specific i18n variables\n"
1077
"#export LANG=<replaceable>&lt;ll&gt;</replaceable>_<replaceable>&lt;CC&gt;</replaceable>.<replaceable>&lt;charmap&gt;</replaceable><replaceable>&lt;@modifiers&gt;</replaceable>\n"
1078
"\n"
7156 jlepiller 1079
"# End ~/.bashrc</literal>\n"
1080
"EOF</userinput>"
1081
 
1082
#. type: Content of: <sect1><sect2><indexterm><primary>
7688 jlepiller 1083
#: blfs-en/postlfs/config/profile.xml:572
1084
#: blfs-en/postlfs/config/profile.xml:575
7156 jlepiller 1085
msgid "~/.bash_logout"
1086
msgstr "~/.bash_logout"
1087
 
1088
#. type: Content of: <sect1><sect2><para>
7688 jlepiller 1089
#: blfs-en/postlfs/config/profile.xml:578
7156 jlepiller 1090
msgid ""
1091
"This is an empty <filename>~/.bash_logout</filename> that can be used as a "
7323 jlepiller 1092
"template.  You will notice that the base <filename>~/.bash_logout</filename>"
1093
" does not include a <userinput>clear</userinput> command.  This is because "
7156 jlepiller 1094
"the clear is handled in the <filename>/etc/issue</filename> file."
1095
msgstr ""
1096
"C'est un <filename>~/.bash_logout</filename> vide qui peut être utilisé "
7323 jlepiller 1097
"comme modèle. Vous remarquerez que le <filename>~/.bash_logout</filename> de"
1098
" base n'inclut pas de commande <userinput>clear</userinput>. Ceci car le "
7156 jlepiller 1099
"vidage se gère dans le fichier <filename>/etc/issue</filename>."
1100
 
1101
#. type: Content of: <sect1><sect2><screen>
7688 jlepiller 1102
#: blfs-en/postlfs/config/profile.xml:583
7156 jlepiller 1103
#, no-wrap
1104
msgid ""
1105
"<userinput>cat &gt; ~/.bash_logout &lt;&lt; \"EOF\"\n"
1106
"<literal># Begin ~/.bash_logout\n"
1107
"# Written for Beyond Linux From Scratch\n"
1108
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
1109
"\n"
1110
"# Personal items to perform on logout.\n"
1111
"\n"
1112
"# End ~/.bash_logout</literal>\n"
1113
"EOF</userinput>"
1114
msgstr ""
1115
"<userinput>cat &gt; ~/.bash_logout &lt;&lt; \"EOF\"\n"
1116
"<literal># Begin ~/.bash_logout\n"
1117
"# Written for Beyond Linux From Scratch\n"
1118
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
1119
"\n"
1120
"# Personal items to perform on logout.\n"
1121
"\n"
1122
"# End ~/.bash_logout</literal>\n"
1123
"EOF</userinput>"
1124
 
1125
#. type: Content of: <sect1><sect2><indexterm><primary>
7688 jlepiller 1126
#: blfs-en/postlfs/config/profile.xml:597
1127
#: blfs-en/postlfs/config/profile.xml:600
7156 jlepiller 1128
msgid "/etc/dircolors"
1129
msgstr "/etc/dircolors"
1130
 
1131
#. type: Content of: <sect1><sect2><indexterm><primary>
7688 jlepiller 1132
#: blfs-en/postlfs/config/profile.xml:604
7156 jlepiller 1133
msgid "~/.dircolors"
1134
msgstr "~/.dircolors"
1135
 
1136
#. type: Content of: <sect1><sect2><para>
7688 jlepiller 1137
#: blfs-en/postlfs/config/profile.xml:607
7156 jlepiller 1138
msgid ""
1139
"If you want to use the <filename>dircolors</filename> capability, then run "
7323 jlepiller 1140
"the following command. The <filename "
1141
"class=\"directory\">/etc/skel</filename> setup steps shown above also can be"
1142
" used here to provide a <filename>~/.dircolors</filename> file when a new "
1143
"user is set up. As before, just change the output file name on the following"
1144
" command and assure the permissions, owner, and group are correct on the "
1145
"files created and/or copied."
7156 jlepiller 1146
msgstr ""
1147
"Si vous utilisez la possibilité <filename>dircolors</filename>, lancez la "
7323 jlepiller 1148
"commande suivante. Les étapes de paramétrage de <filename "
1149
"class=\"directory\">/etc/skel</filename> indiquées ci-dessus peuvent être "
1150
"utilisées ici pour avoir un fichier <filename>~/.dircolors</filename> lors "
1151
"du réglage d'un nouvel utilisateur. Comme tout à l'heure, changez simplement"
1152
" le nom du fichier de sorti dans la commande suivante et assurez-vous que "
1153
"les droits, le propriétaire et le groupe conviennent aux fichiers créés ou "
1154
"copiés."
7156 jlepiller 1155
 
1156
#. type: Content of: <sect1><sect2><screen>
7688 jlepiller 1157
#: blfs-en/postlfs/config/profile.xml:615
7156 jlepiller 1158
#, no-wrap
1159
msgid "<userinput>dircolors -p > /etc/dircolors</userinput>"
1160
msgstr "<userinput>dircolors -p > /etc/dircolors</userinput>"
1161
 
1162
#. type: Content of: <sect1><sect2><para>
7688 jlepiller 1163
#: blfs-en/postlfs/config/profile.xml:617
7156 jlepiller 1164
msgid ""
1165
"If you wish to customize the colors used for different file types, you can "
7244 jlepiller 1166
"edit the <filename>/etc/dircolors</filename> file. The instructions for "
7156 jlepiller 1167
"setting the colors are embedded in the file."
1168
msgstr ""
7323 jlepiller 1169
"Si vous souhaitez personnaliser les couleurs utilisées pour différents types"
1170
" de fichiers, vous devez éditer le fichier "
1171
"<filename>/etc/dircolors</filename>. Les instructions pour régler les "
1172
"couleurs sont comprises dans le fichier."
7156 jlepiller 1173
 
1174
#. type: Content of: <sect1><sect2><para>
7688 jlepiller 1175
#: blfs-en/postlfs/config/profile.xml:622
7156 jlepiller 1176
msgid ""
1177
"Finally, Ian Macdonald has written an excellent collection of tips and "
1178
"tricks to enhance your shell environment.  You can read it online at <ulink "
1179
"url=\"http://www.caliban.org/bash/index.shtml\"/>."
1180
msgstr ""
1181
"Enfin, Ian Macdonald a écrit un ensemble excellent de modèles et de "
1182
"bidouillages pour améliorer votre environnement de shell. Vous pouvez le "
1183
"lire en ligne sur <ulink url=\"http://www.caliban.org/bash/index.shtml\"/>."
7296 jlepiller 1184
 
1185
#~ msgid ""
7687 jlepiller 1186
#~ "<userinput>cat &gt; /etc/profile.d/bash_completion.sh &lt;&lt; \"EOF\"\n"
1187
#~ "<literal># Begin /etc/profile.d/bash_completion.sh\n"
1188
#~ "# Import bash completion scripts\n"
1189
#~ "\n"
1190
#~ "for script in /etc/bash_completion.d/*.sh ; do\n"
1191
#~ "        if [ -r $script ] ; then\n"
1192
#~ "                . $script\n"
1193
#~ "        fi\n"
1194
#~ "done\n"
1195
#~ "# End /etc/profile.d/bash_completion.sh</literal>\n"
1196
#~ "EOF</userinput>"
1197
#~ msgstr ""
1198
#~ "<userinput>cat &gt; /etc/profile.d/bash_completion.sh &lt;&lt; \"EOF\"\n"
1199
#~ "<literal># Begin /etc/profile.d/bash_completion.sh\n"
1200
#~ "# Import bash completion scripts\n"
1201
#~ "\n"
1202
#~ "for script in /etc/bash_completion.d/*.sh ; do\n"
1203
#~ "        if [ -r $script ] ; then\n"
1204
#~ "                . $script\n"
1205
#~ "        fi\n"
1206
#~ "done\n"
1207
#~ "# End /etc/profile.d/bash_completion.sh</literal>\n"
1208
#~ "EOF</userinput>"
1209
 
1210
#~ msgid ""
7296 jlepiller 1211
#~ "<userinput>cat &gt; ~/.profile &lt;&lt; \"EOF\"\n"
1212
#~ "<literal># Begin ~/.profile\n"
1213
#~ "# Personal environment variables and startup programs.\n"
1214
#~ "\n"
1215
#~ "if [ -d \"$HOME/bin\" ] ; then\n"
1216
#~ "  pathprepend $HOME/bin\n"
1217
#~ "fi\n"
1218
#~ "\n"
1219
#~ "# End ~/.profile</literal>\n"
1220
#~ "EOF</userinput>"
1221
#~ msgstr ""
1222
#~ "<userinput>cat &gt; ~/.profile &lt;&lt; \"EOF\"\n"
1223
#~ "<literal># Begin ~/.profile\n"
1224
#~ "# Personal environment variables and startup programs.\n"
1225
#~ "\n"
1226
#~ "if [ -d \"$HOME/bin\" ] ; then\n"
1227
#~ "  pathprepend $HOME/bin\n"
1228
#~ "fi\n"
1229
#~ "\n"
1230
#~ "# End ~/.profile</literal>\n"
1231
#~ "EOF</userinput>"