shell script current time
date +'FORMAT'
### mm/dd/yyyy ###
date +'%m/%d/%Y'
## Time in 12 hr format ###
date +'%r'
## backup dir format ##
backup_dir=$(date +'%m/%d/%Y')
echo "Backup dir for today: /nas04/backups/${backup_dir}"#!/bin/bash
now="$(date)"
printf "Current date and time %s\n" "$now"
now="$(date +'%d/%m/%Y')"
printf "Current date in dd/mm/yyyy format %s\n" "$now"
echo "Starting backup at $now, please wait..."
# command to backup scripts goes here
# ...
Also in C++:
- open jpg command line linuc
- what is linux
- installing mysql on aws using putty terminal
- how to full update kali linux
- gcc 7 install ubuntu
- github add image to readme
- terminal show running processes tree mac os
- linux search for files larger than
- after installing manjaro kde
- bash swap two columns in a file
- restart mysql mac command line
- powershell try catch connect-viserver
- can i do git push to heroku branch which isnt a master or main
- update composer on windows
- install dot-prop
- how to re install react native on windows 10
- get date whit batch
- Please install paramiko on your system. (sudo pip3 install paramiko)
- remove snap package
- sed replace word with newline
- git remove from folder
- raise RuntimeError('Error accessing GPIO.') RuntimeError: Error accessing GPIO.
- flutter install in window
- getkirby install editor