Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash get todays date formatted

TODAY=$(date +'%Y%m%d')
# looks like: 20221025 / YYYYMMDD

TODAY=$(date +'%Y-%m-%d')
# looks like: 2022-10-25 / YYYY-MM-DD

# For more, google "bash get date format"
Comment

PREVIOUS NEXT
Code Example
Shell :: flutter errors shader compilation error 
Shell :: docker without sudo 
Shell :: open firewall port in ububut 
Shell :: how to know the shell version in ubuntu 
Shell :: get public ip linu 
Shell :: zsh autosuggestions 
Shell :: aws cli list all profiles 
Shell :: sudo apt update ignore gpg signature 
Shell :: uninstall pyqt5 
Shell :: ping ip v4 
Shell :: how to install jest 
Shell :: cancel a commit not pushed 
Shell :: choco update node 
Shell :: change process name pm2 
Shell :: gnome 3 show seconds 
Shell :: how to check hard disk space linux 
Shell :: steam is not in the sudoers file. 
Shell :: git log oneline graph 
Shell :: git remove upstream branch 
Shell :: traceroute ubuntu command 
Shell :: how to install kivy in ubuntu 
Shell :: how to undo git remote add origin 
Shell :: laravel add to path ubuntu 
Shell :: install pyqt5 tools 
Shell :: windows uvicorn not found 
Shell :: git change origin 
Shell :: pop last commit git 
Shell :: install xcode tools using brew 
Shell :: aws cli s3 bucket list 
Shell :: install scikit learn windows 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =