摘要: Shell中EOF内容转义 1、在$符号前面加反斜杠,如: cat > test.sh <<EOF \$test EOF 如果不加,将转成实际的值。 2、给EOF加个双引号,如: cat > test.sh <<"EOF" $test EOF 阅读全文
posted @ 2022-01-11 19:27 tonggc1668 阅读(446) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/lslxdx/p/6566465.html 阅读全文
posted @ 2022-01-11 16:45 tonggc1668 阅读(25) 评论(0) 推荐(0) 编辑
摘要: Linux之进程信号(kill) https://zhuanlan.zhihu.com/p/421015097 阅读全文
posted @ 2022-01-11 16:44 tonggc1668 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 如果没有开启,可以使用该命令打开ip link set multicast on dev ens33,ens33是网卡名称。 ip link set dev eth0 multicast on ip link set multicast on dev eth0 阅读全文
posted @ 2022-01-11 11:14 tonggc1668 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 1、rpm包安装的,可以用 rpm -qa 看到,如果要查找某软件包是否安装,用 rpm -qa | grep "软件或者包的名字" 2、以deb包安装的,可以用 dpkg -l 看到。如果是查找指定软件包,用 dpkg -l | grep "软件或者包的名字" 3、yum方法安装的,可以用 yum 阅读全文
posted @ 2022-01-11 10:30 tonggc1668 阅读(255) 评论(0) 推荐(0) 编辑