1. 查看linux的内核版本:uname -a
可以看到,内核版本是2.6.32,是64位系统
2. Linux重启:$sudo reboot
3. 获取主机名:
#hostname
testapp
4. 查看历史命令
#history
506 apt-get install docker-engine
507 grep device-mapper /proc/devices
508 yum install -y device-mapper
509 modprobe dm_mod
510 hostname
511 cat /ect/hosts
512 pwd
513 cd
514 cd /etc/hosts
515 cat /etc/hosts
516 ip a
517 ps -aux
518 history
5.
6.
时间: 2024-11-04 16:31:29