1

Have a problem with command faketime.

Trying to use it, but always get an error:

faketime -t "2000-01-01 01:00:00"
/usr/bin/faketime: 102: exec: 2000-01-01 01:00:00: not found

I have Ubuntu 12.04

1
  • Can you explain how to make it correct for date 2000-01-01 01:00:00 Dec 10, 2012 at 6:56

1 Answer 1

1

Do you read faketime man page?

faketime 'last Friday 5 pm' /bin/date
faketime '2000-01-01 01:00:00' /bin/date
1
  • 1
    Thank you for your helpfull first post. (Minor hint: I would use 4 blank intention for a code block to simulate prompts as > at the beginning of the line is a quote).
    – eckes
    Dec 13, 2012 at 3:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .