Re: Decode unixtime
- From: Chris Jones <cjns1989@xxxxxxxxx>
- Date: Fri, 15 Jan 2010 03:56:11 -0500
On Fri, Jan 15, 2010 at 02:46:07AM EST, Teemu Likonen wrote:
On 2010-01-15 05:20 (UTC), Chris Jackson wrote:
It's not well documented, but: date -d, with an '@' before it:
chrisj@hercule$ date -d '@1257624539'
Sat Nov 7 20:08:59 GMT 2009
It's documented quite well in info pages, though:
$ info coreutils "date inv"
$ info coreutils seconds
(Or from Emacs.)
But I guess nobody - except Emacs users - read info pages these days,
And they don't read the man pages either, since the date manual states:
| The full documentation for date is maintained as a Texinfo manual. If the info
| and date programs are properly installed at your site, the command
|
| info date
|
| should give you access to the complete manual.
I don't use Emacs, but for anything longer than a couple of screenfuls,
I find the Texinfo manuals have the edge over the man pages, although it
takes a while to get used to finding your way around.
Besides, I hear that due to licensing restrictions, some of the info
pages are not available from the debian repos. As a result, if you don't
mind tainting your debian system, you need to download them from the GNU
website and install them manually, which is not always straightforward.
I don't know if it still ships with more current versions of debian but
there is a nice replacement to the 'info' browser named 'pinfo' that
provides color highlighting and more user-friendly navigation via hjkl +
<Enter>... hmm, more user-friendly for vimmers, that is.. behaves a bit
more like a text-mode web browser.
so in practice it's not very well documented. :-)
Well, that's why we have mailing lists.. so we can document the doc :-)
CJ
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: Decode unixtime
- From: Brian Ryans
- Re: Decode unixtime
- From: Celejar
- Re: Decode unixtime
- References:
- Decode unixtime
- From: T o n g
- Re: Decode unixtime
- From: Chris Jackson
- Re: Decode unixtime
- From: Teemu Likonen
- Decode unixtime
- Prev by Date: Re: Gnome [Nautilus] debuggers: please reopen bug 358731
- Next by Date: Re: Why aren't there time stamps in Xorg.log?
- Previous by thread: Re: Decode unixtime
- Next by thread: Re: Decode unixtime
- Index(es):
Relevant Pages
|