Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
Source by www.howtouselinux.com #
 
PREVIOUS NEXT
Tagged: #current #time #linux
ADD COMMENT
Topic
Name
4+8 =