Co robi TOUCH użycie. Konsola time and date. touch is useful in forcing other commands to handle.

Czy przydatne?

Polecenie touch

Wykonanie, użycie: For one or more files, update the access time and modification time (and dates) to the current time and date. touch is useful in forcing other commands to handle files a certain way; for example, the operation of make, and sometimes find, relies on a file's access and modification time. If a file doesn't exist, touch creates it with a file size of 0

Opcje wykonania touch w konsoli

-a, --time=atime, --time=access, --time=use

Update only the access time.

-c, --no-create

Do not create any file that doesn't already exist.

-d time, --date time

Change the time value to the specified time instead of the current time. time can use several formats and may contain month names, time zones, a.m. and p.m. strings, etc.

-m, --time=mtime, --time=modify

Update only the modification time.

-r file, --reference file

Change times to be the same as those of the specified file, instead of the current time.

-t time

Use the time specified in time instead of the current time. This argument must be of the format [[cc] yy] mmddhhmm[.ss] , indicating optional century and year, month, date, hours, minutes, and optional seconds.

--help

Print help message and then exit.

--version

Print the version number and then exit.

Przykłady touch działanie w Słownik polecenie T

Przykład TOUCH użycie :
Jak użyć Display system load average in graph format. If tty is specified, print it to that terminal co znaczy.
Przykład TOUCH użycie :
Jak użyć restore files from an archive medium. If any files are directories, tar acts on the entire subtree. Options need not be preceded by - (though they may be). The exception to this rule is when you are krzyżówka.
Przykład TOUCH użycie :
Jak użyć lines of a file, then wait for the file to grow. tailf is similar to tail -f , but it does nothing when the file is not growing. Useful for following a logfile, particularly on a laptop when you want co to jest.
Przykład TOUCH użycie :
Jak użyć Translate characters. Copy standard input to standard output, substituting characters from string1 to string2 , or deleting characters in string1 słownik.
Przykład TOUCH użycie :
Jak użyć Remote user communication server. talkd notifies a user that somebody else wants to initiate a conversation. A talk client initiates a rendezvous by sending a CTL_MSG of type LOOK_UP to the server czym jest.