保存到net.sh文件,添加可执行权限,使用方法net.sh 网卡名称#!/bin/bash ethn=$1 if [ $# != 1 ];then echo "USEAGE: $0 enthn" echo "e.g.: $0 ens33" exit 1; fi while true do ...
有一天 登陆服务器输入一个命令使用Tab补全时,突然出现下面错误-bash: cannot create temp file for here-document: No space left on devicebash 不能创建临时文件 因为没有磁盘空间也就是硬盘满了:grimacing: 急忙拿df 一看 果然是根目录下占用100%/dev/sda6 225762756 21...