<ゃ篏 鐚膩鐚Linuxラ膩

maya
Linux泣若 <ゃ篏 ゃ荅宴激3荅宴膃1

 

<ゃ篏 鐚膃1鐚

maya
Linux<ゃゃ絎Linux潟潟篏篏薑帥

nao
<ゃ篏鐚

maya
筝箴罨<潟潟

 

– <ゃ篏潟潟 –

touch <ゃ篏
vi <ゃ篏紫隈
ls <ゃc宴茵腓冴
mv <ゃc腱糸紊眼茵
cp <ゃc潟若
rm <ゃcゃ
cat <ゃ絎鴻阪
head <ゃ絎鴻阪
less <ゃ絎鴻茵腓冴
more <ゃ絎鴻茵腓冴
tail <ゃ絨冗茵腓冴

 

nao
c篏筝潟潟篏帥

maya
頳篁11ょ∈茯荀

 

touch 潟潟

maya
ゃ[guest]с違ゃ潟帥若莎桁
[guest@localhost ~]$

 

nao
莎桁

maya
ctouch潟潟篏帥c<ゃ篏

 

touch 潟潟篏睡箴
touch [<ゃ]

 

1. [sample.txt]<ゃ篏

[guest@localhost ~]$ touch sample.txt

 

2. 篏篋腆肴

[guest@localhost ~]$ ls -l
-rw-rw-r--. 1 guest guest 47  3  5 21:00 sample.txt
drwxr-xr-x. 2 guest guest 6   2 10 21:00 潟若
drwxr-xr-x. 2 guest guest 6   2 10 21:00 潟若
drwxr-xr-x. 2 guest guest 6   2 10 21:00 鴻
drwxr-xr-x. 2 guest guest 6   2 10 21:00 ャ<潟
drwxr-xr-x. 2 guest guest 6   2 10 21:00 
drwxr-xr-x. 2 guest guest 6   2 10 21:00 恰ソ
drwxr-xr-x. 2 guest guest 6   2 10 21:00 糸
drwxr-xr-x. 2 guest guest 6   2 10 21:00 

 

nao
sample.txt篏

maya
c篏茯絖dccс-c<ゃ篁 sample.txt 絖-<ゃ

nao

maya
膓<ゃ篏

1. [.hidden.txt]<ゃ篏

[guest@localhost ~]$ touch .hidden.txt

 

2. 絽吾号ц;腓冴篋腆肴

[guest@localhost ~]$ ls -l
-rw-rw-r--. 1 guest guest 47  3  5 21:00 sample.txt
drwxr-xr-x. 2 guest guest 6   2 10 21:00 潟若
drwxr-xr-x. 2 guest guest 6   2 10 21:00 潟若
drwxr-xr-x. 2 guest guest 6   2 10 21:00 鴻
drwxr-xr-x. 2 guest guest 6   2 10 21:00 ャ<潟
drwxr-xr-x. 2 guest guest 6   2 10 21:00 
drwxr-xr-x. 2 guest guest 6   2 10 21:00 恰ソ
drwxr-xr-x. 2 guest guest 6   2 10 21:00 糸
drwxr-xr-x. 2 guest guest 6   2 10 21:00 

 

3. <ゃ茵腓冴激с潟т篋腆肴

[guest@localhost ~]$ ls -al
drwx------. 14 guest guest 4096  3  5 21:10 .
drwxr-xr-x.  8 root  root  84    2 10 21:00 ..
-rw-rw-r--.  1 guest guest 47    3  5 21:10 .hidden.txt
-rw-rw-r--.  1 guest guest 47    3  5 21:00 sample.txt
drwxr-xr-x.  2 guest guest 6     2 10 21:00 潟若
drwxr-xr-x.  2 guest guest 6     2 10 21:00 潟若
drwxr-xr-x.  2 guest guest 6     2 10 21:00 鴻
drwxr-xr-x.  2 guest guest 6     2 10 21:00 ャ<潟
drwxr-xr-x.  2 guest guest 6     2 10 21:00 
drwxr-xr-x.  2 guest guest 6     2 10 21:00 恰ソ
drwxr-xr-x.  2 guest guest 6     2 10 21:00 糸
drwxr-xr-x.  2 guest guest 6     2 10 21:00 

 

nao
.hidden.txt<ゃтс

maya
touch潟潟篏帥膂≧<ゃ篏с

nao
篏<ゃ膩鐚

maya
蚊篁vi潟潟篏帥茯激ф≦

nao
<ゃ膩茯激鐚

maya
Linux篏筝с綽f綺蕭腱c障ц眼

nao
<c

maya
罨≦罐純帥

 

ls 潟潟

nao
ctouch潟潟с<ゃ篏腆肴篏帥c

maya
障障膣違篋臀篏綺篏篋紊т

 

1. <ゃ筝荀с茵腓冴

