随笔分类 -  CMD

摘要:1. 常用 nc命令测试连通性: nc -l -k localhost 8080 # 监听在8080 nc localhost 8080 # 连接到8080 # 然后就能输入内容按回车了 ssh命令测试端口: ssh -v -p port username@ip lsof详解:参考 阅读全文
posted @ 2021-02-08 15:28 AlexOne 阅读(325) 评论(0) 推荐(0)
摘要:1. 要点 linux 文件目录结构 cd -、mkdir -p、touch、ls -lha、top(htop)、ps、tree、pstree、su -(用户切换)、sh -c、alias、ln 软连接硬连接等 kill -s 9、killall sig pid 权限 chmod、chgrp、cho 阅读全文
posted @ 2021-01-15 09:38 AlexOne 阅读(78) 评论(0) 推荐(1)
摘要:1. 使用技巧 很好的文章:参考 官方参考(官方) 脚本调试 很好的pdf 参考 csdn参考(条件、循环语句等) 一些使用技巧 动态库查找 参考 单步调试 脚本的写法:参考 脚本调试: gdb -q --batch --ex "set height 0" -ex "thread apply all 阅读全文
posted @ 2020-09-05 10:15 AlexOne 阅读(131) 评论(0) 推荐(0)
摘要:1. 安装 参考 防火墙和iptables的区别(save) 确保已安装xwindow: yum groupinstall "X Window System" "Desktop" 安装vnc: yum -y install tigervnc tigervnc-server tigervnc-serv 阅读全文
posted @ 2019-07-22 14:23 AlexOne 阅读(1243) 评论(0) 推荐(0)
摘要:1. 重启网络 /etc/init.d/network restart /sbin/ifconfig/ eth0 down /sbin/ifconfig/ eth0 up su /sbin/service network restart 虽然命令不一样,但是做的都是同一件事情。 systemctl 阅读全文
posted @ 2019-07-22 14:03 AlexOne 阅读(227) 评论(0) 推荐(0)