- Timestamp:
- 08/31/2004 07:58:43 PM (20 years ago)
- Branches:
- 6.0
- Children:
- 3be2393
- Parents:
- 2e3a473d
- Location:
- chapter06
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/flex.xml
r2e3a473d r3890f5a 68 68 calls <filename>flex</filename> in lex emulation mode:</para> 69 69 70 <screen><userinput>cat > /usr/bin/lex << "EOF" </userinput>71 #!/bin/sh70 <screen><userinput>cat > /usr/bin/lex << "EOF" 71 <literal>#!/bin/sh 72 72 # Begin /usr/bin/lex 73 73 74 74 exec /usr/bin/flex -l "$@" 75 75 76 # End /usr/bin/lex 77 <userinput>EOF76 # End /usr/bin/lex</literal> 77 EOF 78 78 chmod 755 /usr/bin/lex</userinput></screen> 79 79 -
chapter06/glibc.xml
r2e3a473d r3890f5a 195 195 196 196 <screen><userinput>cat > /etc/nsswitch.conf << "EOF" 197 # Begin /etc/nsswitch.conf197 <literal># Begin /etc/nsswitch.conf 198 198 199 199 passwd: files … … 209 209 rpc: files 210 210 211 # End /etc/nsswitch.conf 211 # End /etc/nsswitch.conf</literal> 212 212 EOF</userinput></screen> 213 213 … … 266 266 267 267 <screen><userinput>cat > /etc/ld.so.conf << "EOF" 268 # Begin /etc/ld.so.conf268 <literal># Begin /etc/ld.so.conf 269 269 270 270 /usr/local/lib 271 271 /opt/lib 272 272 273 # End /etc/ld.so.conf 273 # End /etc/ld.so.conf</literal> 274 274 EOF</userinput></screen> 275 275 -
chapter06/pwdgroup.xml
r2e3a473d r3890f5a 24 24 25 25 <screen><userinput>cat > /etc/passwd << "EOF" 26 root:x:0:0:root:/root:/bin/bash 26 <literal>root:x:0:0:root:/root:/bin/bash</literal> 27 27 EOF</userinput></screen> 28 28 … … 34 34 35 35 <screen><userinput>cat > /etc/group << "EOF" 36 root:x:0:36 <literal>root:x:0: 37 37 bin:x:1: 38 38 sys:x:2: … … 48 48 video:x:12: 49 49 utmp:x:13: 50 usb:x:14: 50 usb:x:14:</literal> 51 51 EOF</userinput></screen> 52 52 -
chapter06/sysklogd.xml
r2e3a473d r3890f5a 62 62 63 63 <screen><userinput>cat > /etc/syslog.conf << "EOF" 64 # Begin /etc/syslog.conf64 <literal># Begin /etc/syslog.conf 65 65 66 66 auth,authpriv.* -/var/log/auth.log … … 72 72 *.emerg * 73 73 74 # End /etc/syslog.conf 74 # End /etc/syslog.conf</literal> 75 75 EOF</userinput></screen> 76 76 -
chapter06/sysvinit.xml
r2e3a473d r3890f5a 71 71 72 72 <screen><userinput>cat > /etc/inittab << "EOF" 73 # Begin /etc/inittab73 <literal># Begin /etc/inittab 74 74 75 75 id:3:initdefault: … … 96 96 6:2345:respawn:/sbin/agetty -I '\033(K' tty6 9600 97 97 98 # End /etc/inittab 98 # End /etc/inittab</literal> 99 99 EOF</userinput></screen> 100 100 -
chapter06/vim.xml
r2e3a473d r3890f5a 104 104 105 105 <screen><userinput>cat > /etc/vimrc << "EOF" 106 " Begin /etc/vimrc106 <literal>" Begin /etc/vimrc 107 107 108 108 set nocompatible … … 113 113 endif 114 114 115 " End /etc/vimrc 115 " End /etc/vimrc</literal> 116 116 EOF</userinput></screen> 117 117
Note:
See TracChangeset
for help on using the changeset viewer.