U E D R , A S I H C RSS

데블스캠프2003/넷째날/Linux실습


1. 는?

데블 4 는 리눅 보는 .

2.

02 Yggdrasil
MT 는 바람 . 모르는 , 냥 따... .

3. 리눅

리눅 , (?) 는데, .

4.

putty Client
, Protocol SSH Hostname zeropage.org . id 밀번면 됩.

5.1.

  • mkdir (디리 만들)
    • mkdir (디리)
      • )cd temp_file
  • rmdir (디)
    • rmdir (디리)
      • )rm temp_file
  • cd (디동)
    • cd (디리)
      • )cd temp_file
    • cd .. .
      • ) cd .
  • ls ()
    • ls -l (.)
    • ls -1 ( .)
    • . ls -1l .
  • cp ()
    • cp (1) (2) => 1 2란 .
      • ) cp aaa.txt bbb.txt
    • cp 1 temp_file => 1 temp_file .
    • cp 1 ../temp_file => 1 temp_file .
  • rm ( )
    • rm (1) 1 .
  • mv ( )
    • cp .
    • mv aaa.txt ccc.txt => aaa.txt를 ccc.txt .
    • mv aaa.txt ./temp_file => aaa.txt를 temp_file .
  • man (매뉴)
    • 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 .


SeeAlso linux

5.2. vi

  • vi는 MS 리 메뉴 . .

5.3.

  • 만들 냥 vi .
  • 는 vi (명)..
  • vi 3 . 면 명 .

5.3.1.

  • 는 모 i를 르면 들. INSERT . .

5.3.2.

  • copy, paste 등 .
  • => .
  • G => 문
  • w =>
  • b =>
  • 등등 , (copy&paste) .
  • y => 복
  • yy =>
  • nyy => n (n )
  • yw =>
  • nym => n (n )
  • p => 붙
  • .(n번 붙 등등)
  • copy&paste만 , 복 .

5.3.3.

  • save, exit 등 는 모 .
  • q! =>
  • wq 료. 는 wq (명) .

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)

더 많 .

--JuNe
.. .. 내 보면 .^^; --

. . 리눅 , 번 데블 .( 데블 ) . --

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:28:56
Processing time 0.0297 sec