Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Linux_cho_nguoi_moi_dung

Linux_cho_nguoi_moi_dung

Ratings: (0)|Views: 9|Likes:
Published by api-27344481

More info:

Published by: api-27344481 on Dec 01, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/18/2014

pdf

text

original

Linux cho ngu\u2019o`\u2019i d\u00f9ng
T\u00e1c gia\u2019 : KostrominV. A.
Di
\u02d9chbo\u2019\u2019i: PhanV\u0131
\u02dcnhThi
\u02d9nh
Mu\u02d9c lu\u02d9c
1 HD
\u00afHLinux: li
\u02d9chsu\u2019\u2019v\u00e0c\u00e1c ba\u2019 nph\u00e2npho\u02c6
\u00b4i
2
2 C\u00e0i d\u00afa\u02d8\u02d9 t HD
\u00afHLinuxtr\u00eanc\u00f9ngm\u00e1yt\u00ednhvo\u00b4\u2019i Windows
3
2.1 Chua\u02c6\u2019nbi
\u02d9c\u00e0i d\u00afa\u02d8\u02d9t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3
2.2 Ph\u00f2ngxa v\u00e0 nhu\u02dc\u2019nglo`\u2019i khuy\u00ean. . . . . . . . . . . . . . . . . . . . . . . .
5
2.3 Ph\u00e2nv\u00f9ngtr\u00eand\u00af\u0131
\u02dca v\u00e0 qu\u00e1 tr\u00ecnhkho\u2019\u2019i d\u00afo\u02c6\u02d9 ng. . . . . . . . . . . . . . . . . .
6
2.3.1 The\u02c6
\u00b4n\u00e0o l\u00e0 ca\u02c6
\u00b4utr\u00fac "h\u00ecnhho\u02d9c cu\u2019 a d\u00af\u0131
\u02dca". . . . . . . . . . . . . . . .
6
2.3.2 Ph\u00e2nv\u00f9ngv\u00e0ba\u2019ngph\u00e2nv\u00f9ngcu\u2019ad\u00af\u0131
\u02dca. . . . . . . . . . . . . . . .
7
2.3.3 Qu\u00e1tr\u00ecnhkho\u2019\u2019id\u00afo\u02c6\u02d9ngHD
\u00afHc\u00f4ngtyMicrosoft. . . . . . . . . . . .
8
2.3.4 Va\u02c6
\u00b4n d\u00afe\u02c6`vo\u00b4\u2019i c\u00e1c d\u00af\u0131
\u02dca lo\u00b4\u2019n. . . . . . . . . . . . . . . . . . . . . . . .10
2.4 Lu\u02d9\u2019acho\u02d9ntr\u00ecnhkho\u2019\u2019id\u00afo\u02c6
\u02d9ng. . . . . . . . . . . . . . . . . . . . . . . . . . .11
2.4.1 Tr\u00ecnhkho\u2019\u2019id\u00afo\u02c6\u02d9ngLILOcu\u2019aHD
\u00afHLinux. . . . . . . . . . . . . . .11
2.4.2 C\u00e1ctr\u00ecnhkho\u2019\u2019id\u00afo\u02c6\u02d9ngkh\u00e1c. . . . . . . . . . . . . . . . . . . . . . .13
2.4.3 C\u00e1c phu\u2019o\u2019ng \u00e1nkho\u2019\u2019i d\u00afo\u02c6\u02d9 ng. . . . . . . . . . . . . . . . . . . . . .14
2.5 Chua\u02c6\u2019nbi
\u02d9c\u00e1c ph\u00e2nv\u00f9ngtr\u00ean d\u00af\u0131

\u02dca. . . . . . . . . . . . . . . . . . . . . . .14 2.5.1 Lo`\u2019ikhuy\u00eankhita\u02d9oph\u00e2nv\u00f9ng. . . . . . . . . . . . . . . . . . . .14 2.5.2 Chu\u2019o\u2019ngtr\u00ecnhd\u00afe\u02c6\u2019ph\u00e2nchiao\u02c6\u2019d\u00af\u0131

