~ubuntu-branches/ubuntu/trusty/systemd/trusty

« back to all changes in this revision

Viewing changes to man/timedatectl.html

Tags: upstream-202
Import upstream version 202

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
  <a href="systemd.directives.html">Directives </a>·
3
3
  <a href="../python-systemd/index.html">Python </a>·
4
4
  <a href="../libudev/index.html">libudev </a>·
5
 
  <a href="../libudev/index.html">gudev </a><hr><div class="refentry"><a name="timedatectl"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>timedatectl — Control the system time and date</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">timedatectl [OPTIONS...]  {COMMAND}</code> </p></div></div><div class="refsect1"><a name="idp3428864"></a><h2>Description</h2><p><span class="command"><strong>timedatectl</strong></span> may be used to
 
5
  <a href="../libudev/index.html">gudev </a><span style="float:right">systemd 202</span><hr><div class="refentry"><a name="timedatectl"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>timedatectl — Control the system time and date</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">timedatectl [OPTIONS...]  {COMMAND}</code> </p></div></div><div class="refsect1"><a name="idp3908224"></a><h2>Description</h2><p><span class="command"><strong>timedatectl</strong></span> may be used to
6
6
                query and change the system clock and its
7
 
                settings.</p></div><div class="refsect1"><a name="idp150560"></a><h2>Options</h2><p>The following options are understood:</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="option">-h</code>, </span><span class="term"><code class="option">--help</code></span></dt><dd><p>Prints a short help
 
7
                settings.</p></div><div class="refsect1"><a name="idp3053808"></a><h2>Options</h2><p>The following options are understood:</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="option">-h</code>, </span><span class="term"><code class="option">--help</code></span></dt><dd><p>Prints a short help
8
8
                                text and exits.</p></dd><dt><span class="term"><code class="option">--version</code></span></dt><dd><p>Prints a short version
9
9
                                string and exits.</p></dd><dt><span class="term"><code class="option">--no-pager</code></span></dt><dd><p>Do not pipe output into a
10
10
                                pager.</p></dd><dt><span class="term"><code class="option">--no-ask-password</code></span></dt><dd><p>Don't query the user
66
66
                                argument. Controls whether NTP based
67
67
                                network time synchronization is
68
68
                                enabled (if
69
 
                                available).</p></dd></dl></div></div><div class="refsect1"><a name="idp35232"></a><h2>Exit status</h2><p>On success 0 is returned, a non-zero failure
70
 
                code otherwise.</p></div><div class="refsect1"><a name="idp36416"></a><h2>Environment</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="varname">$SYSTEMD_PAGER</code></span></dt><dd><p>Pager to use when
 
69
                                available).</p></dd></dl></div></div><div class="refsect1"><a name="idp2457808"></a><h2>Exit status</h2><p>On success 0 is returned, a non-zero failure
 
70
                code otherwise.</p></div><div class="refsect1"><a name="idp4709744"></a><h2>Environment</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="varname">$SYSTEMD_PAGER</code></span></dt><dd><p>Pager to use when
71
71
                                <code class="option">--no-pager</code> is not given;
72
72
                                overrides <code class="varname">$PAGER</code>.  Setting
73
73
                                this to an empty string or the value
74
74
                                <code class="literal">cat</code> is equivalent to passing
75
 
                                <code class="option">--no-pager</code>.</p></dd></dl></div></div><div class="refsect1"><a name="idp48672"></a><h2>Examples</h2><p>Show current settings:
 
75
                                <code class="option">--no-pager</code>.</p></dd></dl></div></div><div class="refsect1"><a name="idp3996080"></a><h2>Examples</h2><p>Show current settings:
76
76
                </p><pre class="programlisting">
77
77
$ timedatectl
78
78
      Local time: Fri, 2012-11-02 09:26:46 CET
109
109
          Active: active (running) since Fri, 2012-11-02 09:36:25 CET; 5s ago
110
110
...
111
111
                </pre><p>
112
 
                </p></div><div class="refsect1"><a name="idp54048"></a><h2>See Also</h2><p>
 
112
                </p></div><div class="refsect1"><a name="idp4304144"></a><h2>See Also</h2><p>
113
113
                        <a href="systemd.html"><span class="citerefentry"><span class="refentrytitle">systemd</span>(1)</span></a>,
114
114
                        <a href="hwclock.html"><span class="citerefentry"><span class="refentrytitle">hwclock</span>(8)</span></a>,
115
115
                        <a href="date.html"><span class="citerefentry"><span class="refentrytitle">date</span>(1)</span></a>,