![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
终端(terminal)
玉树临风你卓哥
不积跬步,无以至千里;不积小流,无以成江海。
展开
-
terminal - 运行脚本文件的方法
例如存在脚本文件/tmp/ss.sh1、cd /tmp,然后运行./ss.sh2、/tmp/ss.sh3、cd /tmp, 然后运行 bash ss.sh 或 sh ss.sh4、cd /tmp, 然后运行 source ss.sh区别: 第一种和第二种需要执行权限,如果直接执行ss.sh可能会报permission denied 所以需要切换到root执行或者给ss.sh添加权限,执行chmod +x a.sh第三种和第四种方法sh文件不需要添加执行权限...原创 2020-07-28 21:00:19 · 2993 阅读 · 0 评论 -
terminal - 解决重复输入密码的问题
使用Git,每次都提示输入命令。 烦人的很Enter passphrase for key ‘xxxx’输入一下命令:ssh-add -K xxx原创 2020-05-14 19:03:07 · 1061 阅读 · 0 评论 -
terminal - zsh-syntax-highlighting语法高亮插件
官网:https://github.com/zsh-users/zsh-syntax-highlighting安装:git clone https://github.com/zsh-users/zsh-syntax-highlighting.git echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc生效:sour..原创 2020-05-11 11:22:19 · 2089 阅读 · 0 评论 -
terminal - zsh-autosuggestions提示工具
Clone this repository somewhere on your machine. This guide will assume ~/.zsh/zsh-autosuggestions. git clone git://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestionsAdd the following to your .zshrc:vim ~/.zshrc 将下列语句添加到 ~/.zshrc.原创 2020-05-11 11:12:36 · 543 阅读 · 0 评论