3. ¶
기 고, 게(?) 겼 구고 , 그 .
-
- 공개
- 권
- 공개 그
- 개
- 경
- 공개
-
http://www-903.ibm.com/kr/linux/value/advantage/
- 걸 거 .
- 걸 거 .
5.1. 기 ¶
- mkdir ( 기)
- mkdir ()
- )cd temp_file
- )cd temp_file
- mkdir ()
- rmdir ( 기)
- rmdir ()
- )rm temp_file
- )rm temp_file
- rmdir ()
- cd ( )
- cd ()
- )cd temp_file
- )cd temp_file
- cd .. 계 .
- ) cd .
- ) cd .
- cd ()
- ls ( 기)
- ls -l ( .)
- ls -1 ( .)
- 그 . 개 꺼 ls -1l .
- ls -l ( .)
- cp ()
- cp (1) (2) => 1 2 .
- ) cp aaa.txt bbb.txt
- ) cp aaa.txt bbb.txt
- cp 1 temp_file => 1 temp_file .
- cp 1 ../temp_file => 1 temp_file .
- cp (1) (2) => 1 2 .
- rm ( 기)
- rm (1) 1 .
- rm (1) 1 .
- mv ( 기기)
- cp .
- mv aaa.txt ccc.txt => aaa.txt ccc.txt 꾸 .
- mv aaa.txt ./temp_file => aaa.txt temp_file .
- cp .
- man ()
- man (고 ) . cp 고 man cp .
- man (고 ) . cp 고 man cp .
- chmod (권 )
- ls -l -rwxrwxrwx , 권 .
- 근 권 3 . r: read, w: write, x: excute 권
- 권 3 . rwx u(user), g(group), o(others) .
- chmod ugo+rwx aaa.txt => aaa.txt user, group, others게 고 고 권 .
- chmod u-r aaa.txt => aaa.txt 권 user .
- chmod 701 aaa.txt => user겐 rwx 권 고, group겐 권 고, others겐 x 권 .
- chmod ugo+rwx aaa.txt => aaa.txt user, group, others게 고 고 권 .
- ls -l -rwxrwxrwx , 권 .
5.3.2. ¶
- copy, paste 과 기 .
- => .
- G =>
- w =>
- b =>
- 고, (copy&paste) .
- y => 기
- yy => 기
- nyy => n개 (n )
- yw =>
- nym => n개 (n )
- p => 기
- 기 .(n 기 )
- copy&paste 기, 구기 .
5.4. vi C 기 ¶
- vi 기 .
- C . , C++ C . , stdio.h printf . , 기 main() 값 void 고 int .( 그 겠 고.)
- . cpp c .
- vi gcc () , a.out .
- a.out .
- HelloWorld 구구 .
Unix Philosophy 경게 까? Software Tools 경게 . 개 "구" . 기 .
, apache 그 . 그고 sort, uniq, cut, grep, head 간 . 그고 결 2003 6 IP IP 10 1 고 . (
~cpp grep "Jul/2003" access.log| cut -d' ' -f1 |sort|uniq -c|sort -rn|head -10| cut -f2
) 게 .