The touch Command in linux is not commonly used. it is generally used when you use make. The most common usage is touchfileA. if fileA exists, you can use the touch command to change the date and time of the file or directory, including the access
Why we need to use the Touch commandSince the touch command describes changing timestamps, we might wonder why we need to change the timestamp. This question will cause us to ponder.However, I would like to have a reason to explain why we need to
first, the purposeThis article describes the new file or folder, delete files, or folder commands under Linux. Touch is able to create new files and mkdir to create new folders. RM is used to delete files or folders. This article will choose the
Original address: http://www.cnblogs.com/zfyouxi/p/5371317.html
Purpose This article will introduce Linux under new files or folders, delete files or folder commands.Touch to create a new file, mkdir to create a new folder. RM is used to delete
In linux, touch command parameters are not commonly used. they may be used when you use make to modify the file timestamp or create a new file that does not exist. The following are touch command parameters in linux.
In linux, touch command
One linux Command every day (9): touch command link: One linux Command every day (1): ls command http://www.bkjia.com/ OS /201210/163049.html#linuxlinuxcommand every day (2): cd command serial (3 ): pwd command Export (4): mkdir command
One linux command every day (9): touch Command link: One linux command every day (1): ls command http://www.2cto.com/os/201210/163049.html ; One linux command every day (2): cd command http://www.2cto.com/os/201210/163050.html One linux command
In Linux, the touch command parameters are not commonly used, usually used when make can be used to modify the file timestamp, or create a new file that does not exist, the following is the use of the Touch command parameters in Linux:Touch
Linux File touch command and file Timestamp1. Check the time attribute of the file before naming touch. Run the stat command to view the File: [root @ localhost test] # stat f1 File: 'f1' Size: 34 Blocks: 8 IO Block: 4096 regular fileDevice: fd00h/64
NAMETouch-change file Timestamps--changing the time History of filesSynopsisTouch [OPTION] ... FILE ...DESCRIPTIONUpdate the access and modification times of each FILE to the currentTime. --Use the touch command to change the date and time of a file
Linux touch command is generally used to change the date and time of a document or directory, including the access time and change time, or to create a new file that does not exist. 1. command format: touch [option]... file... 2. command parameters:-
Use the touch command alone to update the file's Atime, CTime, mtime for the moment[Email protected] ~]# Stat profileFile: "Profile"size:1796 blocks:8 IO block:4096 Normal filedevice:803h/2051d inode:528818 links:1Access: (0644/-rw-r--r--) Uid:
before referring to the Find command , the-newer , -anewer, and -cnewer parameters can be used to find files in a time period. But often we do not have two of the exact time node files that we want to use, which requires the use of the Touch command
Linux touch command is generally used to change the date and time of a document or directory, including the access time and change time, or to create a new file that does not exist. 1. command Format: touch [Option]... file... 2. command Parameters:-
Linux touch commands are not commonly used, and are generally used when using make, to modify file timestamps, or to create a new file that does not exist.1. Command format :touch [Options] ... File...2. Command Parameters :-A or--time=atime
Linux touch commands are not commonly used, and are generally used when using make, to modify file timestamps, or to create a new file that does not exist. . 1. command format:touch [Options] ... File...2. Command parameters:-A or--time=atime
Linux touch commands are not commonly used, and are generally used when using make, to modify file timestamps, or to create a new file that does not exist.There are three timestamps of the file (available stat Viewing):Access time: Atime, reading
Linux touch commands are not commonly used, and are generally used when using make, to modify file timestamps, or to create a new file that does not exist.1 Basic use1. Command format:touch [Options] ... File...2. Command parameters:-A
Linux touch commands are not commonly used, and are generally used when using make, to modify file timestamps, or to create a new file that does not exist.1. Command format:touch [Options] ... File...2. Command parameters:-A or--time=atime
The Touch command has two features:
One is used to update the time label of the existing file to the current time of the system (the default), their data will remain intact;
The second is to create a new empty file.
Touch Common
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.