Answers for "time in linux command"

1

current time linux

Open a terminal and type the following command:

date

Sat Nov  7 22:44:59 IST 2020

You can format the date as follows in dd-mm-yy format:
date +"%d-%m-%y"

07-11-2020
Posted by: Guest on July-22-2021
2

time in linux command

date
or
timedatectl
Posted by: Guest on April-01-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language