Recent Activity
E笔记
User for 4 months
Created Content
Recently Created Pages View All
服务器上使用 ssh-agent
登录时自动运行ssh-agent 添加eval $(ssh-agent -s)到.bashrc 退出登录时自动退出ssh-agent 添加trap 'eval $(ssh-agent -s...
获取本机IPv6地址
dig -6 TXT +short o-o.myaddr.l.google.com @ns1.google.com
通过SysRq调用重启服务器
# 允许 magic SysRq 功能 echo 1 > /proc/sys/kernel/sysrq # 立即重启 echo b > /proc/sysrq-trigger
随机生成密码
cat /dev/urandom |tr -dc 'a-zA-Z0-9'|fold -w 20 |head -n 10
Recently Created Chapters
E笔记 has not created any chapters