Ignore:
Timestamp:
05/04/2003 05:39:22 PM (21 years ago)
Author:
Larry Lawrence <larry@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
342dc1e4
Parents:
3fedd09
Message:

tagged some writeups

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@903 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/config/profile.xml

    r3fedd09 r766bbe40  
    1212<filename>/etc/passwd</filename> file.  An
    1313interactive non-login shell is started at the command line (e.g.
    14 [prompt]$<userinput>/bin/bash</userinput>).  A non-interactive shell is
    15 usually present when a shell script is running.  It is non-interactive
     14<prompt>[prompt]$</prompt><command>/bin/bash</command>).  A non-interactive
     15shell is usually present when a shell script is running.  It is non-interactive
    1616because it is processing a script and not waiting for user input between
    1717commands.</para>
    1818
    19 <para>For more information see <filename>info bash</filename> -- Nodes:
    20 Bash Startup Files and Interactive Shells</para>
     19<para>For more information see <command>info bash</command> --
     20<emphasis role="strong">Nodes: Bash Startup Files and Interactive
     21Shells.</emphasis></para>
    2122
    2223<para>The following files are needed to make sure that the correct
     
    3536<para>Here is a base <filename>/etc/profile</filename>.  Comments in the
    3637file should explain everything you need.  For more information on the
    37 escape sequences you can use for your prompt (e.g.  the PS1 environment
    38 variable) see <filename>info bash</filename> -- Node: Printing a
    39 Prompt.</para>
    40 
    41 <para><screen># Begin /etc/profile
     38escape sequences you can use for your prompt (e.g.  the
     39<envar>PS1</envar> environment variable) see <command>info
     40bash</command> -- <emphasis role="strong">Node: Printing a
     41Prompt.</emphasis></para>
     42
     43<screen><userinput><command>cat &gt; /etc/profile &lt;&lt; "EOF"</command>
     44# Begin /etc/profile
    4245# Written for Beyond Linux From Scratch
    4346# by James Robertson &lt;jameswrobertson@earthlink.net&gt;
     
    98101export PATH HISTSIZE PS1 LS_COLORS INPUTRC
    99102
    100 # End /etc/profile</screen></para>
     103# End /etc/profile
     104<command>EOF</command></userinput></screen>
    101105
    102106<para>Here is a base <filename>/etc/bashrc</filename>.  Comments in the
    103107file should explain everything you need.</para>
    104108
    105 <para><screen># Begin /etc/bashrc
     109<screen><userinput><command>cat &gt; /etc/bashrc &lt;&lt; "EOF"</command>
     110# Begin /etc/bashrc
    106111# Written for Beyond Linux From Scratch
    107112# by James Robertson &lt;jameswrobertson@earthlink.net&gt;
     
    126131alias ls='ls --color=auto'
    127132
    128 # End /etc/bashrc</screen></para>
     133# End /etc/bashrc
     134<command>EOF</command></userinput></screen>
    129135
    130136<para>Here is a base <filename>~/.bash_profile</filename>.  Comments in
    131137the file should explain everything you need.</para>
    132138
    133 <para><screen># Begin ~/.bash_profile
     139<screen><userinput><command>cat &gt; ~/.bash_profile &lt;&lt; "EOF"</command>
     140# Begin ~/.bash_profile
    134141# Written for Beyond Linux From Scratch
    135142# by James Robertson &lt;jameswrobertson@earthlink.net&gt;
     
    151158export PATH
    152159
    153 # End ~/.bash_profile</screen></para>
     160# End ~/.bash_profile
     161<command>EOF</command></userinput></screen>
    154162
    155163<para>Here is a base <filename>~/.bashrc</filename>.  Comments in the
    156164file should explain everything you need.</para>
    157165
    158 <para><screen># Begin ~/.bashrc
     166<screen><userinput><command>cat &gt; ~/.bashrc &lt;&lt; "EOF"</command>
     167# Begin ~/.bashrc
    159168# Written for Beyond Linux From Scratch
    160169# by James Robertson &lt;jameswrobertson@earthlink.net&gt;
     
    171180fi
    172181
    173 # End ~/.bashrc</screen></para>
     182# End ~/.bashrc
     183<command>EOF</command></userinput></screen>
    174184
    175185<para>Here is a base <filename>~/.bash_logout</filename>.  Comments in
     
    179189handled in the <filename>/etc/issue</filename> file.</para>
    180190
    181 <para><screen># Begin ~/.bash_logout
     191<screen><userinput><command>cat &gt; ~/.bash_logout &lt;&lt; "EOF"</command>
     192# Begin ~/.bash_logout
    182193# Written for Beyond Linux From Scratch
    183194# by James Robertson &lt;jameswrobertson@earthlink.net&gt;
     
    185196# Personal items to perform on logout.
    186197
    187 # End ~/.bash_logout</screen></para>
     198# End ~/.bash_logout
     199<command>EOF</command></userinput></screen>
    188200
    189201<para>If you want to use the <filename>/etc/dircolors</filename> or
Note: See TracChangeset for help on using the changeset viewer.