Linux shell中「2&1」詳解

Linux shell中「2>&1」詳解 ​ 這幾天在搭建openstack平臺搭建基礎環境時要在計劃任務中進行按期的時間同步,命令以下:web */5 * * * * /usr/sbin/ntpdate -u time1.aliyun.com >> /dev/null 2>&1 & ​ 後面的"2>&1 &"不是很理解,上網查了查明白了shell ​ 首先,bash中的0,1,2三個數字表示ST
相關文章
相關標籤/搜索