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) => 파12 .
      • ) 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.0369 sec