Changeset ae79672 for chapter04/settingenviron.xml
- Timestamp:
- 12/19/2004 07:50:52 PM (19 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- e431af69
- Parents:
- 86ca6e7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter04/settingenviron.xml
r86ca6e7 rae79672 8 8 <?dbhtml filename="settingenvironment.html"?> 9 9 10 <!-- 10 11 <para>We're going to set up a good working environment by creating two new 11 12 startup files for the <command>bash</command> shell. While logged in as 12 13 user <emphasis>lfs</emphasis>, issue the following command to create a new 13 14 <filename>.bash_profile</filename>:</para> 15 --> 14 16 15 17 <screen><userinput>cat > ~/.bash_profile << "EOF" … … 17 19 EOF</userinput></screen> 18 20 21 <!-- 19 22 <para>Normally, when you log on as user <emphasis>lfs</emphasis>, 20 23 the initial shell is a <emphasis>login</emphasis> shell which reads the … … 32 35 <filename>.bash_profile</filename> files, but reads the 33 36 <filename>.bashrc</filename> file instead. Create this latter file now:</para> 37 --> 34 38 35 39 <screen><userinput>cat > ~/.bashrc << "EOF" … … 42 46 EOF</userinput></screen> 43 47 48 <!-- 44 49 <para>The <command>set +h</command> command turns off 45 50 <command>bash</command>'s hash function. Normally hashing is a useful … … 75 80 <para>Finally, to have our environment fully prepared for building the 76 81 temporary tools, source the just-created profile:</para> 82 --> 77 83 78 84 <screen><userinput>source ~/.bash_profile</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.