2021年1月23日
摘要: 认识vim三种模式 命令模式:我们在刚刚启动vim就是命令模式,此状态下输入键盘输入会被识别为命令。 编辑模式:在命令模式下输入a,i,o,s中任意一个就会进入编辑模式,也就是我们可以写代码了 末行模式:在命令模式下按下:(英文冒号)就进入了底线命令模式。 命令模式下的相关操作 vim的移动 k上j 阅读全文
posted @ 2021-01-23 16:23 LittleFishC 阅读(75) 评论(0) 推荐(0) 编辑
摘要: apt-get安装 #更新源,/etc/apt/sources.list sudo apt-get update #安装tree命令 sudo apt-get install tree #卸载tree命令 sudo apt-get remove tree #清理包 sudo apt-get clea 阅读全文
posted @ 2021-01-23 12:45 LittleFishC 阅读(49) 评论(0) 推荐(0) 编辑
摘要: zip/unzip zip格式 压缩文件 root@ubuntu:~/Test# zip Test.zip hello.c hello.c.hard adding: hello.c (deflated 12%) adding: hello.c.hard (deflated 12%) root@ubu 阅读全文
posted @ 2021-01-23 12:26 LittleFishC 阅读(76) 评论(0) 推荐(0) 编辑
摘要: find dir [option] 内容 -name 按照名字进行查找 root@ubuntu:/home# find ./ -name "*.c" ./c.c ./a.c -type 按照类型查找 f 普通文件 d 目录文件 l 符号链接 b 块设备 c 字符设备 p 管道设备 s 本地套接字 查 阅读全文
posted @ 2021-01-23 12:13 LittleFishC 阅读(57) 评论(0) 推荐(0) 编辑