First, the topic
(1) To make my program/root/testsoft.sh every January 1, May 1, October 1 0 o'clock each year, please give the wording
(2) VI editor, replace all Zhangsan in the document with Lisi, please write the command
(3) Assign the file test permission to 743, please write the command
(4) to map the 8080 port of 211.154.203.84 to the 80 port on the internal 192.168.2.200 under Linux, write out the NAT translation command line
(5) CentOS 6.0 system default language is English, how to change it to Simplified Chinese (utf-8)
(6) Character encoding for UTF8 file, how to use VI tool to display the contents of the file properly
(7) To Zhangsan User, 6687 password to access test database, please write the command
(8) Query file/logs/foo.log line ending with "ABC"
(9) Look for files prefixed to access in the/logs directory and delete
(10) What are the common mail transfer agent software?
Second, the answer
(1) * 0 1, 5, */bin/bash/root/testsoft.sh
(2) :%s/zhangsan/lisi/g
(3) chmod 743 test
(4) Iptables-t nat-a prerouting-d 211.154.203.84-p tcp--dport 8080-j DNAT--to 192.168.2.200:80
(5) Lang=zh_cn_utf-8
(6) Set Encoding=utf-8
(7) mysql-uzhangsan-p6687 test
(8) grep ' abc$ '/logs/foo.log
(9) Find/logs-type f-name "access*"-exec rm-f {} \;
(ten) SendMail, postfix
Linux face Questions (2)