[guest@localhost ~]$ ls -al
drwx------. 14 guest guest 4096  3  5 21:10 .
drwxr-xr-x.  8 root  root  84    2 10 21:00 ..
-rw-rw-r--.  1 guest guest 47    3  5 21:10 .hidden.txt
-rw-rw-r--.  1 guest guest 47    3  5 21:00 sample.txt
drwxr-xr-x.  2 guest guest 6     2 10 21:00 潟若
drwxr-xr-x.  2 guest guest 6     2 10 21:00 潟若
drwxr-xr-x.  2 guest guest 6     2 10 21:00 鴻
drwxr-xr-x.  2 guest guest 6     2 10 21:00 ャ<潟
drwxr-xr-x.  2 guest guest 6     2 10 21:00 
drwxr-xr-x.  2 guest guest 6     2 10 21:00 恰ソ
drwxr-xr-x.  2 guest guest 6     2 10 21:00 糸
drwxr-xr-x.  2 guest guest 6     2 10 21:00 

 

nao
違箴-a-l激с潟腟水篏帥c鐚

maya

nao
潟潟ュ号ls -a -lс鐚

maya
ュ帥

 

1. 激с潟荐莠号紊眼帥

[guest@localhost ~]$ ls -a -l
drwx------. 14 guest guest 4096  3  5 21:10 .
drwxr-xr-x.  8 root  root  84    2 10 21:00 ..
-rw-rw-r--.  1 guest guest 47    3  5 21:10 .hidden.txt
-rw-rw-r--.  1 guest guest 47    3  5 21:00 sample.txt
drwxr-xr-x.  2 guest guest 6     2 10 21:00 潟若
drwxr-xr-x.  2 guest guest 6     2 10 21:00 潟若
drwxr-xr-x.  2 guest guest 6     2 10 21:00 鴻
drwxr-xr-x.  2 guest guest 6     2 10 21:00 ャ<潟
drwxr-xr-x.  2 guest guest 6     2 10 21:00 
drwxr-xr-x.  2 guest guest 6     2 10 21:00 恰ソ
drwxr-xr-x.  2 guest guest 6     2 10 21:00 糸
drwxr-xr-x.  2 guest guest 6     2 10 21:00 

 

nao

maya
荅潟ャ罘篌荅宴綣激医сc篋篏帥

 

mv 潟潟

maya
mv潟潟<ゃ腱糸<ゃ紊眼篏c篏膣違茯我

nao

maya
guest筝sample.txthome筝腱糸

 

mv 潟潟篏睡箴
mv [腱糸] [腱糸]

 

1. mv 潟潟ュ鐚膊∞罔у茵鐚

[root@localhost ~]# mv /home/guest/sample.txt /home/sample.txt

 

2. 腱糸腱糸篋腆肴

[guest@localhost ~]$ ls -l
drwxr-xr-x. 2 guest guest 6   2 10 21:00 潟若
drwxr-xr-x. 2 guest guest 6   2 10 21:00 潟若
drwxr-xr-x. 2 guest guest 6   2 10 21:00 鴻
drwxr-xr-x. 2 guest guest 6   2 10 21:00 ャ<潟
drwxr-xr-x. 2 guest guest 6   2 10 21:00 
drwxr-xr-x. 2 guest guest 6   2 10 21:00 恰ソ
drwxr-xr-x. 2 guest guest 6   2 10 21:00 糸
drwxr-xr-x. 2 guest guest 6   2 10 21:00 

 

3. 腱糸腱糸篋腆肴

[guest@localhost ~]$ cd ..
[guest@localhost home]$ ls -l
drwx------. 14 guest guest  4096  3  5 21:00 guest
-rw-rw-r--.  1 guest guest  47    3  5 21:20 sample.txt

 

maya
膓腱糸 sample.txt test.txt<ゃ紊眼

 

1. mv 潟潟ュ鐚膊∞罔у茵鐚

[root@localhost ~]# mv /home/sample.txt /home/test.txt

2. 紊眼篋腆肴

[guest@localhost home]$ ls -l
drwx------. 14 guest guest  4096  3  5 21:00 guest
-rw-rw-r--.  1 guest guest  47    3  5 21:30 test.txt

 

 

cp 潟潟

maya
cp潟潟<ゃ潟種若鴻篏c篏膣違茯我

nao
祉祉

maya
test.txt潟若test2.txt篏

 

cp 潟潟篏睡箴
cp [潟弱] [潟弱]

 

1. cp 潟潟ュ鐚膊∞罔у茵鐚

[root@localhost ~]# cp /home/test.txt /home/test2.txt

2. 潟若篋腆肴

[guest@localhost home]$ ls -l
drwx------. 14 guest guest  4096  3  2 21:00 guest
-rw-rw-r--.  1 guest guest  47    3  5 21:30 test.txt
-rw-rw-r--.  1 guest guest  47    3  5 21:40 test2.txt

 

rm 潟潟

maya
rm潟潟<ゃゃ篏c篏膣違茯我

nao
篁茯鐚

maya
test2.txtゃ

 

rm潟潟篏睡箴
rm [ゅ乗院]

 

1. rm 潟潟ュ鐚膊∞罔у茵鐚

[root@localhost ~]# rm /home/test2.txt

 

2. 潟若篋腆肴

[guest@localhost home]$ ls -l
drwx------. 14 guest guest  4096  3  2 21:00 guest
-rw-rw-r--.  1 guest guest  47    3  5 21:30 test.txt

 


maya
篁障ャ

 

  • <ゃ篏c篏筝潟潟
  • touch潟潟<ゃ篏
  • mv潟潟<ゃ腱糸<ゃ紊眼
  • cp潟潟<ゃ潟種若鴻
  • rm潟潟<ゃゃ

 

鐚鐚若祉鐚鐚