Unix timestamp Solaris

/usr/bin/truss /usr/bin/date 2>&1 | nawk -F= '/^time\(\)/ {gsub(/ /,"",$2);print $2}'

2011-01-12 16:18:50

1 Alternatives + Submit Alt

What Others Think

I watch almost all the videos in which you explain things and help us in many ways to solve these problems. I spend time at rushmyessay where guides people about the coding section if they stuck at any place.
Everett382 · 65 weeks ago
If we watch these all videos in high quality then it is more possible that we understand all things and share this with our class students. Heavy Vs Light Bowling Balls Review 2021
Elie77 · 50 weeks and 2 days ago
There are predictable insinuating foundations any spot yet in the mean time, we can't get the ideal yield. Click http://www.freepunctuationchecker.com/ for more info. A goliath piece of the standard inhabitants don't have the haziest idea concerning the wanderer bits of our religion.
tinakutch · 35 weeks and 4 days ago
There are predictable suggesting establishments any spot yet at the same time, we can't get the ideal yield. Just have a look https://www.grammarcheckeronline.org/ i hope you will like it. A goliath piece of the normal inhabitants don't have even the remotest clue concerning the vagabond pieces of our religion.
tinakutch · 35 weeks and 4 days ago
I if all else fails send nostalgic messages to my dear around the start of my day. One hire this http://www.grammarcheckonline.net/ to do work at time. She is obviously the basic concern which I audit when I open my eyes.
tinakutch · 35 weeks and 4 days ago
There is a tremendous heap of affecting and sizzling material present in the La Dolce Vita film. Just have a look http://www.sentencestructure.org/how-to-check-whether-a-sentence-is-correct-or-not/ i hope you will like it. As necessities be, this film will not be particularly obliterating for you.
Ahmed74 · 30 weeks and 5 days ago
The choice of Kirk of taking David's frontal cortex is the best one since he is the most dazzling one. Visit plagiarism checker for students for more ideas. In case I need to make a choice, I would similarly follow Kirk.
Ahmed74 · 30 weeks and 5 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: