| [ CnUnix ] in KIDS 글 쓴 이(By): pictor (홍헌수) 날 짜 (Date): 1996년04월19일(금) 13시23분46초 KST 제 목(Title): [Re][질문/초보] shell script를 배울려면 글쎄... 아주 기본적인 shell script들과 그에 관한 설명들은 ftp://cair-archive.kaist.ac.kr/incoming/doc/unix.doc/usd/03.shell.tar.Z 이라는 file에 들어있습니다. 이 file은 제가 올려놓은 것인데(예전에), 근데 비록 .Z로 끝난 file이지만 uncompress시킬려면 gzip -d을 시켜야 uncompress시킬 수 있었습니다.(uncompress 라는 명령을 쓰면 말을 먹지 않았음) 1) ftp로 03.shell.tar.Z을 가져온다음 2) gzip -d 03.shell.tar.Z 하여 압죽을 풀고, 3) tar xvf 03.shell.tar하여 tar를 풀고.. 하면 여러 file들이 생길것입니다. ( file들은 각각 t.mac.Z t1.Z t2.Z t3.Z t4.Z임) 4) 이들을 모두 uncompress *Z하여 압축을 풀고... 5) nroff -msU t.mac t1> file1 nroff -msU t.mac t2> file2 nroff -msU t.mac t3> file3 nroff -msU t.mac t4> file4 한 다음.. 6) more file1하여 file내용을 보면 됩니다. 5)에서 tmac.sU가 없다고 error를 줄지도 모르겠군요. 그땐 /usr/share/tmac/tmac.sU 가 없어서 그러할텐데.. 그땐 anonymous ftp site에 가서 tmac.sU를 가져다 /usr/share/tmac/tmac.sU에 copy해 놓아야 합니다. 적당한 anonymous ftp site로는 ftp://hwarang.postech.ac.kr/pub/bsd-sources/share/tmac/tmac.sU.Z 입니다. 근데.. 도움이 될려나?? |