360大牛解读PHP面试-Linux基础考察点
整理自慕课网360大牛全面解读PHP面试 ,购买链接:https://coding.imooc.com/class/133.html
- 真题回顾
请写出尽可能多的linux命令
- 考点分析
linux常用命令;系统定时任务;vi/vim 编辑器;shell基础;
系统安全类:sudo、su、chmod、setfacl;
进程管理:w、top、ps、kill、pkill、pstree、killall;
用户管理:id、usermod、useradd、groupadd、userdel、
文件系统;mount、umount、fsck、df、du;
系统关机;shutdown、reboot:
网络应用:curl、telnet、mail、elinks、
网络测试::ping、netstat、host;
网络配置:hostname、ifconfig;
常用工具:ssh、screen、clear、who、date、
软件包的管理:yum、rpm、apt-get
文件的查找和比较:locat find
文件内容查看:head、tail、less、more
文件处理:touch、unlink·、rename、ln、cat
目录操作:cd、mv、rm、pwd、tree、cp、ls
文件权限属性:setfacl、chmod、chown、chgrp
压缩解压:bzip2/bunzip2、gzip/gunzip、zip/unzip 、 tar
linux系统的定时任务:crontab 命令
crontab -e : * * * * * 命令(分 时 日 月 周);
at命令:at 2:00 tomorrow
vi/vim编辑器 一般模式 编辑模式 命令模式;
查找替换 删除 复制 粘贴;
shell基础:
编写:开头用#!指定脚本解释器、例如:#!/bin/sh
- 一网打尽
如何实现每天两点重启服务器 ?