Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

change time linux

date -s “YYYY-MM-DD HH:MM:SS”
timedatectl set-time “YYYY-MM-DD HH:MM:SS”
hwclock -w
Comment

update time in linux

sudo date +"%d %b %Y %T %Z" -s "$(curl -s --head http://google.com | grep '^Date:' | cut -d' ' -f 3-)"
Comment

PREVIOUS NEXT
Code Example
Shell :: how to clear gradle cache gitignore 
Shell :: git commands to push to github 
Shell :: wsl2 curl localhost 
Shell :: linux unique lines 
Shell :: git push to create 
Shell :: apt install codium 
Shell :: pip install influxdb 
Shell :: git make directory 
Shell :: docker image is not reseting 
Shell :: bash print a blank line 
Shell :: ffmpeg extract single frame 
Shell :: prettier npm 
Shell :: adding this directory to path mac 
Shell :: docker build requires exactly 1 argument 
Shell :: cutefish desktop enviroment install 
Shell :: install pytorch in virtual environment 
Shell :: linux terminal show installed applications 
Shell :: svelte getting started typescript 
Shell :: run crontab locally in windows 
Shell :: bash for do done 
Shell :: git clone password authentication failed 
Shell :: add project to github 
Shell :: expo cli 
Shell :: install visual studio code ubuntu using command line 
Shell :: libqt5core5a is not installed. 
Shell :: renaming a file in linux 
Shell :: increase minikube resources linux 
Shell :: zsh: command not found: GDAL_LIBRARY_PATH 
Shell :: install capacitor ionic 
Shell :: gradle init scala 
ADD CONTENT
Topic
Content
Source link
Name
7+1 =