\u02dca. . . . . . . . . . . . . . . . . . .17 2.6 Windows NTv\u00e0 Linux: kho\u2019\u2019i d\u00afo\u02c6\u02d9 ngqua OSLoader cu\u2019 a NT. . . . . . . . .17 2.7 Su\u2019\u2019du\u02d9ngtr\u00ecnhkho\u2019\u2019id\u00afo\u02c6\u02d9ngLILO. . . . . . . . . . . . . . . . . . . . . . . .20

2.7.1 C\u00e0i d\u00afa\u02d8\u02d9t v\u00e0 ca\u02c6

\u00b4uh\u00ecnhLILO. . . . . . . . . . . . . . . . . . . . . . .20 2.7.2 C\u00e0i d\u00afa\u02d8\u02d9t c\u00e1c he\u02c6\u02d9 d\u00afie\u02c6`uh\u00e0nhkh\u00e1c sauLinux. . . . . . . . . . . . . . .23 2.7.3 Chuye\u02c6\u2019nthu\u2019mu\u02d9c/bootl\u00eanph\u00e2nv\u00f9ngDOS. . . . . . . . . . . . .23

2.8 Kho\u2019\u2019id\u00afo\u02c6\u02d9ngLinuxtu`\u2019MS-DOSba\u02d8`ngloadlin.exe. . . . . . . . . . . . . . .24
3 Bash
27
3.1 He\u02c6\u02d9vo\u2019 l\u00e0g\u00ec?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
3.2 C\u00e1c k\u00fdtu\u02d9\u2019d\u00afa\u02d8\u02d9c bie\u02c6\u02d9t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28

3.3 Thu\u02d9\u2019cthic\u00e1cc\u00e2ule\u02c6\u02d9nh. . . . . . . . . . . . . . . . . . . . . . . . . . . . .29 3.3.1 Thaot\u00e1c;. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29 3.3.2 Thaot\u00e1c&. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29 3.3.3 Thao t\u00e1c &&v\u00e0 ||. . . . . . . . . . . . . . . . . . . . . . . . . . .29

3.4 D
\u00afa\u02c6`uv\u00e0o/d\u00afa\u02c6`u ra ti\u00eauchua\u02c6\u2019n. . . . . . . . . . . . . . . . . . . . . . . . . .30

3.4.1 D\u00f2ngdu\u02dc\u2019lie\u02c6\u02d9uv\u00e0o-ra. . . . . . . . . . . . . . . . . . . . . . . . .30 3.4.2 Le\u02c6\u02d9nhecho. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30 3.4.3 Le\u02c6\u02d9nhcat. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31

3.5 Chuye\u02c6\u2019n hu\u2019o\u00b4\u2019ngd\u00afa\u02c6`uv\u00e0o/d\u00afa\u02c6`u ra, d\u00afu\u2019o`\u2019ng o\u02c6
\u00b4ngv\u00e0 d\u00afa\u02c6`ulo\u02d9c. . . . . . . . . . . .31
3.5.1 Su\u2019\u2019du\u02d9 ng >, <v\u00e0 >>. . . . . . . . . . . . . . . . . . . . . . . . . .31
MU\u02d9 CLU\u02d9 C
iii
3.5.2 Su\u2019\u2019du\u02d9ng|. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
3.5.3 D
\u00afa\u02c6`ulo\u02d9c. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34
3.6 Thambie\u02c6
\u00b4nv\u00e0 c\u00e1c bie\u02c6
\u00b4n so\u02c6
\u00b4. M\u00f4i tru\u2019o`\u2019ngcu\u2019 a he\u02c6\u02d9 vo\u2019. . . . . . . . . . . . . . .34
3.6.1 C\u00e1cda\u02d9ngthambie\u02c6
\u00b4nkh\u00e1c nhau. . . . . . . . . . . . . . . . . . . .35
3.6.2 Da\u02c6
\u00b4u nha\u02d8\u00b4c cu\u2019 a he\u02c6\u02d9 vo\u2019. . . . . . . . . . . . . . . . . . . . . . . . . .36
3.6.3 Bie\u02c6
\u00b4nm\u00f4i tru\u2019o`\u2019ngPATH. . . . . . . . . . . . . . . . . . . . . . . .38
3.6.4 Bie\u02c6

