Online Linux Terminal Logo
OnlineLinuxTerminal
System & ProzesseCLI Manual

$date

Display or set system date and time.

BefehlssyntaxPOSIX Standard
date [OPTIONS] [+FORMAT]
Linux-Community2.4k Online

Tausche dich mit Linux-Nutzern aus, lerne Befehle und lade PDF-Cheatsheets herunter.

Live im interaktiven Terminal ausprobieren

Client-seitige Simulation ohne Installation mit sofortigem Feedback.

Im Vollbild-Terminal öffnen ↗
bash — terminal

Überblick & Funktionsweise

`date` prints or sets the system date, time, and timezone. In shell scripts, it is commonly formatted (e.g., `date +%Y-%m-%d`) to generate timestamped backup filenames and logs.

Wichtige Optionen und Flags

Flag / OptionDescription
+%Y-%m-%dFormat output as Year-Month-Day (e.g., 2026-08-29).
-u, --utcPrint date and time in Coordinated Universal Time (UTC).

Praktische Anwendungsbeispiele

#1Print current date and time

Outputs the standard system timestamp.