Sitemap

Work with date command

--

Date is a command in Linux/Unix which show the time and date on the terminal as an output. Date command in Linux work with different options as per user requirements, it shows different output to the different options. Date is a program in command line that is run by a shell (bash).

Some date options in command line are:

  1. ‘Manual’ of the command will help you to know what is that command used for, how to use and its discription.

cmd: man date

Press enter or click to view image in full size
manual date

2. cmd: date

Press enter or click to view image in full size
date command

3. we can print Full weekday name (e.g., sun) with date command.

Press enter or click to view image in full size

4. Date command with Zenity

Press enter or click to view image in full size
date with zenity

5. espeak-ng command with date it will speak the date command

Press enter or click to view image in full size
espeak-ng with date command

6. we can print date inside the file.

Press enter or click to view image in full size
date command inside the file

You can create many more outputs with date command and its options.

Get Sangram singh chauhan’s stories in your inbox

Join Medium for free to get updates from this writer.

Thanks for reading my article.

#vimaldaga#righteducation#educationredefine#arth2#rightmentor#worldrecordholder#linuxworld#makingindiafutureready#righteducation#date

--

--