第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

請(qǐng)教下在linux的touch命令參數(shù)m該怎么使用?

請(qǐng)教下在linux的touch命令參數(shù)m該怎么使用?

慕容3067478 2022-05-05 13:07:02
使用touch命令加參數(shù)m時(shí),不是只改變mtime嗎?怎么連ctime也一起改變了?謝謝各位高手予以解答。
查看完整描述

1 回答

?
慕的地8271018

TA貢獻(xiàn)1796條經(jīng)驗(yàn) 獲得超4個(gè)贊

按照man文檔的解釋的三種時(shí)間: st_atime
Time when file data was last accessed. Changed by the
following functions: creat(), mknod(), pipe(),
utime(2), and read(2).

st_mtime
Time when data was last modified. Changed by the fol-
lowing functions: creat(), mknod(), pipe(), utime(),
and write(2).

st_ctime
Time when file status was last changed. Changed by the
following functions: chmod(), chown(), creat(),
link(2), mknod(), pipe(), unlink(2), utime(), and
write().實(shí)際使用中touch確實(shí)會(huì)改變mtiem和ctime,我的理解是透徹修改mtime的方式是通過(guò)修改文件能容,保存,然后還原文件內(nèi)容再保存,因此mtime和ctime都會(huì)改變。
希望對(duì)你有幫助?。?/p>


查看完整回答
反對(duì) 回復(fù) 2022-05-09
  • 1 回答
  • 0 關(guān)注
  • 161 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)