php interview topics --- 14, Linux foundation test sites

php interview topics --- 14, Linux foundation test sites

A summary

Sentence summary:

In fact, linux php test can not test very difficult

 

1, system timing tasks?

and at the command crontab command
crontab command 
crontab - E
 * * * * * command (time sun and the moon weeks) 

AT command 
# AT 2:00 Tomorrow 
AT> / Home / Jason / do_job 
AT > the Ctrl + D

 

 

2, vi / vim editor mode?

General mode, edit mode and command line mode

 

3, shell basis?

Script execution mode: to give permission, direct implementation, for example: chmod + x test.sh; ./ test.sh
Call the interpreter makes the execution of the script: Example: bash, csh, csh, ash, bsh, ksh, etc.
Use source command: Example: source test.sh
Written basis: beginning with #! Specifies the script interpreter, for example: #! / Bin / sh

 

4, 0 o'clock every day how to restart the server?

1、crontab -e
2、0 0 * * * reboot

 

 

 

Second, content in summary

 

 

 

 

Reproduced in: https: //www.cnblogs.com/Renyi-Fan/p/11062192.html

Guess you like

Origin blog.csdn.net/weixin_33670713/article/details/93572353