linux常用基础命令
修改时间 date -s 月/日/年 例如:date -s 07/31/2019 date -s 时:分:秒 例如:date -s 23:56:50 hwclock -w 将时间写到bois,防止重启机器时间配置失效 帮助命令 man 获得帮助信息 man 命令或配置文件 例如:man date 或 man ls 或 man systemctl help 获得shell内置命令的帮助信息 命令 --help 例如:ls --help [root@localhost112 ~]# ls --help Usage: ls [OPTION]... [FILE]... List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor --sort is specified. Mandatory arguments to long options are mandatory for short options too. -a, --all do not ignore entries starting with . -A, --almost-all do not list implied . and .. -