\u00b4nm\u00f4i tru\u2019o`\u2019ngIFS. . . . . . . . . . . . . . . . . . . . . . . . .38 3.6.5 Thu\u2019mu\u02d9c hie\u02c6\u02d9ntho`\u2019i v\u00e0 thu\u2019mu\u02d9c c\u00e1 nh\u00e2n. . . . . . . . . . . . . . . .38 3.6.6 C\u00e2ule\u02c6\u02d9nhexport. . . . . . . . . . . . . . . . . . . . . . . . . . . .38

3.7 Khaitrie\u02c6\u2019nbie\u02c6\u2019uthu\u00b4\u2019c. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39
3.7.1 Khaitrie\u02c6\u2019nda\u02c6
\u00b4u ngoa\u02d8\u02d9c. . . . . . . . . . . . . . . . . . . . . . . . .39
3.7.2 Thaythe\u02c6
\u00b4da\u02c6
\u00b4u ng\u00e3 (Tilde Expansion). . . . . . . . . . . . . . . . .40
3.7.3 Ph\u00e9pthe\u02c6
\u00b4c\u00e1c thambie\u02c6
\u00b4nv\u00e0 bie\u02c6
\u00b4n so\u02c6
\u00b4. . . . . . . . . . . . . . . . . .40
3.7.4 Ph\u00e9pthe\u02c6
\u00b4c\u00e1c c\u00e2ule\u02c6\u02d9nh. . . . . . . . . . . . . . . . . . . . . . . . .41
3.7.5 Ph\u00e9pthe\u02c6
\u00b4so\u02c6

\u00b4ho\u02d9c (Arithmetic Expansion). . . . . . . . . . . . . . .41 3.7.6 Ph\u00e2nchiatu`\u2019(wordsplitting). . . . . . . . . . . . . . . . . . . . .41 3.7.7 Khai trie\u02c6\u2019nc\u00e1c ma\u02c6\u02dcut\u00eanta\u02c6\u02d9ptinv\u00e0 thu\u2019mu\u02d9c (Pathname Expansion).. 41 3.7.8 X\u00f3a c\u00e1c k\u00fdtu\u02d9\u2019d\u00afa\u02d8\u02d9c bie\u02c6\u02d9t. . . . . . . . . . . . . . . . . . . . . . . .42

3.8 Shell - mo\u02c6\u02d9 t ng\u00f4nngu\u02dc\u2019la\u02c6\u02d9ptr\u00ecnh. . . . . . . . . . . . . . . . . . . . . . . .42 3.8.1 To\u00e0ntu\u2019\u2019 if v\u00e0 test (hoa\u02d8\u02d9c [ ]). . . . . . . . . . . . . . . . . . . . . .42 3.8.2 To\u00e1ntu\u2019\u2019test v\u00e0 d\u00afie\u02c6`ukie\u02c6\u02d9ncu\u2019 a bie\u02c6\u2019uthu\u00b4\u2019c. . . . . . . . . . . . . . . .43 3.8.3 To\u00e1ntu\u2019\u2019case. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46 3.8.4 To\u00e1ntu\u2019\u2019select. . . . . . . . . . . . . . . . . . . . . . . . . . . . .46 3.8.5 To\u00e1ntu\u2019\u2019for. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47 3.8.6 To\u00e1ntu\u2019\u2019whilev\u00e0until. . . . . . . . . . . . . . . . . . . . . . . . .48 3.8.7 C\u00e1ch\u00e0mso\u02c6

\u00b4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48
3.8.8 Thamso\u02c6

\u00b4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48 3.9 Scriptcu\u2019ahe\u02c6\u02d9vo\u2019 v\u00e0le\u02c6\u02d9nhsource. . . . . . . . . . . . . . . . . . . . . . . .49 3.10 C\u00e2ule\u02c6\u02d9nhsh. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->