Re: Attributi che ritornano pre-modifica da soli
On 11/06/20 10:02, pacmo wrote:
Il 10/06/20 22:24, Davide Prina ha scritto:
$ man touch
-t STAMP
use [[CC]YY]MMDDhhmm[.ss] instead of current time
Per semplicità perché non usi touch senza il parametro -t?
con touch senza -t in pratica creo un nuovo file
$ man touch
touch - change file timestamps
Update the access and modification times of each FILE to the current time.
A FILE argument that does not exist is created empty, unless -c or -h is
supplied.
[...]
$ echo "Ciao" > /tmp/test
$ ls -l /tmp/test
-rw-r--r-- 1 davide davide 5 giu 11 21:18 /tmp/test
$ touch /tmp/test
$ ls -l /tmp/test
-rw-r--r-- 1 davide davide 5 giu 11 21:19 /tmp/test
$ cat /tmp/test
Ciao
Ciao
Davide
--
Dizionari: http://linguistico.sourceforge.net/wiki
Motivi per non comprare/usare ms-windows7:
http://windows7sins.org/
Non autorizzo la memorizzazione del mio indirizzo su outlook
Reply to: