🔍 快速查找Linux命令

🔍
💡 提示:输入即搜,点击卡片查看详情,点击示例可复制。快捷键:Ctrl+K 搜索 切换命令
6 个命令 ,分类:系统管理
uname 🖥️ 系统管理

显示系统信息

uname [选项]
uname -auname -runame -m
uptime 🖥️ 系统管理

系统运行时间

uptime [选项]
uptimeuptime -puptime -s
date 🖥️ 系统管理

显示或设置日期

date [选项] [+格式]
datedate '+%Y-%m-%d %H:%M:%S'date -d 'yesterday'
hostname 🖥️ 系统管理

显示或设置主机名

hostname [选项] [名称]
hostnamehostname -Ihostname -f
shutdown 🖥️ 系统管理

关机或重启

shutdown [选项] 时间 [消息]
shutdown -h nowshutdown -r +5shutdown -c
reboot 🖥️ 系统管理

重启系统

reboot [选项]
rebootreboot -f