当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > Linux系统下touch命令的使用方法
Unix/Linux 中的 Linux系统下touch命令的使用方法
| # touch file-touch1 # ls -l total 0 -rw-r--r-- 1 root root 0 7月 9 13:53 file-touch1 # |
| # touch -c file-touch2 touch: setting times of `file-touch2': 沒有此一檔案或目錄 # |
| # cp -a /bin/tcsh . # ls --full-time total 288 -rwxr-xr-x 1 root root 288604 週一 6月 25 03:45:26 2001 tcsh # |
| # touch -t 200207010800.01 tcsh # ls --full-time total 288 -rwxr-xr-x 1 root root 288604 週一 7月 01 08:00:01 2002 tcsh |
| # touch -at 200207022300 tcsh # ls -lu total 288 -rwxr-xr-x 1 root root 288604 7月 2 23:00 tcsh # |
| # touch -mt 200206302300 tcsh # ls -l total 288 -rwxr-xr-x 1 root root 288604 6月 30 23:00 tcsh # ls -lu total 288 -rwxr-xr-x 1 root root 288604 7月 2 23:00 tcsh # |
评论 (0) All