Log in Go to the main page Page Discussion History Go to the file list Go to the site toolbox Bookmark and Share

Date command, Linux

From RZWiki


Image:Tux_64x64.png

A command line program available on most Linux platforms; used to modify or display the system time and date.

Contents

Image:Vm-power-on-medium.png Usage Syntax

date [options]

Common options include;

  • ' -
  • ' -
  • ' -
  • ' -
  • ' -

Image:Vm-power-on-medium.png Usage Examples

Image:accessories-text-editor-v2-medium.png Usage Notes

Image:accessories-text-editor-v2-medium.png Linux Usage Notes

With most Linux or Unix commands;

  • Non root users may need to prefix commands with the sudo command, for example: sudo chmod 644 *
  • Brief help can be displayed using the -h or --help parameter, for example: chmod --help
  • A full command manual can be displayed using the man command followed by the command name, for example: man chmod
  • Sometimes 'info' pages are used instead of or to provide more information than man pages; for example: info chmod
  • Version information can normally be display using the -v, -V or --version parameter, for example: chmod --version. However, this paramater is also frequently used to display verbose output.

noinclude/noinclude

Image:utilities-terminal-medium-v2.png Typical Output

noinclude/noinclude

Image:Folder-medium.png Related Files

The date executable is normally found here: /bin/date

Image:icemon-medium.png Related Commands

Image:object-flip-horizontal-medium.png Command Equivalents

The Cisco command equivalent is the clock set command

The Extreme command equivalent is the configure time command

The Vyatta command equivalent is the

See the date command, Vyatta article for information on the Vyatta platform command of the same name

Image:icemon-medium.png Related Articles


Site Toolbox:

Personal tools
This page was last modified on 27 October 2008, at 20:59. - This page has been accessed 40 times. - Disclaimers - About RZWiki
Powered by MediaWiki