Administrator
发布于 2022-12-03 / 374 阅读
0
0

xshell快捷按钮

  1. 配置文件存放路径xshell用户路径+\Xshell\QuickButton Files
    image

  2. 修改配置文件Default Quick Command Set.qbl

[Info]
Version=6.0
Count=14
[QuickButton]
Button_5=sort | head\n[1,0]sort | uniq -c | sort -rn -k1 | more
Button_13=origin dns\n[1,0]dig @'pmgr1的信令ip' -p 4543
Button_4=awk\n[1,0]awk -F "|" '{if() print }'
Button_3=PCS_dir\n[1,0]cd /home/icache/hcs/hcs.nginx/nginx/
Button_2=HLB_dir\n[1,0]cd /home/huawei/mdn2000/mag/openresty/nginx/
Button_1=PCS_LOG\n[1,0]zcat /home/log/hlog/PCS/history/PCS_`date -d "1 minute ago" +%Y%m%d%H%M`*
Button_0=HLB_LOG\n[1,0]zcat /home/log/hlog/HLB/history/HLB_`date -d "1 minute ago" +%Y%m%d%H%M`*
Button_9=meta\n[1,0]imonitor nginx 0 show_ats_cache_info 
Button_8=curl 统计\n[1,0]-w "dns_time:%{time_namelookup}\ntotal_time:%{time_total}\nspeed_download:%{speed_download}\nsize_download:%{size_download}\n"
Button_10=nmap\n[1,0]nmap --script ssl-cert,ssl-enum-ciphers -p 443 
Button_7=curl -o\n[1,0]curl -kv -o /dev/null ""
Button_11=DNS\n[1,0]dig @gns1.huaweicloud-dns.com
Button_6=curl\n[1,0]curl -kv ""
Button_12=ali dns\n[1,0]dig @223.5.5.5


评论