Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

touch linux

touch file_name # Creates a file in current directory.
Comment

touch linux

Setting specific timestamps
The touch command also allows us to update or create a file with a specific time other than the current time.

Use the -d (--date=) option to specify a date string and use it instead of the current time.

For example, to change both the last access and modification times of file1 to 1 June 2018 11:02 you would use the following command:
touch -d '1 June 2018 11:02' file1
Comment

PREVIOUS NEXT
Code Example
Shell :: batch script comment 
Shell :: how to download dash through pip in conda prompt 
Shell :: check my current branch git 
Shell :: authentication failed github 
Shell :: removing package using snap 
Shell :: dir files 
Shell :: removing a file in linux 
Shell :: curl multiple requests 
Shell :: ppm to ppb 
Shell :: pacman command on arch 
Shell :: git warning lf will be replaced by crlf 
Shell :: redis dockerhub 
Shell :: npm install firebase @angular/fire 
Shell :: installing nginx on docker container 
Shell :: Not Found The requested URL was not found on this server. Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/7.3.27 Server at localhost Port 8 
Shell :: java status archlinux 
Shell :: wsl lost internet connection 
Shell :: nvm update specifiec version 
Shell :: Correct Folder Permissions Ubuntu 18.04 Server 
Shell :: The following signatures were invali gpg 
Shell :: bash leerzeichen entfernen 
Shell :: airodump output to file 
Shell :: Read-only filesystem disk kubuntu 
Shell :: you need to install the imagick extension to use this back end xampp 
Shell :: install espanso debian linux without snap 
Shell :: download gradle for debian 
Shell :: winmerge command line generate report 
Shell :: enable fish shell in alacrtity teminal 
Shell :: /dev/block/mmcblk0p38 
Shell :: rhel 8 docker 19.03 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =