Linux的shell编程前奏常见命令实战三
一>linux下通过mkdir创建一个新目录/oldboy/ett,ett的硬链接数是多少,为什么?
如果在/oldboy/ett下面再创建一个目录test,那么,ett的硬链接数是多少,为什么?
[
root@lll oldboy]# mkdir -p /oldboy/ett -------创建/oldboy/ett[root@lll oldboy]# ls -l /oldboy-------查看硬链接数为2(本身为一个,.为一个)总用量 4drwxr-xr-x 2 root root 6 12月 10 20:44 ett-rw-r--r-- 1 rsync rsync 0 7月 29 14:45 haohao2-rw-r--r-- 1 rsync rsync 0 7月 29 14:45 haohao3-rw-r--r-- 1 rsync rsync 0 7月 29 14:45 haohao4-rw-r--r-- 1 rsync rsync 0 7月 29 14:45 haohao5-rw-r--r-- 1 rsync rsync 0 7月 29 14:45 haohao6-rw-r--r-- 1 rsync rsync 0 7月 29 14:45 haohao7-rw-r--r-- 1 rsync rsync 0 7月 29 14:45 haohao8-rw-r--r-- 1 rsync rsync 0 7月 29 14:45 haohao9-rw-r--r-- 1 root root 11 7月 29 10:12 test-rw-r--r-- 1 rsync rsync 0 7月 29 10:26 test1-rw-r--r-- 1 rsync rsync 0 7月 29 10:26 test10-rw-r--r-- 1 rsync rsync 0 7月 29 10:26 test2-rw-r--r-- 1 rsync rsync 0 7月 29 10:26 test3-rw-r--r-- 1 rsync rsync 0 7月 29 10:26 test4-rw-r--r-- 1 rsync rsync 0 7月 29 10:26 test5-rw-r--r-- 1 rsync rsync 0 7月 29 10:26 test6-rw-r--r-- 1 rsync rsync 0 7月 29 10:26 test7-rw-r--r-- 1 rsync rsync 0 7月 29 10:26 test8-rw-r--r-- 1 rsync rsync 0 7月 29 10:26 test9-rw-r--r-- 1 root root 0 7月 29 10:24 testa-rw-r--r-- 1 root root 0 7月 29 10:24 testb-rw-r--r-- 1 root root 0 7月 29 10:24 testc-rw-r--r-- 1 root root 0 7月 29 10:24 testd-rw-r--r-- 1 root root 0 7月 29 10:24 teste-rw-r--r-- 1 root root 0 7月 29 10:24 testf-rw-r--r-- 1 root root 0 7月 29 10:24 testg[root@lll ett]# ls -l /oldboy/ett -di -----第一个硬链接34175539 drwxr-xr-x 2 root root 6 12月 10 20:44 /oldboy/ett[root@lll ett]# ls -l /oldboy/ett -ai ------第二个硬链接总用量 434175539 drwxr-xr-x 2 root root 6 12月 10 20:44 .34351858 drwxrwxrwx 3 rsync rsync 4096 12月 10 20:44 ..------------------------------------------------------------------------------------------------------------------------------------[root@lll ett]# mkdir test[root@lll ett]# cd ..;ll|grep ettdrwxr-xr-x 3 root root 18 12月 10 21:17 ett[root@lll oldboy]# ll /oldboy/ett -di 34175539 drwxr-xr-x 3 root root 18 12月 10 21:17 /oldboy/ett ----第一个硬链接[root@lll oldboy]# ll /oldboy/ett -ai 总用量 434175539 drwxr-xr-x 3 root root 18 12月 10 21:17 . ----第二个硬链接34351858 drwxrwxrwx 3 rsync rsync 4096 12月 10 20:44 ..34175540 drwxr-xr-x 2 root root 6 12月 10 21:17 test[root@lll oldboy]# cd /oldboy/ett/test;ll 总用量 0[root@lll test]# cd /oldboy/ett/test;ls -lai|grep "\.\."34175539 drwxr-xr-x 3 root root 18 12月 10 21:17 .. ----第三个硬链接
总结:
1>硬链接
A.具有相同inode节点号的多个文件互为硬链接文件。
B.删除硬链接文件或者删除源文件任意之一,文件实体并未删除;只有删除了源文件以及源文件所有
对应的硬链接文件,文件实体才会被删除。
C.硬链接文件就是文件的另外一个入口(相当于超市的前后门)。
2>软链接
A.软链接类似于windows文件的快捷方式。
B.软链接类似于一个文本文件,里面存放的是源文件的路劲,指向源文件实体;即使删除了源文件,
软链接文件也还是依然存在,但是无法访问指向的源文件路径内容了。
C.软链接和源文件是不同类型的文件,也是不同的文件,inode号也不相同。
二>请给出默认情况下ens33网卡配置文件的路径及客户端dns的路径.
[root@lll etc]# cat /etc/sysconfig/network-scripts/ifcfg-ens33 -----默认情况下ens33网卡配置文件的路径TYPE=EthernetHWADDR=00:0c:29:47:b5:b6BOOTPROTO=dhcpDEFROUTE=yesPEERDNS=yesPEERROUTES=yesIPV4_FAILURE_FATAL=noIPV6INIT=yesIPV6_AUTOCONF=yesIPV6_DEFROUTE=yesIPV6_PEERDNS=yesIPV6_PEERROUTES=yesIPV6_FAILURE_FATAL=noIPV6_ADDR_GEN_MODE=stable-privacyNAME=ens33UUID=b794f3ad-8259-4075-9cde-faf5a14b434bDEVICE=ens33ONBOOT=yes ZONE=[root@lll etc]# cat /etc/resolv.conf ------客户端dns的路径.; generated by /usr/sbin/dhclient-scriptsearch DHCP HOSTnameserver 192.168.1.1nameserver 192.168.0.1
三>执行下面命令时发现提示需要输入密码,请问提示输入的密码是哪个用户的密码?
[test@oldboy] sudo su - oldboy
当前执行命令test用户的密码。
总结:
1>su -/ su - root 该命令是真正用户角色转换命令(默认是切到root),输入的是root密码。
2>sudo su - 该命令是通过sudo权限进行角色转换(默认是切到root),输入的是执行命令当时执行命令对应用户的密码,非root密码。
3>sudo su - oldboy 该命令实际意思是通过sudo,以root的权限,进行su - oldboy用户切换,因此需要输入的是执行命令当时用户的密码。
四>已知/oldboy/test.txt文件内容为
test
liyao
oldboy
请问如何把文件中的空行过滤掉(要求命令行实现)
[root@lll /]# cat test.txttestliyaooldboy法一:[root@lll /]# grep -v "^$" test.txttestliyaooldboy法二:[root@lll /]# sed '/^$/d' test.txttestliyaooldboy
五>请描述下列路径是做什么的?
/var/log/messages
/var/log/secure
/var/spool/clientmqueue
/proc/interrupts
/etc/fstab
/etc/profile
答案: /var/log/messages 系统日志
/var/log/secure 系统安全日志
/var/spool/clientmqueue 邮件临时目录
/proc/interrupts 查看中断文件
/etc/fstab 磁盘文件系统开机自动挂载文件
/etc/profile 全局的环境配置文件
六>如何快速查到ifconfig的全路径?
法一:
[root@lll /]# which ifconfig -------- which查看系统命令的路径
/usr/sbin/ifconfig
法二:
[root@lll /]# whereis -b ifconfig ------- -b是查看二进制命令
ifconfig: /usr/sbin/ifconfig
七>查看当前哪些用户在线的linux命令?
[root@lll /]# w --------w 20:52:00 up 48 min, 2 users, load average: 0.02, 0.04, 0.05USER TTY FROM LOGIN@ IDLE JCPU PCPU WHATroot tty1 20:08 43:52 0.31s 0.31s -bashroot pts/0 192.168.0.101 20:08 0.00s 0.56s 0.03s w[root@lll /]# last -------lastroot pts/0 192.168.0.101 Sat Dec 22 20:08 still logged in root tty1 Sat Dec 22 20:08 still logged in reboot system boot 3.10.0-514.el7.x Sat Dec 22 20:03 - 20:52 (00:48) root pts/0 192.168.0.101 Thu Dec 20 22:30 - down (00:15) root tty1 Thu Dec 20 22:25 - 22:46 (00:21) reboot system boot 3.10.0-514.el7.x Thu Dec 20 22:18 - 22:46 (00:28) root pts/0 192.168.0.103 Sun Dec 16 22:13 - crash (4+00:04) root tty1 Sun Dec 16 22:13 - crash (4+00:05) reboot system boot 3.10.0-514.el7.x Sun Dec 16 22:11 - 22:46 (4+00:34) root pts/0 192.168.0.101 Thu Dec 13 21:00 - down (01:39) root tty1 Thu Dec 13 20:50 - 22:39 (01:49) reboot system boot 3.10.0-514.el7.x Thu Dec 13 20:49 - 22:39 (01:50) root pts/0 192.168.0.101 Mon Dec 10 20:19 - down (02:13) root tty1 Mon Dec 10 20:18 - 22:32 (02:14) reboot system boot 3.10.0-514.el7.x Mon Dec 10 20:15 - 22:33 (02:17) root pts/0 192.168.0.102 Sun Dec 9 22:18 - down (00:12) root tty1 Sun Dec 9 22:18 - 22:30 (00:12) reboot system boot 3.10.0-514.el7.x Sun Dec 9 22:12 - 22:30 (00:18) root pts/0 192.168.0.101 Sun Oct 28 12:47 - down (06:38) root tty1 Sun Oct 28 12:46 - 19:24 (06:38) reboot system boot 3.10.0-514.el7.x Sun Oct 28 12:45 - 19:25 (06:39) root pts/0 192.168.0.101 Sat Oct 13 17:51 - down (04:34) root tty1 Sat Oct 13 17:51 - 22:26 (04:35) reboot system boot 3.10.0-514.el7.x Sat Oct 13 17:49 - 22:26 (04:36) reboot system boot 3.10.0-514.el7.x Sat Oct 13 17:32 - 22:26 (04:54) reboot system boot 3.10.0-514.el7.x Sat Oct 13 17:00 - 22:26 (05:26) root pts/0 192.168.0.101 Mon Oct 1 17:16 - down (05:32) root tty1 Mon Oct 1 17:15 - 22:48 (05:32) reboot system boot 3.10.0-514.el7.x Mon Oct 1 17:02 - 22:48 (05:46) root pts/0 192.168.0.101 Mon Oct 1 14:02 - down (02:32) root tty1 Mon Oct 1 14:02 - 16:35 (02:32) reboot system boot 3.10.0-514.el7.x Mon Oct 1 10:38 - 16:35 (05:56) root pts/0 192.168.0.101 Mon Sep 24 08:03 - down (13:33) root tty1 Mon Sep 24 08:03 - 21:36 (13:33) reboot system boot 3.10.0-514.el7.x Mon Sep 24 08:01 - 21:37 (13:35) root pts/0 192.168.0.101 Sun Sep 23 19:39 - 23:02 (03:22) root tty1 Sun Sep 23 19:39 - 23:02 (03:22) reboot system boot 3.10.0-514.el7.x Sun Sep 23 19:37 - 23:02 (03:25) root pts/0 192.168.0.102 Sat Sep 22 21:06 - down (00:41) root tty1 Sat Sep 22 21:06 - 21:48 (00:42) reboot system boot 3.10.0-514.el7.x Sat Sep 22 21:01 - 21:48 (00:47) root pts/0 192.168.0.102 Mon Sep 17 11:26 - down (11:03) root tty1 Mon Sep 17 11:23 - 22:29 (11:06) reboot system boot 3.10.0-514.el7.x Mon Sep 17 10:50 - 22:30 (11:39) root pts/0 192.168.0.103 Sun Sep 16 10:56 - down (11:19) root tty1 Sun Sep 16 10:56 - 22:16 (11:20) reboot system boot 3.10.0-514.el7.x Sun Sep 16 10:51 - 22:16 (11:24) root pts/0 192.168.0.102 Sat Sep 15 16:26 - down (05:49) root tty1 Sat Sep 15 16:18 - 22:15 (05:57) reboot system boot 3.10.0-514.el7.x Sat Sep 15 16:17 - 22:16 (05:59) root pts/0 192.168.0.102 Wed Sep 12 21:49 - down (01:05) root tty1 Wed Sep 12 20:28 - 22:54 (02:26) reboot system boot 3.10.0-514.el7.x Wed Sep 12 20:21 - 22:54 (02:33) root pts/0 192.168.0.104 Tue Sep 11 19:10 - down (03:17) root tty1 Tue Sep 11 19:09 - 22:28 (03:18) reboot system boot 3.10.0-514.el7.x Tue Sep 11 19:08 - 22:28 (03:19) root pts/0 192.168.0.104 Mon Sep 10 22:28 - down (00:26) root tty1 Mon Sep 10 22:27 - 22:54 (00:26) reboot system boot 3.10.0-514.el7.x Mon Sep 10 16:18 - 22:54 (06:35) root pts/0 192.168.0.101 Sun Sep 9 11:04 - crash (1+05:14) root tty1 Sun Sep 9 11:03 - crash (1+05:14) reboot system boot 3.10.0-514.el7.x Sun Sep 9 08:30 - 22:54 (1+14:23) root pts/0 192.168.0.101 Sat Sep 8 14:05 - down (08:58) root tty1 Sat Sep 8 14:04 - 23:03 (08:59) reboot system boot 3.10.0-514.el7.x Sat Sep 8 14:01 - 23:03 (09:02) root pts/0 192.168.0.101 Fri Sep 7 20:30 - crash (17:30) root tty1 Fri Sep 7 20:30 - crash (17:31) reboot system boot 3.10.0-514.el7.x Fri Sep 7 19:55 - 23:03 (1+03:07) root tty1 Thu Sep 6 22:54 - 22:54 (00:00) reboot system boot 3.10.0-514.el7.x Thu Sep 6 21:43 - 22:54 (01:11) root pts/0 192.168.0.102 Tue Sep 4 22:07 - down (01:27) root tty1 Tue Sep 4 22:04 - 23:35 (01:30) reboot system boot 3.10.0-514.el7.x Tue Sep 4 22:02 - 23:35 (01:32) root pts/1 192.168.0.102 Sun Sep 2 12:12 - 17:14 (05:01) root pts/1 192.168.0.102 Sun Sep 2 11:48 - 12:05 (00:16) root pts/0 192.168.0.102 Sun Sep 2 10:05 - crash (2+11:57) root tty1 Sun Sep 2 10:05 - crash (2+11:57) reboot system boot 3.10.0-514.el7.x Sun Sep 2 10:04 - 23:35 (2+13:31) root pts/0 192.168.0.102 Sat Sep 1 23:37 - down (00:04) root tty1 Sat Sep 1 23:36 - 23:41 (00:04) reboot system boot 3.10.0-514.el7.x Sat Sep 1 23:34 - 23:41 (00:06) root pts/0 192.168.0.102 Sat Sep 1 22:39 - crash (00:55) root tty1 Sat Sep 1 22:33 - crash (01:01) reboot system boot 3.10.0-514.el7.x Sat Sep 1 22:19 - 23:41 (01:21) root pts/0 192.168.0.102 Thu Aug 30 22:54 - 23:20 (00:25) root tty1 Thu Aug 30 22:53 - crash (1+23:26) reboot system boot 3.10.0-514.el7.x Thu Aug 30 22:45 - 23:41 (2+00:56) root pts/0 192.168.0.102 Wed Aug 29 21:18 - down (02:09) root tty1 Wed Aug 29 21:17 - 23:27 (02:10) reboot system boot 3.10.0-514.el7.x Wed Aug 29 21:13 - 23:27 (02:14) root pts/0 192.168.0.102 Mon Aug 27 19:53 - crash (2+01:19) root tty1 Mon Aug 27 19:53 - crash (2+01:20) reboot system boot 3.10.0-514.el7.x Mon Aug 27 19:46 - 23:27 (2+03:41) root pts/1 192.168.0.102 Sun Aug 26 22:26 - 22:47 (00:21) root pts/0 192.168.0.102 Sun Aug 26 20:34 - 23:37 (03:03) root tty1 Sun Aug 26 20:33 - crash (23:12) reboot system boot 3.10.0-514.el7.x Sun Aug 26 20:32 - 23:27 (3+02:55) root pts/0 192.168.0.102 Fri Aug 24 22:55 - down (00:11) root pts/0 192.168.0.102 Fri Aug 24 21:54 - 22:54 (01:00) root tty1 Fri Aug 24 21:53 - 23:06 (01:12) reboot system boot 3.10.0-514.el7.x Fri Aug 24 21:41 - 23:06 (01:24) root pts/0 192.168.0.103 Sun Aug 19 10:34 - crash (5+11:07) root tty1 Sun Aug 19 10:31 - crash (5+11:10) reboot system boot 3.10.0-514.el7.x Sun Aug 19 09:37 - 23:06 (5+13:28) root pts/0 192.168.0.103 Sat Aug 18 20:28 - down (02:02) root tty1 Sat Aug 18 20:24 - 22:30 (02:05) reboot system boot 3.10.0-514.el7.x Sat Aug 18 20:21 - 22:30 (02:09) root tty1 Sat Aug 18 18:59 - 20:13 (01:14) reboot system boot 3.10.0-514.el7.x Sat Aug 18 18:51 - 20:14 (01:22) root tty1 Sat Aug 18 18:55 - 18:57 (00:02) reboot system boot 3.10.0-514.el7.x Sat Aug 18 18:42 - 20:14 (01:31) root tty1 Sun Aug 5 10:02 - crash (13+08:40) reboot system boot 3.10.0-514.el7.x Sun Aug 5 09:55 - 20:14 (13+10:18) root pts/1 192.168.0.102 Sun Jul 29 21:37 - 21:37 (00:00) root pts/1 192.168.0.102 Sun Jul 29 21:20 - 21:20 (00:00) root pts/0 192.168.0.102 Sun Jul 29 16:33 - down (06:49) root tty1 Sun Jul 29 16:31 - 23:22 (06:50) reboot system boot 3.10.0-514.el7.x Sun Jul 29 16:30 - 23:22 (06:51) root pts/0 192.168.0.102 Sun Jul 29 10:37 - crash (05:52) root tty1 Sun Jul 29 10:35 - crash (05:55) reboot system boot 3.10.0-514.el7.x Sun Jul 29 10:31 - 23:22 (12:51) root pts/0 192.168.0.102 Sun Jul 29 08:13 - crash (02:17) root tty1 Sun Jul 29 08:01 - crash (02:29) reboot system boot 3.10.0-514.el7.x Sun Jul 29 07:41 - 23:22 (15:40) root pts/0 192.168.0.102 Sat Jul 28 22:21 - down (00:37) root tty1 Sat Jul 28 22:20 - 22:58 (00:37) reboot system boot 3.10.0-514.el7.x Sat Jul 28 22:18 - 22:58 (00:40) root pts/0 192.168.0.102 Sat Jul 28 19:42 - down (01:52) root tty1 Sat Jul 28 19:41 - 21:35 (01:53) reboot system boot 3.10.0-514.el7.x Sat Jul 28 19:40 - 21:35 (01:54) root pts/1 192.168.0.102 Sat Jul 28 10:30 - crash (09:10) root pts/0 192.168.0.102 Sat Jul 28 09:32 - crash (10:08) root tty1 Sat Jul 28 09:31 - crash (10:08) reboot system boot 3.10.0-514.el7.x Sat Jul 28 09:28 - 21:35 (12:06) root pts/0 192.168.0.102 Fri Jul 27 23:19 - crash (10:09) root tty1 Fri Jul 27 23:16 - crash (10:11) reboot system boot 3.10.0-514.el7.x Fri Jul 27 23:15 - 21:35 (22:19) root pts/0 192.168.1.102 Fri Jul 27 10:12 - down (07:37) root tty1 Fri Jul 27 10:10 - 17:49 (07:39) reboot system boot 3.10.0-514.el7.x Fri Jul 27 10:07 - 17:50 (07:42) root tty1 Thu Jul 26 22:17 - 22:37 (00:20) reboot system boot 3.10.0-514.el7.x Thu Jul 26 22:05 - 22:37 (00:32) root tty1 Thu Jul 26 21:09 - 22:11 (01:02) reboot system boot 3.10.0-514.el7.x Thu Jul 26 20:59 - 22:12 (01:12) root tty1 Sun Jul 22 22:54 - 21:05 (3+22:11) reboot system boot 3.10.0-514.el7.x Sun Jul 22 22:52 - 21:05 (3+22:13) root pts/2 192.168.0.100 Sun Jul 22 22:41 - down (00:03) root pts/1 192.168.0.100 Sun Jul 22 22:39 - down (00:06) root pts/1 192.168.0.100 Sun Jul 22 22:37 - 22:39 (00:01) root pts/0 192.168.0.100 Sun Jul 22 22:26 - down (00:18) root tty1 Sun Jul 22 22:08 - 22:45 (00:36) reboot system boot 3.10.0-514.el7.x Sun Jul 22 22:07 - 22:45 (00:37) root tty1 Sun Jul 22 16:32 - 22:06 (05:33) reboot system boot 3.10.0-514.el7.x Sun Jul 22 16:31 - 22:06 (05:35) root pts/0 192.168.0.25 Sun Jul 22 16:22 - crash (00:08) root tty1 Sun Jul 22 16:20 - crash (00:10) reboot system boot 3.10.0-514.el7.x Sun Jul 22 16:19 - 22:06 (05:46) root pts/0 192.168.0.100 Sun Jul 22 16:14 - 16:15 (00:00) root tty1 Sun Jul 22 16:11 - crash (00:08) reboot system boot 3.10.0-514.el7.x Sun Jul 22 16:10 - 22:06 (05:55) root pts/0 192.168.0.100 Sun Jul 22 13:32 - crash (02:37) root pts/0 192.168.0.100 Sun Jul 22 13:26 - 13:28 (00:01) root tty1 Sun Jul 22 12:06 - crash (04:03) reboot system boot 3.10.0-514.el7.x Sun Jul 22 11:57 - 22:06 (10:09) root pts/1 192.168.0.100 Sun Jul 22 11:54 - 11:55 (00:00) root pts/0 192.168.0.100 Sun Jul 22 11:52 - down (00:03) root tty1 Sun Jul 22 11:45 - 11:55 (00:09) reboot system boot 3.10.0-514.el7.x Sun Jul 22 11:44 - 11:55 (00:10) root pts/1 192.168.0.100 Sun Jul 22 11:30 - down (00:07) root pts/0 192.168.0.100 Sun Jul 22 11:23 - down (00:14) root tty1 Sun Jul 22 11:19 - 11:37 (00:17) reboot system boot 3.10.0-514.el7.x Sun Jul 22 11:18 - 11:37 (00:19) root tty1 Sun Jul 22 11:08 - 11:11 (00:02) reboot system boot 3.10.0-514.el7.x Sun Jul 22 11:07 - 11:11 (00:03) root pts/0 192.168.0.100 Sun Jul 22 11:03 - down (00:01) root tty1 Sun Jul 22 11:01 - 11:05 (00:03) reboot system boot 3.10.0-514.el7.x Sun Jul 22 10:57 - 11:05 (00:07) root pts/1 192.168.0.100 Sun Jul 22 10:44 - 10:55 (00:11) root pts/0 192.168.0.100 Sun Jul 22 10:37 - crash (00:20) root pts/1 192.168.0.100 Sat Jul 21 23:00 - 23:21 (00:21) root pts/0 192.168.0.100 Sat Jul 21 22:58 - 23:01 (00:02) root pts/1 192.168.0.100 Sat Jul 21 22:50 - 22:58 (00:08) root pts/0 192.168.0.100 Sat Jul 21 20:57 - 22:51 (01:54) root pts/0 192.168.0.105 Tue Jul 17 21:44 - 23:39 (01:54) root tty1 Tue Jul 17 21:43 - crash (4+13:14) reboot system boot 3.10.0-514.el7.x Tue Jul 17 21:40 - 11:05 (4+13:24) root pts/0 192.168.0.103 Mon Jul 16 20:47 - crash (1+00:53) root tty1 Mon Jul 16 20:41 - crash (1+00:59) reboot system boot 3.10.0-514.el7.x Mon Jul 16 20:35 - 11:05 (5+14:30) reboot system boot 3.10.0-514.el7.x Mon Jul 16 20:30 - 11:05 (5+14:35) root pts/1 192.168.0.102 Sun Jul 15 16:16 - 21:36 (05:20) root pts/0 192.168.0.102 Sun Jul 15 16:14 - 16:17 (00:02) root pts/0 192.168.0.102 Sun Jul 15 15:22 - 16:14 (00:51) root tty1 Sun Jul 15 15:22 - crash (1+05:07) reboot system boot 3.10.0-514.el7.x Sun Jul 15 15:11 - 11:05 (6+19:53) root pts/0 192.168.0.102 Sun Jul 15 11:53 - crash (03:17) root tty1 Sun Jul 15 11:53 - crash (03:18) reboot system boot 3.10.0-514.el7.x Sun Jul 15 11:51 - 11:05 (6+23:13) root pts/0 192.168.0.103 Sat Jul 14 16:00 - crash (19:51) root pts/0 192.168.0.102 Thu Jul 12 20:06 - 00:31 (04:25) root tty1 Thu Jul 12 20:05 - crash (2+15:46) reboot system boot 3.10.0-514.el7.x Thu Jul 12 20:04 - 11:05 (9+15:00) root pts/0 192.168.0.100 Thu Jul 5 20:18 - crash (6+23:46) root tty1 Thu Jul 5 20:17 - crash (6+23:47) reboot system boot 3.10.0-514.el7.x Thu Jul 5 20:15 - 11:05 (16+14:49) root pts/0 192.168.0.100 Mon Jul 2 20:34 - crash (2+23:41) root tty1 Mon Jul 2 20:34 - crash (2+23:41) reboot system boot 3.10.0-514.el7.x Mon Jul 2 20:31 - 11:05 (19+14:34) root pts/0 192.168.0.104 Sun Jul 1 16:10 - 22:58 (06:47) root tty1 Sun Jul 1 16:03 - crash (1+04:27) reboot system boot 3.10.0-514.el7.x Sun Jul 1 16:02 - 11:05 (20+19:02) root pts/0 192.168.0.102 Sat Jun 16 15:53 - 22:27 (1+06:34) root tty1 Sat Jun 16 15:53 - crash (15+00:09) reboot system boot 3.10.0-514.el7.x Sat Jun 16 15:39 - 11:05 (35+19:25) root pts/0 192.168.0.101 Sun Jun 10 14:03 - 22:37 (08:33) root tty1 Sun Jun 10 14:03 - crash (6+01:36) reboot system boot 3.10.0-514.el7.x Sun Jun 10 13:58 - 11:05 (41+21:07) root pts/0 192.168.0.101 Sat Jun 9 22:30 - 22:39 (00:09) root pts/0 192.168.0.101 Sat Jun 9 11:31 - 22:30 (10:59) root tty1 Sat Jun 9 11:29 - crash (1+02:28) reboot system boot 3.10.0-514.el7.x Sat Jun 9 11:28 - 11:05 (42+23:37) root tty1 Wed Jun 6 21:45 - crash (2+13:42) reboot system boot 3.10.0-514.el7.x Wed Jun 6 21:40 - 11:05 (45+13:24) root pts/0 192.168.0.103 Sun Jun 3 13:39 - crash (3+08:01) root pts/0 192.168.0.103 Sat Jun 2 13:35 - 00:35 (10:59) root tty1 Sat Jun 2 13:35 - crash (4+08:05) reboot system boot 3.10.0-514.el7.x Sat Jun 2 13:34 - 11:05 (49+21:31) root pts/0 192.168.0.101 Tue May 29 07:04 - crash (4+06:29) root tty1 Tue May 29 07:03 - crash (4+06:30) reboot system boot 3.10.0-514.el7.x Tue May 29 06:59 - 11:05 (54+04:05) root pts/0 192.168.0.101 Sun May 27 10:04 - 14:47 (04:42) root tty1 Sun May 27 10:03 - crash (1+20:56) reboot system boot 3.10.0-514.el7.x Sun May 27 10:02 - 11:05 (56+01:03) root pts/0 192.168.0.102 Sat May 26 10:27 - 22:43 (12:15) root pts/2 192.168.0.102 Fri May 25 20:05 - 11:15 (15:09) root pts/2 192.168.0.102 Fri May 25 19:44 - 20:05 (00:21) root pts/1 192.168.0.102 Fri May 25 19:16 - 21:27 (02:11) root pts/0 192.168.0.101 Thu May 24 21:12 - 21:09 (23:57) root tty1 Thu May 24 21:10 - crash (2+12:52) reboot system boot 3.10.0-514.el7.x Thu May 24 21:03 - 11:05 (58+14:02) root pts/0 192.168.0.101 Tue May 22 18:59 - crash (2+02:04) root tty1 Tue May 22 18:58 - crash (2+02:05) reboot system boot 3.10.0-514.el7.x Tue May 22 18:57 - 11:05 (60+16:08) root pts/0 192.168.0.104 Sun May 20 14:38 - down (08:05) root tty1 Sun May 20 14:28 - 22:42 (08:13) reboot system boot 3.10.0-514.el7.x Sun May 20 14:25 - 22:43 (08:18) root pts/1 192.168.0.102 Sat May 19 13:06 - crash (1+01:18) root pts/0 192.168.0.104 Fri May 18 20:57 - 13:22 (16:25) root tty1 Fri May 18 20:56 - crash (1+17:29) reboot system boot 3.10.0-514.el7.x Thu May 17 20:49 - 22:43 (3+01:54) root pts/0 192.168.0.101 Wed May 16 20:10 - crash (1+00:38) root tty1 Wed May 16 20:09 - crash (1+00:39) reboot system boot 3.10.0-514.el7.x Wed May 16 20:05 - 22:43 (4+02:38) root pts/0 192.168.0.103 Sun May 13 20:46 - down (02:01) root tty1 Sun May 13 20:46 - 22:47 (02:01) reboot system boot 3.10.0-514.el7.x Sun May 13 20:44 - 22:47 (02:02) root pts/2 192.168.0.103 Sun May 13 17:52 - crash (02:52) root pts/1 192.168.0.103 Sun May 13 17:32 - 19:43 (02:11) root pts/0 192.168.0.102 Sat May 12 09:44 - 19:38 (1+09:53) root tty1 Sat May 12 09:44 - crash (1+11:00) reboot system boot 3.10.0-514.el7.x Sat May 12 09:43 - 22:47 (1+13:04) root pts/0 192.168.0.102 Fri May 11 21:31 - down (01:10) root tty1 Fri May 11 21:30 - 22:40 (01:10) reboot system boot 3.10.0-514.el7.x Fri May 11 21:28 - 22:41 (01:12) root pts/0 192.168.0.103 Thu May 10 21:03 - crash (1+00:25) root tty1 Thu May 10 21:02 - crash (1+00:25) reboot system boot 3.10.0-514.el7.x Thu May 10 20:57 - 22:41 (1+01:43) root pts/1 192.168.0.102 Wed May 9 20:54 - down (01:47) root pts/0 192.168.0.102 Wed May 9 20:42 - 21:09 (00:27) root pts/0 192.168.0.104 Tue May 8 21:01 - 22:21 (01:20) root tty1 Tue May 8 21:00 - 22:41 (1+01:40) reboot system boot 3.10.0-514.el7.x Tue May 8 20:58 - 22:41 (1+01:43) root pts/0 192.168.0.103 Mon May 7 22:36 - down (00:31) root tty1 Mon May 7 22:25 - 23:07 (00:42) reboot system boot 3.10.0-514.el7.x Mon May 7 22:23 - 23:07 (00:44) root pts/0 192.168.0.102 Sun May 6 16:16 - down (06:17) root tty1 Sun May 6 16:16 - 22:33 (06:17) reboot system boot 3.10.0-514.el7.x Sun May 6 16:13 - 22:33 (06:20) root tty1 Sun May 6 16:08 - 16:11 (00:02) reboot system boot 3.10.0-514.el7.x Sun May 6 16:06 - 16:11 (00:04) root pts/0 192.168.0.102 Sun May 6 14:35 - crash (01:31) root tty1 Sun May 6 14:32 - crash (01:34) reboot system boot 3.10.0-514.el7.x Sun May 6 14:31 - 16:11 (01:39) root pts/0 192.168.0.102 Sun May 6 10:34 - 14:15 (03:41) root tty1 Sun May 6 10:33 - crash (03:58) reboot system boot 3.10.0-514.el7.x Sun May 6 10:20 - 16:11 (05:50) root pts/0 192.168.0.102 Sat May 5 17:11 - 23:07 (05:56) root tty1 Sat May 5 17:10 - crash (17:09) reboot system boot 3.10.0-514.el7.x Sat May 5 17:08 - 16:11 (23:02) root pts/0 192.168.0.102 Sat May 5 09:23 - crash (07:45) root tty1 Sat May 5 09:22 - crash (07:46) reboot system boot 3.10.0-514.el7.x Sat May 5 09:20 - 16:11 (1+06:50) root pts/0 192.168.0.102 Fri May 4 20:21 - down (02:54) root tty1 Fri May 4 20:20 - 23:16 (02:55) reboot system boot 3.10.0-514.el7.x Fri May 4 20:18 - 23:16 (02:57) root pts/0 192.168.0.102 Wed May 2 20:55 - crash (1+23:23) root tty1 Wed May 2 20:54 - 22:26 (01:31) reboot system boot 3.10.0-514.el7.x Wed May 2 19:39 - 23:16 (2+03:36) root pts/0 192.168.0.101 Tue May 1 18:32 - crash (1+01:06) root tty1 Tue May 1 18:31 - crash (1+01:07) reboot system boot 3.10.0-514.el7.x Tue May 1 18:30 - 23:16 (3+04:46) reboot system boot 3.10.0-514.el7.x Tue May 1 11:09 - 23:16 (3+12:06) root pts/0 192.168.0.100 Mon Apr 30 16:37 - down (05:18) root pts/0 192.168.0.102 Sun Apr 29 14:23 - 12:32 (22:09) root tty1 Sun Apr 29 14:22 - 21:55 (1+07:33) reboot system boot 3.10.0-514.el7.x Sun Apr 29 14:21 - 21:55 (1+07:34) root pts/0 192.168.0.102 Sun Apr 29 14:07 - crash (00:14) root tty1 Sun Apr 29 14:02 - crash (00:19) reboot system boot 3.10.0-514.el7.x Sun Apr 29 13:57 - 21:55 (1+07:58) root pts/0 192.168.0.104 Fri Apr 27 20:14 - down (01:15) root tty1 Fri Apr 27 20:13 - 21:29 (01:16) reboot system boot 3.10.0-514.el7.x Fri Apr 27 20:10 - 21:30 (01:19) root tty1 Thu Apr 26 20:56 - 22:20 (01:23) reboot system boot 3.10.0-514.el7.x Thu Apr 26 20:17 - 22:20 (02:02) root pts/0 192.168.0.100 Tue Apr 24 19:40 - down (02:46) root tty1 Tue Apr 24 19:37 - 22:26 (02:49) reboot system boot 3.10.0-514.el7.x Tue Apr 24 19:34 - 22:27 (02:53) root pts/0 192.168.0.102 Mon Apr 23 19:13 - down (03:09) root tty1 Mon Apr 23 19:12 - 22:22 (03:09) reboot system boot 3.10.0-514.el7.x Mon Apr 23 19:07 - 22:22 (03:14) root pts/0 192.168.0.102 Sun Apr 22 16:19 - 22:18 (05:58) root tty1 Sun Apr 22 16:18 - crash (1+02:49) reboot system boot 3.10.0-514.el7.x Sun Apr 22 16:13 - 22:22 (1+06:08) root pts/0 192.168.0.102 Sun Apr 22 08:16 - down (05:40) root tty1 Sun Apr 22 08:15 - 13:55 (05:40) reboot system boot 3.10.0-514.el7.x Sun Apr 22 08:01 - 13:56 (05:54) root pts/0 192.168.0.102 Sat Apr 21 17:11 - crash (14:49) root tty1 Sat Apr 21 17:04 - crash (14:56) reboot system boot 3.10.0-514.el7.x Sat Apr 21 17:03 - 13:56 (20:52) root pts/0 192.168.0.102 Sat Apr 14 14:09 - 22:20 (1+08:11) root pts/1 192.168.0.102 Thu Apr 12 19:56 - 22:07 (02:11) root pts/0 192.168.0.102 Mon Apr 9 22:02 - 20:47 (2+22:45) root pts/0 192.168.0.102 Sun Apr 8 22:38 - 23:00 (00:21) root tty1 Sun Apr 8 22:34 - crash (12+18:28) reboot system boot 3.10.0-514.el7.x Sun Apr 8 22:31 - 13:56 (13+15:24) root pts/0 192.168.0.101 Sun Mar 25 17:56 - down (03:46) root tty1 Sun Mar 25 17:55 - 21:43 (03:47) reboot system boot 3.10.0-514.el7.x Sun Mar 25 17:52 - 21:43 (03:51) root pts/0 192.168.0.101 Sat Mar 24 16:09 - down (1+01:26) root tty1 Sat Mar 24 16:08 - 17:36 (1+01:27) reboot system boot 3.10.0-514.el7.x Sat Mar 24 16:06 - 17:36 (1+01:29) reboot system boot 3.10.0-514.el7.x Sat Mar 17 17:02 - 17:36 (8+00:34) root pts/0 192.168.0.105 Sun Mar 11 22:43 - down (01:33) root pts/0 192.168.0.105 Sun Mar 11 21:44 - 22:43 (00:58) root tty1 Sun Mar 11 21:43 - 00:16 (02:32) reboot system boot 3.10.0-514.el7.x Sun Mar 11 21:42 - 00:16 (02:34) root pts/0 192.168.0.102 Sun Mar 4 19:40 - down (03:18) root tty1 Sun Mar 4 19:35 - 22:57 (03:22) reboot system boot 3.10.0-514.el7.x Sun Mar 4 19:03 - 22:58 (03:54) root pts/0 192.168.0.104 Tue Feb 20 21:15 - down (01:27) root tty1 Tue Feb 20 17:53 - 22:42 (04:49) reboot system boot 3.10.0-514.el7.x Tue Feb 20 17:39 - 22:43 (05:03) root pts/0 192.168.0.104 Tue Feb 20 10:41 - 15:11 (04:29) root tty1 Tue Feb 20 10:40 - 15:11 (04:31) reboot system boot 3.10.0-514.el7.x Tue Feb 20 10:34 - 15:12 (04:37) root pts/0 192.168.0.107 Mon Feb 19 15:34 - down (07:00) root tty1 Mon Feb 19 15:32 - 22:34 (07:01) reboot system boot 3.10.0-514.el7.x Mon Feb 19 15:31 - 22:34 (07:02) root pts/0 192.168.0.109 Sun Feb 18 16:10 - down (07:46) root tty1 Sun Feb 18 16:06 - 23:56 (07:49) reboot system boot 3.10.0-514.el7.x Sun Feb 18 16:05 - 23:56 (07:51) root pts/0 192.168.0.103 Thu Feb 15 09:56 - down (11:33) root tty1 Thu Feb 15 09:54 - 21:29 (11:35) reboot system boot 3.10.0-514.el7.x Thu Feb 15 09:53 - 21:30 (11:36) root pts/0 192.168.0.101 Wed Feb 14 10:58 - crash (22:54) root tty1 Wed Feb 14 10:58 - crash (22:54) reboot system boot 3.10.0-514.el7.x Wed Feb 14 10:53 - 21:30 (1+10:36) root pts/0 192.168.0.101 Wed Feb 14 09:31 - 09:50 (00:19) root tty1 Wed Feb 14 09:29 - 10:06 (00:36) reboot system boot 3.10.0-514.el7.x Wed Feb 14 09:26 - 10:07 (00:40) root pts/0 192.168.0.101 Tue Feb 13 09:34 - crash (23:52) root tty1 Tue Feb 13 09:30 - crash (23:55) reboot system boot 3.10.0-514.el7.x Tue Feb 13 09:29 - 10:07 (1+00:37) root tty1 Tue Feb 13 09:14 - 09:29 (00:14) reboot system boot 3.10.0-514.el7.x Tue Feb 13 09:11 - 10:07 (1+00:55) root pts/0 192.168.1.103 Sun Jan 28 17:38 - down (04:44) root tty1 Sun Jan 28 17:38 - 22:23 (04:45) reboot system boot 3.10.0-514.el7.x Sun Jan 28 17:31 - 22:23 (04:51) reboot system boot 3.10.0-514.el7.x Sun Jan 28 17:27 - 22:23 (04:56) root pts/0 192.168.1.103 Wed Jan 24 21:35 - 23:58 (02:23) root tty1 Wed Jan 24 21:34 - crash (3+19:52) reboot system boot 3.10.0-514.el7.x Wed Jan 24 21:01 - 22:23 (4+01:22) root pts/0 192.168.1.103 Mon Jan 22 23:32 - down (01:25) root tty1 Mon Jan 22 23:31 - 00:58 (01:26) reboot system boot 3.10.0-514.el7.x Mon Jan 22 23:28 - 00:58 (01:29) root tty1 Sat Jan 20 13:09 - 13:16 (00:07) reboot system boot 3.10.0-514.el7.x Sat Jan 20 12:53 - 13:17 (00:23) root tty1 Sun Jan 14 13:15 - 23:28 (1+10:13) reboot system boot 3.10.0-514.el7.x Sun Jan 14 13:06 - 23:29 (1+10:22) root tty1 Fri Jan 5 23:47 - 00:44 (1+00:56) reboot system boot 3.10.0-514.el7.x Fri Jan 5 23:39 - 00:44 (1+01:04) root pts/1 192.168.0.100 Sun Dec 31 21:13 - crash (5+02:26) root pts/0 192.168.0.100 Sun Dec 31 10:21 - crash (5+13:18) root tty1 Sun Dec 31 10:20 - crash (5+13:18) reboot system boot 3.10.0-514.el7.x Sun Dec 31 10:18 - 00:44 (6+14:25) root pts/0 192.168.0.100 Sat Dec 30 14:50 - crash (19:28) root tty1 Sat Dec 30 13:34 - crash (20:44) reboot system boot 3.10.0-514.el7.x Sat Dec 30 13:30 - 00:44 (7+11:13) root tty1 Mon Dec 25 23:12 - 23:53 (00:40) reboot system boot 3.10.0-514.el7.x Mon Dec 25 23:05 - 23:53 (00:48) root tty1 Sun Dec 24 15:57 - crash (1+07:08) reboot system boot 3.10.0-514.el7.x Sun Dec 24 15:48 - 23:53 (1+08:05) root tty1 Sat Dec 9 20:45 - crash (14+19:02) reboot system boot 3.10.0-514.el7.x Sat Dec 9 20:28 - 23:53 (16+03:25) root tty1 Mon Dec 4 22:56 - crash (4+21:31) reboot system boot 3.10.0-514.el7.x Mon Dec 4 22:44 - 23:53 (21+01:08) root tty1 Mon Dec 4 21:42 - 22:48 (01:05) reboot system boot 3.10.0-514.el7.x Mon Dec 4 21:36 - 22:48 (01:12) root tty1 Mon Dec 4 21:37 - 21:40 (00:02) reboot system boot 3.10.0-514.el7.x Mon Dec 4 21:30 - 21:40 (00:10) root tty1 Mon Dec 4 21:27 - 21:33 (00:06) reboot system boot 3.10.0-514.el7.x Mon Dec 4 21:19 - 21:40 (00:20) root tty1 Fri Dec 1 23:16 - crash (2+22:03) reboot system boot 3.10.0-514.el7.x Fri Dec 1 23:08 - 21:40 (2+22:32) root tty1 Wed Nov 15 23:02 - crash (16+00:06) reboot system boot 3.10.0-514.el7.x Wed Nov 15 22:49 - 21:40 (18+22:51) reboot system boot 3.10.0-514.el7.x Wed Nov 15 22:46 - 21:40 (18+22:54) root pts/1 192.168.0.112 Fri Nov 10 22:51 - 23:08 (00:17) root pts/0 192.168.0.112 Fri Nov 10 22:45 - crash (5+00:01) root pts/0 192.168.0.112 Fri Nov 10 22:28 - 22:44 (00:16) oldboy pts/1 192.168.0.112 Fri Nov 10 22:14 - 22:21 (00:07) root pts/0 192.168.0.112 Fri Nov 10 22:04 - 22:21 (00:16) root tty1 Fri Nov 10 21:57 - 23:09 (01:12) reboot system boot 3.10.0-514.el7.x Fri Nov 10 21:39 - 21:40 (24+00:01) root pts/0 192.168.0.111 Mon Oct 30 23:30 - crash (10+22:08) root tty1 Mon Oct 30 23:29 - crash (10+22:09) reboot system boot 3.10.0-514.el7.x Mon Oct 30 23:28 - 21:40 (34+22:12) root pts/0 192.168.0.111 Sun Oct 29 20:25 - crash (1+03:02) root tty1 Sun Oct 29 20:29 - crash (1+02:59) reboot system boot 3.10.0-514.el7.x Sun Oct 29 20:23 - 21:40 (36+01:17) root pts/0 192.168.0.111 Sun Oct 29 19:19 - crash (01:03) root tty1 Sun Oct 29 19:18 - 20:22 (01:04) reboot system boot 3.10.0-514.el7.x Sun Oct 29 19:15 - 21:40 (36+02:25) reboot system boot 3.10.0-514.el7.x Sun Oct 29 11:05 - 21:40 (36+10:35) root pts/0 192.168.0.111 Sat Oct 28 22:18 - crash (12:47) root tty1 Sat Oct 28 22:17 - crash (12:47) reboot system boot 3.10.0-514.el7.x Sat Oct 28 21:04 - 21:40 (37+00:35) root pts/0 192.168.0.111 Fri Oct 27 22:09 - crash (22:54) root tty1 Fri Oct 27 22:07 - crash (22:57) reboot system boot 3.10.0-514.el7.x Fri Oct 27 22:03 - 21:40 (37+23:36) root pts/0 192.168.0.109 Sat Oct 21 22:34 - crash (5+23:29) root tty1 Fri Oct 20 23:48 - crash (6+22:15) reboot system boot 3.10.0-514.el7.x Fri Oct 20 23:42 - 21:40 (44+21:58) root tty1 Fri Oct 13 23:21 - crash (7+00:20) reboot system boot 3.10.0-514.el7.x Fri Oct 13 23:15 - 21:40 (51+22:24) root tty1 Thu Oct 12 22:16 - 00:04 (01:48) reboot system boot 3.10.0-514.el7.x Thu Oct 12 22:10 - 00:04 (01:54) root tty1 Tue Oct 10 23:13 - crash (1+22:56) reboot system boot 3.10.0-514.el7.x Tue Oct 10 23:07 - 00:04 (2+00:57) root tty1 Mon Oct 9 18:39 - crash (1+04:28) reboot system boot 3.10.0-514.el7.x Mon Oct 9 18:33 - 00:04 (3+05:31) root pts/0 192.168.1.103 Sun Oct 8 17:46 - 20:08 (02:22) root tty1 Sun Oct 8 16:32 - crash (1+02:01) reboot system boot 3.10.0-514.el7.x Sun Oct 8 16:22 - 00:04 (4+07:42) root tty1 Sat Oct 7 23:13 - 23:14 (00:01) reboot system boot 3.10.0-514.el7.x Sat Oct 7 23:11 - 23:14 (00:02) root pts/0 192.168.0.102 Fri Oct 6 10:53 - 22:57 (1+12:03) root pts/0 192.168.0.102 Fri Oct 6 08:14 - 10:53 (02:38) root tty1 Fri Oct 6 08:13 - 23:10 (1+14:57) reboot system boot 3.10.0-514.el7.x Fri Oct 6 08:09 - 23:14 (1+15:04) root pts/0 192.168.0.102 Thu Oct 5 17:14 - crash (14:55) root tty1 Thu Oct 5 16:32 - crash (15:37) reboot system boot 3.10.0-514.el7.x Thu Oct 5 16:28 - 23:14 (2+06:46) root pts/0 :0 Thu Oct 5 16:25 - crash (00:03) root tty1 Thu Oct 5 16:23 - crash (00:05) reboot system boot 3.10.0-514.el7.x Thu Oct 5 16:21 - 23:14 (2+06:52) root tty1 Thu Oct 5 16:18 - 16:18 (00:00) reboot system boot 3.10.0-514.el7.x Thu Oct 5 16:16 - 23:14 (2+06:57) root pts/0 192.168.0.102 Thu Oct 5 12:59 - 16:12 (03:12) root pts/0 192.168.0.102 Thu Oct 5 09:48 - 12:59 (03:10) root tty1 Thu Oct 5 09:47 - 16:15 (06:27) reboot system boot 3.10.0-514.el7.x Thu Oct 5 09:44 - 23:14 (2+13:30) root pts/1 :2 Sun Sep 3 17:57 - crash (31+15:46) root pts/0 192.168.1.103 Sun Sep 3 16:42 - 18:05 (01:23) root tty1 Sun Sep 3 16:38 - crash (31+17:05) reboot system boot 3.10.0-514.el7.x Sun Sep 3 16:28 - 23:14 (34+06:46) root pts/0 :1 Sun Sep 3 02:05 - 02:32 (00:26) root tty1 Sun Sep 3 01:55 - 02:32 (00:37) reboot system boot 3.10.0-514.el7.x Sun Sep 3 01:49 - 02:33 (00:44) reboot system boot 3.10.0-514.el7.x Sun Sep 3 09:48 - 02:33 (-7:-14) root tty1 Sun Sep 3 08:45 - crash (01:03) reboot system boot 3.10.0-514.el7.x Sun Sep 3 08:44 - 02:33 (-6:-10) root tty1 Sun Sep 3 08:39 - 08:42 (00:03) reboot system boot 3.10.0-514.el7.x Sun Sep 3 08:38 - 02:33 (-6:-4) root pts/0 192.168.1.100 Mon Aug 14 01:30 - crash (20+07:07) root pts/0 192.168.1.100 Mon Aug 14 01:28 - 01:30 (00:01) root pts/0 192.168.1.100 Mon Aug 14 01:25 - 01:28 (00:02) root pts/0 192.168.1.100 Mon Aug 14 00:13 - 01:25 (01:11) root tty1 Mon Aug 14 00:13 - crash (20+08:24) reboot system boot 3.10.0-514.el7.x Mon Aug 14 00:12 - 02:33 (20+02:21) root pts/0 192.168.1.100 Sun Aug 13 23:00 - down (01:11) root pts/0 192.168.1.100 Sun Aug 13 22:56 - 22:59 (00:03) root pts/0 192.168.1.100 Sun Aug 13 22:14 - 22:55 (00:41) root tty1 Sun Aug 13 22:13 - 00:11 (01:57) reboot system boot 3.10.0-514.el7.x Sun Aug 13 22:13 - 00:11 (01:58) root pts/0 192.168.1.100 Sun Aug 13 04:00 - crash (18:12) root pts/0 192.168.1.100 Sun Aug 13 03:54 - 04:00 (00:06) root pts/0 192.168.1.100 Sun Aug 13 00:44 - 03:53 (03:09) root tty1 Sun Aug 13 00:29 - crash (21:43) reboot system boot 3.10.0-514.el7.x Sun Aug 13 00:28 - 00:11 (23:43) root tty1 Sat Aug 12 22:15 - crash (02:12) reboot system boot 3.10.0-514.el7.x Sat Aug 12 22:11 - 00:11 (1+02:00) root tty1 Sat Aug 12 20:08 - crash (02:02) reboot system boot 3.10.0-514.el7.x Sat Aug 12 20:07 - 00:11 (1+04:03) root tty1 Sat Aug 12 07:02 - crash (13:05) reboot system boot 3.10.0-514.el7.x Sat Aug 12 06:59 - 00:11 (1+17:11) root tty1 Sat Aug 12 06:22 - crash (00:37) reboot system boot 3.10.0-514.el7.x Sat Aug 12 06:22 - 00:11 (1+17:49) root tty1 Sat Aug 12 06:08 - crash (00:13) reboot system boot 3.10.0-514.el7.x Sat Aug 12 06:00 - 00:11 (1+18:11) reboot system boot 3.10.0-514.el7.x Sat Aug 12 05:49 - 00:11 (1+18:22) wtmp begins Sat Aug 12 05:49:14 2017[root@lll /]# users ------usersroot root
七>请给出正确的关机和重启linux系统的命令?
答案:
关机:
shutdown -h now ----立刻关机,生产常用
shutdow -h +1 -----1分钟以后关机
init 0
halt ----立即停止系统,需要人工关闭电源
halt -p
poweroff ----立即停止系统,并且关闭电源
重启:
reboot -----生产常用
shutdown -r now ----生产常用
shutdown -r +1 -----1分钟以后重启
init 6
注销:
logout
exit
八>请写出下面命令的功能?
答案: ctrl+a 光标到行首
ctrl+e 光标到行末
ctrl+c 终止当前命令或脚本
ctrl+l 清除屏幕内容
ctrl+u 清除光标之前的内容
ctrl+k 清除光标之后的内容