摘要:
第一步:连上克隆连接的> /etc/udev/rules.d/70-persistent-net.rules sed -ri '/HWADDR|UUID/d' /etc/sysconfig/network-scripts/ifcfg-eth* 第二步:域名解析\cp /etc/hosts{,.bak 阅读全文
摘要:
服务 端口tcp/udp ftp 21 21 /sctp ssh 22 22/sctp telnet 23 smtp 25 pop3 110 imap 143 rsync 873 mysql 3306 matip-type-b 351 351/bhoetty c1222-acse 1153 ncube-lm 1521... 阅读全文
摘要:
不加"[#*@]"加号的区别: [root@xusx ~]# echo "###*****@@@@@#####1@@@@######@@@@@@@2**@@@@****"###*****@@@@@#####1@@@@######@@@@@@@2**@@@@****[root@xusx ~]# ech 阅读全文
摘要:
[root@xusx xusx]# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:0C:29:9A:CD:B1 inet addr:192.168.138.138 Bcast:192.168.138.255 Mask:255.255.255.0 i 阅读全文
摘要:
[root@xusx ~]# stat /etc/hosts File: `/etc/hosts' Size: 183 Blocks: 8 IO Block: 4096 regular fileDevice: 802h/2050d Inode: 128037 Links: 2Access: (064 阅读全文
摘要:
gzip: .gz gzip /PATH/TO/SOMEFILE:压缩完删除原文件,不能压缩目录 [root@xusx xusx]# gzip messages -rw . 1 root root 1.7K 11月 15 22:13 messages.gz -d:解压缩 [root@xusx xus 阅读全文
摘要:
inode 目录 权限(u,g,o) selinux 链接数 属主 属组 大小 最近的修改日期 文件名 131927 drwxr-xr-x. 5 root root 4.0K Nov 18 20:37 a128016 -rw-r--r-- 1. root root 0 Nov 18 21:59 a. 阅读全文