07 2023 档案
摘要:一、telnet破解用户名密码 yum -y install telnet-server 安装telnet服务 端口为23端口 rpm -ql telnet-server 查看telnet安装目录 systemctl start telnet.socket 启用telnet.socket 只要别的机
阅读全文
摘要:一、systemd特性 编写service需要在cd /lib/systemd/system 里面新增执行文件 systemctl daemon-reload 需要加到内存中,编写完service tail -f /var/log/messages 看到实时日志 ubuntu系统service编辑s
阅读全文
摘要:一、相关安装包安装 支持NTFS [root@centos8 ~]#yum -y install gcc make ncurses-devel flex bison openssl-devel elfutils-libelf-devel[root@centos8 ~]#tar xvf linux -
阅读全文
摘要:一、修复grub 1.esc进入救援模式 根目录 需要进入真正的根 ls /mnt/sysimage/boot/grub chroot /mnt/sysimage 切换到真正的根 grub-install /dev/sda2 修复命令,只能修改除了grbu.conf配置文件意外的文件 hexdump
阅读全文
摘要:一、awk BEGIN [root@centos8 ~]#awk 'BEGIN{print "hello,awk"}' [root@centos8 ~]#awk -F: '{print $1":"$3}' /etc/passwd[root@centos8 ~]#df | awk -F "[[:spa
阅读全文
摘要:一、修改httpd服务配置文件 信号发送 [root@centos8 ~]#vim /etc/httpd/conf/httpd.conf [root@centos8 ~]#systemctl start httpd 重启服务 [root@centos8 ~]#ss -ntl监听端口 [root@ce
阅读全文