LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices


Reply
  Search this Thread
Old 06-02-2019, 02:12 PM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 128,733

Rep: Reputation: 118Reputation: 118
LXer: Linux Date Command


Published at LXer:

The date command displays or sets the system date. It is most commonly used to print the date and time in different formats and calculate future and past dates.

Read More...
 
Old 06-02-2019, 05:01 PM   #2
greencedar
Senior Member
 
Registered: Sep 2018
Distribution: Linux Mint 19.1 Tessa & 19.3 Tricia
Posts: 1,314
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
An informative article explaining the date command and the various usages.

One of the usages of the date command is to find the last modification of a file:

Quote:
Display the Last Modification Time of a File

The date command with the -r option shows the last modification time of a file. For example:

date -r /etc/hosts
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to get yesterdays date using the date command in a cronjob or cron variable malbe Linux - Newbie 10 05-24-2018 07:39 PM
System date and time + timezone with DATE command wBB Linux - Newbie 10 07-29-2017 09:27 AM
date:- date command giving different results. rajivswe.2k7 Linux - Newbie 6 08-10-2016 08:29 AM
LXer: How to change Thunderbird's date format in Date column LXer Syndicated Linux News 0 07-18-2012 02:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 05:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration