随笔分类 -  Operation

摘要:man [options...] [SECTION] PAGE... -l --local-file interpret PAGE arguments as local filenames man -l /usr/share/man/man1/ls.1.gz 阅读全文
posted @ 2023-04-15 22:13 ascertain 阅读(9) 评论(0) 推荐(0) 编辑
摘要:< file cat dd iflag=nonblock status=none if=file printf '%s' "$(< file)" cp file /dev/stdout awk '{print}' file sed '' file 阅读全文
posted @ 2023-04-07 15:16 ascertain 阅读(11) 评论(0) 推荐(0) 编辑
摘要:groupadd & useradd They all have --root CHROOT_DIR AND --prefix PREFIX_DIR 阅读全文
posted @ 2023-04-06 10:04 ascertain 阅读(10) 评论(0) 推荐(0) 编辑
摘要:HISTCONTROL variable is a colon-separated list of values controlling how commands are saved in the history list. HISTCONTROL=ignoredups It causes line 阅读全文
posted @ 2023-04-05 20:33 ascertain 阅读(21) 评论(0) 推荐(0) 编辑
摘要:ssh-keyscan - gather ssh public keys from servers /etc/ssh/ssh_config => HostKey 有系统内置的key options -c Request certificates from target hosts instead o 阅读全文
posted @ 2023-04-04 21:07 ascertain 阅读(18) 评论(0) 推荐(0) 编辑
摘要:insecure-registry export DOCKER_OPTS+=' --insecure-registry localhost' 阅读全文
posted @ 2023-04-01 00:53 ascertain 阅读(9) 评论(0) 推荐(0) 编辑
摘要:~/.npmrc 配置文件 npm login --scope @sporadic 在.npmrc产生如下配置 npm logout --scope @sporadic npm whoami --registry https://registry.npmjs.org ~/.npm/ global o 阅读全文
posted @ 2023-03-26 11:21 ascertain 阅读(34) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2023-03-25 13:20 ascertain 阅读(15) 评论(0) 推荐(0) 编辑
摘要:command command 只能跳过function,而不能跳过shell builtin 三个选项 -vV都是打印 -p 使用 default PATH 执行命令 bash默认PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sb 阅读全文
posted @ 2023-03-25 12:18 ascertain 阅读(20) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2023-03-24 11:34 ascertain 阅读(240) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2023-03-24 11:27 ascertain 阅读(25) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2023-02-16 12:47 ascertain 阅读(39) 评论(0) 推荐(0) 编辑
摘要:Document: Fedora Quick Docs :: Fedora Docs (fedoraproject.org) Don't show package suggestion dnf remove PackageKit-command-not-found Disable the GNOME 阅读全文
posted @ 2023-01-24 14:30 ascertain 阅读(18) 评论(0) 推荐(0) 编辑

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