Sistema y procesosCLI Manual
$date
Display or set system date and time.
Sintaxis del comandoPOSIX Standard
date [OPTIONS] [+FORMAT]Prueba en vivo en la terminal interactiva
Simulación del lado del cliente sin instalación y con respuesta inmediata.
bash — terminal
AST Sandbox (Free)
Descripción general y funcionamiento
`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.
Opciones y banderas comunes
| Flag / Option | Description |
|---|---|
| +%Y-%m-%d | Format output as Year-Month-Day (e.g., 2026-08-29). |
| -u, --utc | Print date and time in Coordinated Universal Time (UTC). |
Ejemplos prácticos del mundo real
Comandos de Linux relacionados
$psSistema y procesos
Muestra una instantánea de los procesos activos en ejecución.
$topSistema y procesos
Display real-time Linux processes and system resource utilization.
$htopSistema y procesos
Interactive process viewer with colorful CPU meters and mouse support.
$killSistema y procesos
Send termination or control signals to processes by PID.
$whoamiSistema y procesos
Print the effective username associated with the current shell session.
$unameSistema y procesos
Print operating system name and kernel architecture.