close
題目:
Execute this command on your system:
$cut -d: -f1 /etc/passwd | fmt -w 20 | head -1
a. What was displayed:
b. How many lines of output did you see?Why?
c. What was the width of the out put?Why?
執行過程:
[Niki@15:04:20 /]$ cut -d: -f1 /etc/passwd | fmt -w 20 | head -1
root bin daemon adm
答案:
[Niki@15:12:09 /]$ #a. root bin daemon adm
[Niki@15:13:30 /]$ #b. 1 line , because head -1
[Niki@15:14:04 /]$ #c. width is 20 , because fmt -w 20
文章標籤
全站熱搜