Linux touch Command Parameters

Source: Internet
Author: User

Linux touch Command Parameter Function Description: changes the document or directory time.

In linux, the touch command parameter Syntax: touch [-acfm] [-d] [-r] [-t] [-- help] [-- version] [document or directory...] or touch [-acfm] [-- help] [-- version] [Date and time] [document or directory...]

In linux, the touch command parameter can be used to change the date and time of the document or directory, including the access time and change time.

Parameters of the touch command in linux:

-A or -- time = atime or -- time = access or -- time = use only change the access time.

-C or -- no-create does not create any documents.

-D uses the specified date and time instead of the current time.

-F this parameter will not be processed. It is only responsible for solving the compatibility problem of the BSD touch command.

-M or -- time = mtime or -- time = modify only changes the change time.

-R sets the date time of the specified document or directory to the same as the date time of the reference document or directory.

-T uses the specified date and time instead of the current time.

-- Help Online help.

-- Version: displays the version information.

The above is a detailed description of the touch command parameters in linux.

  1. Linux touch command parameter modification file Timestamp
  2. Usage of du command parameters in linux
  3. Use linux to open a browser command under the linux Command Line

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.