Ubuntu 修改时区
1.tzselect 按提示选择 2.cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 复制配置文件
网事随记
1.tzselect 按提示选择 2.cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 复制配置文件
文件名包含指定字符串 find . -name '*string*' #查找当前目录下文件名包含字符串string的文件 文件名不包含指定字符串 find . ! -name '*string*' 文件内容包含指定字符串 find . | xargs grep string #查找当前目录下文件内容包含字符串string的文件
名称:ps 使用权限:所有使用者 使用方式:ps [options] [--help] 说明:显示瞬间行程 (process) 的动态 **ps常用参数:** -A 显示所有进程(等价于-e)(utility) -a 显示一个终端的所有进程,除了会话引线
**Debian10 安装 PHP5** apt-get install apt-transport-https lsb-release ca-certificates wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php5.list
**ls /sys/class/net** 看一下设备目录里是否有新增的网卡: root@debian:/# ls /sys/class/net ens3 lo **vi /etc/network/interfaces**
V