随笔分类 - Operation
摘要:man [options...] [SECTION] PAGE... -l --local-file interpret PAGE arguments as local filenames man -l /usr/share/man/man1/ls.1.gz
阅读全文
摘要:< file cat dd iflag=nonblock status=none if=file printf '%s' "$(< file)" cp file /dev/stdout awk '{print}' file sed '' file
阅读全文
摘要:groupadd & useradd They all have --root CHROOT_DIR AND --prefix PREFIX_DIR
阅读全文
摘要:HISTCONTROL variable is a colon-separated list of values controlling how commands are saved in the history list. HISTCONTROL=ignoredups It causes line
阅读全文
摘要:ssh-keyscan - gather ssh public keys from servers /etc/ssh/ssh_config => HostKey 有系统内置的key options -c Request certificates from target hosts instead o
阅读全文
摘要:insecure-registry export DOCKER_OPTS+=' --insecure-registry localhost'
阅读全文
摘要:~/.npmrc 配置文件 npm login --scope @sporadic 在.npmrc产生如下配置 npm logout --scope @sporadic npm whoami --registry https://registry.npmjs.org ~/.npm/ global o
阅读全文
摘要:enable Use the `env` command. Env is a command which launches another program with a possibly modified environment. Because env is a program, it doesn
阅读全文
摘要:command command 只能跳过function,而不能跳过shell builtin 三个选项 -vV都是打印 -p 使用 default PATH 执行命令 bash默认PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sb
阅读全文
摘要:Fix permission stat -L --format %a ~/.ssh/config stat -L --format %A ~/.ssh/config chmod -vR 600 ~/.ssh/config ssh-agent IdentitiesOnly no in ssh_conf
阅读全文
摘要:Start ssh-agent -a bind_address Bind the agent to the UNIX-domain socket bind_address -k Kill the current agent (given by the SSH_AGENT_PID environmen
阅读全文
摘要:remount / if (: > /.testrw) > /dev/null >&1; then rm -f /.testrw else mount -o remount,rw / || echo 'Failed mount / rw' fi mount pseudo fs /proc mount
阅读全文
摘要:Document: Fedora Quick Docs :: Fedora Docs (fedoraproject.org) Don't show package suggestion dnf remove PackageKit-command-not-found Disable the GNOME
阅读全文