shell常用操作

1.查找字符串

grep -rn "hello,world!" *

2.查找文件名

find / -name app.h //從根目錄開始
find -name app.h //從當前目錄開始

3.Using ntp update datetime.

sudo service ntp stop
sudo ntpd -gq
sudo service ntp start




發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章