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 阅读全文
posted @ 2021-12-24 15:24 ascertain 阅读(184) 评论(0) 推荐(0) 编辑
摘要:Check & Clear: Exec: reg import ext.reg Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.] @="" [HKEY_CLASSES_ROOT\.\Shell] [HKEY_CLASSES_ROOT 阅读全文
posted @ 2021-12-23 17:11 ascertain 阅读(30) 评论(0) 推荐(0) 编辑
摘要:fail & failed_when: - hosts: buster remote_user: root tasks: - shell: "echo 'This is a string for testing--error'" register: value - debug: msg: "2" # 阅读全文
posted @ 2021-12-17 15:24 ascertain 阅读(157) 评论(0) 推荐(0) 编辑
摘要:#!/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 阅读全文
posted @ 2021-12-16 16:46 ascertain 阅读(24) 评论(0) 推荐(0) 编辑
摘要:Take below for example shopt -s dotglob # glob will include hidden file & directories cp -frv /etc/skel/{,.[^.]}* . -T --no-target-directory cp -frv / 阅读全文
posted @ 2021-12-16 11:18 ascertain 阅读(42) 评论(0) 推荐(0) 编辑
摘要:env and printenv is not shell builtin, so they can only print environment variables. env: run a program in a modified environment --ignore-environment 阅读全文
posted @ 2021-12-09 17:59 ascertain 阅读(36) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2021-12-08 17:57 ascertain 阅读(18) 评论(0) 推荐(0) 编辑
摘要:--add-host HOST:IP docker run \ --rm \ -e SONAR_HOST_URL="http://sonarqube:9000" \ -e SONAR_LOGIN="97cd1f21966042b2320539c1b720144d5e2aaced" \ -v "$PW 阅读全文
posted @ 2021-12-07 14:50 ascertain 阅读(49) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2021-12-05 16:45 ascertain 阅读(1007) 评论(0) 推荐(0) 编辑
摘要:state : absent, directory, file, hard, link, touch Change File Attributes ansible all -m file -a 'path=/root/bb owner=laconic group=laconic mode=7777' 阅读全文
posted @ 2021-12-03 16:22 ascertain 阅读(92) 评论(0) 推荐(0) 编辑
摘要:https://superuser.com/questions/710253/allow-non-root-process-to-bind-to-port-80-and-443 google search linux listen port 80 non-root 阅读全文
posted @ 2021-12-03 15:43 ascertain 阅读(30) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2021-12-01 17:14 ascertain 阅读(60) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示