linux tips

30
Linux Tips !"#$ %&1' ()*

Upload: -

Post on 25-Jan-2017

116 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Linux tips

Linux Tips!"#$ %&1' ()*

Page 2: Linux tips

+,( -./

Page 3: Linux tips

Commands

01 234 56 789 (:; <= >9?tee

<FILE> jstat.32777

Page 4: Linux tips

Commands

@ABC DEFG H?watch

Page 5: Linux tips

Commands

IJ K,9 LM 78<= >9?script

<FILE> my_script

Page 6: Linux tips

Commands

N OPQR STH ?bc

Page 7: Linux tips

Commands

UVWXY ZC[C FG H?pushd,popd

Page 8: Linux tips

Commands

E\]9 ^_` 23FG H?iconv

Page 9: Linux tips

Commands

K ab9 Oc +d<= >9?screenscreen -S : efg hiscreen -R : efg jkcscreen -ls : efg Xel

Page 10: Linux tips

Commands

K ab9 Oc +d<= >9?screen

ctrl + a , d : Detach

Page 11: Linux tips

Commands

m@ n,<o p qrst9 uv?function

Page 12: Linux tips

+,( wb

Page 13: Linux tips

OPTIONS

less v : 569 xCR ^r vir yz

Page 14: Linux tips

OPTIONS

grep grep -v : F{ |} ~o �9 ÄÅ

Page 15: Linux tips

OPTIONS

grep grep -H : F{ 56-Çd ÉÑ xÖÜgrep -l : F{ 56-u xÖÜ

Page 16: Linux tips

OPTIONS

du du -L : link á àâ ,äÇd LM xÖÜ

Page 17: Linux tips

OPTIONS

ps ps H : ãåçY LM LÖÜ

Page 18: Linux tips

OPTIONS

diff diff -y : éè<Ö xQ êë xÖÜ

Page 19: Linux tips

OPTIONS

ls ls -tr : @A íìr 56XelY 23

Page 20: Linux tips

OPTIONS

cd cd -P : symbolic link á àî UVWXr }ï

Page 21: Linux tips

OPTIONS

rsync rsync -e : remote shell 9 dñ<= }Y },F` óò

Page 22: Linux tips

OPTIONS

xargs xargs -i {} : ô%öõY ú= >ù ûX; n,H õ ~ü

Page 23: Linux tips

OPTIONS

sort -t + : ñ† í`Y °ñ ¢; £§ <= >9?

Page 24: Linux tips

Q•

Page 25: Linux tips

Shortcut

ctrl + a - !`Y ¶ ßìr xKQ

ctrl + w - Bd® ©/ d™Q

ctrl + u - LM d™Q

ctrl + r - ´eWX ;` }ó n,¨≠ -.| ÆQ

ctrl + e - !`Y ¶ Ør xKQ

Page 26: Linux tips

ETC

qrae ñ∞ ÆQ

Page 27: Linux tips

ETC

EûR ±ù 56 ≤X<Q

Page 28: Linux tips

ETC

conf file ≥* ÄÅ<= vi ;` xQ

Page 29: Linux tips

ETC

^r ó; ¥µ∂ ∑û ∏X =πQ ^^^old^new

Page 30: Linux tips

Thanks :)