命令的組成格式中大約包含下列格式:
command(命令)、options(選項)、arguments(參數)

option 有時會用「-」or 「--」

ex:
[root@localhost ~]$ ls --help
用法:ls[選項]..[檔案]...
[root@localhost ~]$ ls -l -a -h

arguments 通常是檔案名稱或資料

同時使用多個command時需要使用[;]做區隔

[root@localhost ~]$ ls -la ; df -lh

如何取得輔助資訊?有不同層級的輔助資訊

whatis,command --help,man and info,/usr/share/doc

arrow
arrow
    全站熱搜

    陳宏駿 發表在 痞客邦 留言(0) 人氣()