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
)훨 .