close
題目:
Experiment with redirecting the output of ls as follows:
$cp /etc/skel . 2> info.txt
a. How is the terminal output?
b.What is written to info.txt?
[Niki@16:28:26 ~]$ cp /etc/skel . 2>info.txt
[Niki@16:29:03 ~]$ cat info.txt
cp: 略過 ‘/etc/skel’ 目錄
[Niki@16:31:08 ~]$ #a.nothing shows in the screen
[Niki@16:32:07 ~]$ #b. shows cp: 略過 ‘/etc/skel’ 目錄
文章標籤
全站熱搜
留言列表