網站首頁 學習教育 IT科技 金融知識 旅遊規劃 生活小知識 家鄉美食 養生小知識 健身運動 美容百科 遊戲知識 綜合知識
當前位置:趣知科普吧 > IT科技 > 

sync命令詳解|linux

欄目: IT科技 / 發佈於: / 人氣:1.86W

sync命令能夠用於強制將內存緩衝區中的數據立即寫入磁盤當中。

說明:在Linux系統中,檔案、數據處理過程中通常需要先放到內存緩衝區內,然後等待合適的時間再將其寫入磁盤,這樣可以有效地提高系統的執行效率。、

sync命令的具體命令的語法格式爲sync[參數]。

參數:

--help 顯示命定詳細幫助資訊 

--version 顯示版本號 

參考範例:

如果顯示版本號,具體命令爲:

[root@linuxcool ~]# sync --version

 sync (coreutils) 8.22

 Copyright (C) 2013 Free Software Foundation, Inc.

 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.

 This is free software: you are free to change and redistribute it.

 There is NO WARRANTY, to the extent permitted by law.

 Written by Jim Meyering.

linux sync命令詳解

Tags:linux 命令 sync