課後練習1 - 解答

題01: cd ~

題02: mkdir www

題03: cd www

題04: nano index.html

題05: 將網頁12行選取後按ctrl+c,再到putty.exe畫面按滑鼠右鍵

題06: 用 ctrl+w 再輸入 poter

題07: 用 ctrl+w 再按 ctrl+t 再輸入 8 , 再按 ctrl+k 3次

題08: 用 ctrl+o 再按 ctrl+x

題09: chmod 755 index.html


題10:cd ~

題11:ls -al

題12:cp -v -R www ttt

題13:ls -al

題14:rm -rf www

題15:ls -al

題16:mv ttt www

題17:cd www

題18:cat index.html

題19:cat index.html > a.log

題20:ls -al >> a.log

題21:cat a.log

題22:more a.log

題23:mv a.log b.log

題24:mv b.log ..

題25:cd ..

題26:ls -al


題27:pwd

題28:whereis ping

題29:find /etc -name rc.local -print

題30:file /etc/rc.d/rc.local

題31:cd ~

題32:cp /etc/rc.d/rc.local .

題33:cat rc.local | grep "#" > a.log

題34:rm -rf *.log