Horje
linux get date yyyymmdd Code Example
date linux format yyyymmdd
# put current date as yyyy-mm-dd in $date
date=$(date '+%Y-%m-%d')

# put current date as yyyy-mm-dd HH:MM:SS in $date
date=$(date '+%Y-%m-%d %H:%M:%S')

# print current date directly
echo $(date '+%Y-%m-%d')
linux get date yyyymmdd
date '+%Y/%m/%d' #Output 2022/03/11




Shell

Related
Ubuntu 18.04 Mouse right click not working Code Example Ubuntu 18.04 Mouse right click not working Code Example
store environment variables firebase Code Example store environment variables firebase Code Example
poop Code Example poop Code Example
zsh add to PATH permanently Code Example zsh add to PATH permanently Code Example
remote: The project you were looking for could not be found. fatal: repository 'https://gitlab.com/MahKania/bus-staton-service.git/' not found Code Example remote: The project you were looking for could not be found. fatal: repository 'https://gitlab.com/MahKania/bus-staton-service.git/' not found Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11