go to
> time(2)
> gettimeofday(2)
> clock_gettime(2)
Homepage > Man Pages > Category > General Commands
Homepage > Man Pages > Name > D


man page of datefudge

datefudge: pretend the system time is different

datefudge - pretend the system time is different


datefudge [-s|--static] at_date program [arguments ...]


datefudge is a small utility that pretends that the system time is different by pre-loading a small library which modifies the time(2), gettimeofday(2) and clock_gettime(2) system calls.


--static, -s set date as a 'static' one. The above mentioned system calls will always return the date passed as a parameter of the program regardless of time passing. See EXAMPLES below. --help, -h print short usage information and exit. --version, -v print version information and exit.


Basic example: $ datefudge "2007-04-01 10:23" date -R Sun, 01 Apr 2007 10:23:00 +0200 Non-static vs. static example: $ datefudge "2007-04-01 10:23" sh -c "sleep 3; date -R" Sun, 01 Apr 2007 10:23:03 +0200 $ datefudge --static "2007-04-01 10:23" sh -c "sleep 3; date -R" Sun, 01 Apr 2007 10:23:00 +0200
Written by Matthias Urlichs <smurf@noris.de>. Modified by Robert Luberda <robert@debian.org>.
There is no attempt to make this change undetectable by the program. In particular, file modification times are not modified.


Copyright (C) 2003 by Matthias Urlichs. Copyright (C) 2008-2011 by Robert Luberda. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You may redistribute copies of datefudge under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING.


ld.so(1), time(2), gettimeofday(2), clock_gettime(2) DATEFUDGE(1)

Copyright © 2011–2018 by topics-of-interest.com . All rights reserved. Hosted by all-inkl.
Contact · Imprint · Privacy

Page generated in 36.33ms.

generiere.de | meinehunde.net | www.daelim-forum.com