close

# 安裝
centos:~ # yum install fortune-mod cowsay
centos:~ # fortune | cowsay -pn

# 顯示有哪些 cowsay 檔可用
centos:~ # cowsay -l

# 使用不同圖示
centos:~ # fortune | cowsay -pn -f stegosaurus

# 系統設定, 當所有使用登入都會執行 cowsay
centos:~ # echo "fortune | cowsay -pn" >> /etc/profile

# 個別使用者設定, 當該使用者登入才會執行 cowsay
centos:~ # echo "fortune | cowsay -pn" >> ~/.bashrc

arrow
arrow
    文章標籤
    CentOS
    全站熱搜

    wsunccake 發表在 痞客邦 留言(0) 人氣()