rrktqtLinuxLinuxbashLinuxshelllscpmvLinuxLinuxLinuxLinuxLinux:Linux://rrktqt.discuz.net1/542007-01-26PoweredbyX-SpacerrktqtLinuxbashbashshellbashbashcd.....cdLinuxLinuxls123mkdirmkdir-ptouchechoechocatcpmvrmrmdirrm*?[][!]://rrktqt.discuz.net3/542007-01-26PoweredbyX-SpacerrktqtLinuxbashbashshell:2007-01-2620:56:33Linux$shellshellbash:2007-01-2620:57:26bash$echo$SHELL/bin/bashbashshell:2007-01-2620:57:58BashBourne-againshellLinuxshellshellLinuxshellexitlogoutbashcontrol-D:2007-01-2620:58:33bashbash$$cd/bash//cd:2007-01-2620:59:04bash$pwd/cd/cd/:2007-01-2620:59:46/dev/usr/usr/bin/usr/local/bin//usr/local/bincd/usrlocalbin/:2007-01-2621:00:17Bashcd//usr$cd/usr/usr/local/bin$cdlocal/bin$pwd/usr/local/bin:2007-01-2621:00:48....$pwd/usr/local/bin$cd..$pwd/usr/local/usr/local:2007-01-2621:01:23..$pwd/usr/local$cd../share$pwd/usr/share:2007-01-2621:02:02$cd/bin$cd../usr/share/zoneinfo$cd/usr/X11R6/bin$cd../lib/X11$cd/usr/bin$cd../bin/../bin:2007-01-2621:02:34cd.cd$./myprogmyprog:2007-01-2621:03:08$cdcd/root/home/usernamemyprog$./myprog/home/drobbins/myfile.txt~$./myprog~/myfile.txt:2007-01-2621:03:39Bash~fredfredsfile.txt$./myprog~fred/fredsfile.txt:2007-01-2621:04:38lslsls$cd/usr$lsX11R6doci686-pc-linux-gnulibmansbinsslbingentoo-x86includelibexecportagesharetmpdistfilesi686-linuxinfolocalportage.oldsrc-a.ls-a...$ls-a.bingentoo-x86includelibexecportagesharetmp..distfilesi686-linuxinfolocalportage.oldsrcX11R6doci686-pc-linux-gnulibmansbinssl:2007-01-2621:05:32lslsls-l:2007-01-2621:06:30-l/usr$ls-l/usrdrwxr-xr-x7rootroot168Nov2414:02X11R6drwxr-xr-x2rootroot14576Dec2708:56bindrwxr-xr-x2rootroot8856Dec2612:47distfileslrwxrwxrwx1rootroot9Dec2220:57doc-share/docdrwxr-xr-x62rootroot1856Dec2715:54gentoo-x86drwxr-xr-x4rootroot152Dec1223:10i686-linuxdrwxr-xr-x4rootroot96Nov2413:17i686-pc-linux-gnudrwxr-xr-x54rootroot5992Dec2422:30includelrwxrwxrwx1rootroot10Dec2220:57info-share/infodrwxr-xr-x28rootroot13552Dec2600:31libdrwxr-xr-x3rootroot72Nov2500:34libexecdrwxr-xr-x8rootroot240Dec2220:57locallrwxrwxrwx1rootroot9Dec2220:57man-share/manlrwxrwxrwx1rootroot11Dec807:59portage-gentoo-x86/drwxr-xr-x60rootroot1864Dec807:55portage.olddrwxr-xr-x3rootroot3096Dec2220:57sbindrwxr-xr-x46rootroot1144Dec2415:32sharedrwxr-xr-x8rootroot328Dec2600:07srcdrwxr-xr-x6rootroot176Nov2414:25ssllrwxrwxrwx1rootroot10Dec2220:57tmp-../var/tmpmtime-:2007-01-2621:07:00-dlsls$ls-dl/usr/usr/bin/usr/X11R6/bin../sharedrwxr-xr-x4rootroot96Dec1818:17../sharedrwxr-xr-x17rootroot576Dec2409:03/usrdrwxr-xr-x2rootroot3192Dec2612:52/usr/X11R6/bindrwxr-xr-x2rootroot14576Dec2708:56/usr/bin:2007-01-2621:07:36-d-Rls-Rls-Rlls-i$ls-i/usr1409X11R6314258i686-linux43090libexec13394sbin1417bin1513i686-pc-linux-gnu5120local13408share8316distfiles1517include776man23779src43doc1386info93892portage36737ssl70744gentoo-x861585lib5132portage.old784tmp:2007-01-2621:08:37...../usr/local$ls-id/usr/local5120/usr/local/usr/local5120/usr/local/bin/..$ls-id/usr/local/bin/..5120/usr/local/bin/..:2007-01-2621:09:20/usr/local/bin/../usr/local/usr/local5120/usr/local/usr/local/bin/..51205120:2007-01-2621:09:55ls-dl5120$ls-dl/usr/localdrwxr-xr-x8rootroot240Dec2220:57/usr/local/usr/local51208/usr/local/usr/local/./usr/local/bin/../usr/local/games/../usr/local/lib/../usr/local/sbin/../usr/local/share/../usr/local/src/..:2007-01-2621:10:28mkdirtictactoe/tmp$cd/tmp$mkdirtictactoemkdirwon/der/fulmkdir$mkdirwon/der/fulmkdir:cannotcreatedirect