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.0527 sec