차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판이전 판
tech:touch [2023/07/30 16:17] V_Ltech:touch [2023/07/30 16:31] (현재) V_L
줄 28: 줄 28:
   $ touch [파일명]   $ touch [파일명]
 별다른 옵션이 없다면 atime, ctime, mtime 모두 변경된다. 별다른 옵션이 없다면 atime, ctime, mtime 모두 변경된다.
 +
 +
 +  * -a Used to change only the access time.
 +  * -m Used to change only the modification time.
 +  * -d Used to update the access and modification times.
 +  * -c Do not create a new file, if the does not exist.
 +  * -r Used to use the access and modification times of another file.
 +  * -t Used to create a file with a specified time.