![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
文章平均质量分 82
it's all pointless
purpose is not inherent, merely be created.
展开
-
每天一点vim小知识
目标:每天学习使用一个vim插件,每天学一点用一点,一次学太多了也记不住!day1 – 基本语法vim 语法:动词+名词d for delete, w for word, dw delete word.动词d => delete,删除c => change ,修改 (删除后插入)> => 缩进v => visually select,选择y => Yank,复制名词 – Motionsw => word,光标前进一个单词b =&.原创 2021-01-28 21:30:28 · 120 阅读 · 0 评论 -
windows 下使用 ubuntu 子系统
首先可以按照 这篇博文 对 terminal 进行美化!更换软件源ubuntu官方的源下载较慢,换成阿里云的!参考链接替换 /etc/apt/source.list 为以下内容,做好备份!!deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe m原创 2020-05-22 14:21:23 · 209 阅读 · 0 评论 -
bash 基础
变量a=4; # 等号两边不能有空格# 外部变量# eg:sh xx.sh input1 input2input1=$1; # 外部输入第一个变量input2=$2; # 外部输入第二个变量# 输入变量read -p "input your name:" nameecho $name# 输出变量echo $input1 $a; # 注意要用$号echo ${input2}; # 使用{}号帮助识别变量名边界# 单引号与双引号str1='thi原创 2020-05-20 21:27:25 · 144 阅读 · 0 评论 -
Fedora30的使用记录
fedora 版本:fedora workstation live x86-64-291. set root passwd刚开始的时候是没有设置root密码的,所以好像是用不了su,设置下就好了sudo passwd root# then just follow it2. 添加镜像源(参考:清华镜像, FZUG)某些软件如果直接在官网下载会很慢,使用镜像站就相当于从国内下载啦,所以会...原创 2019-04-03 10:23:02 · 804 阅读 · 1 评论