12 2021 档案
摘要:man ssh_config: Three Test Host: ram5 ram6 ram7 /etc/ssh/sshd_config: GatewayPorts yes | no this will dertermin SSHD listen address Command Line: ssh
阅读全文
摘要:Check & Clear: Exec: reg import ext.reg Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.] @="" [HKEY_CLASSES_ROOT\.\Shell] [HKEY_CLASSES_ROOT
阅读全文
摘要:fail & failed_when: - hosts: buster remote_user: root tasks: - shell: "echo 'This is a string for testing--error'" register: value - debug: msg: "2" #
阅读全文
摘要:#!/bin/env bash git init touch init git add -- . git commit -am init echo a >> main_file git add --all git commit -am 'main a' echo b >> main_file git
阅读全文
摘要:Take below for example shopt -s dotglob # glob will include hidden file & directories cp -frv /etc/skel/{,.[^.]}* . -T --no-target-directory cp -frv /
阅读全文
摘要:env and printenv is not shell builtin, so they can only print environment variables. env: run a program in a modified environment --ignore-environment
阅读全文
摘要:Function system() awk 'BEGIN{system("pwd")}' | pipe echo sh601236 | awk '{cmd="curl -s -XGET http://hq.sinajs.cn/list="$0;print cmd | "sh - | iconv -f
阅读全文
摘要:--add-host HOST:IP docker run \ --rm \ -e SONAR_HOST_URL="http://sonarqube:9000" \ -e SONAR_LOGIN="97cd1f21966042b2320539c1b720144d5e2aaced" \ -v "$PW
阅读全文
摘要:Causation: Your origin remote is set up to fetch only certain branches git remote set-branches --add origin bb git remote set-branches origin '*' It i
阅读全文
摘要:state : absent, directory, file, hard, link, touch Change File Attributes ansible all -m file -a 'path=/root/bb owner=laconic group=laconic mode=7777'
阅读全文
摘要:https://superuser.com/questions/710253/allow-non-root-process-to-bind-to-port-80-and-443 google search linux listen port 80 non-root
阅读全文
摘要:display NUMA state journalctl --dmesg | grep -i NUMA dmesg --kernel --human | grep -i NUMA only have one node, so it doesn't matter. numastat # cat /s
阅读全文