快捷键 1、打开终端 ctrl+alt+t 2、推出鼠标ctrl+command 3、tar -zxvf filename 解压缩 4、cd 进入指定的目录 cd .. 返回上一级目录 5、ls 查看当前目录下的所有的目录与文件名 6、touch filename 表示创建一个文件 7、mkdir ...
分类:
系统相关 时间:
2021-07-01 16:58:13
阅读次数:
0
ls ls -a 显示指定目录下所有目录与文件,包括隐藏文件 -l 以列表的方式显示文件的详细信息 -h 配合-l以人性化的方式显示文件大小 隐藏文件和隐藏文件夹是用来配置应用的。 通配符的使用 * 代表任意个数个字符? 代表任意一个字符,至少一个[] 表示可以匹配字符族中的任意一个 [abc] 匹 ...
分类:
系统相关 时间:
2021-07-01 16:57:59
阅读次数:
0
# cd /root/test/1 # rsync -avP `ls -a /root/test/1 | grep '^\...'` /root/test/2 ...
分类:
其他好文 时间:
2021-06-30 18:27:20
阅读次数:
0
Linux常用命令 文件夹操作 序号 命令 解释 1 pwd 查看所在目录(绝对路径) 2 ls -l 或者 ll 查看当前目录下的所有东西(两者相同) 3 ls -lht 查看文件大小 4 tab 自动补全 5 touch xxx.txt 创建文本 6 mkdir xxx 创建文件夹 7 mv x ...
分类:
系统相关 时间:
2021-06-30 17:37:43
阅读次数:
0
ideavim插件配置 set scrolloff=3 " 3 lines above/below cursor when scrolling " 突出显示当前行 set cursorline " 在状态栏显示正在输入的命令 set showcmd " Emulated Plugins set su ...
分类:
系统相关 时间:
2021-06-29 16:11:42
阅读次数:
0
LCS 操作对象:两个长度不一定相等的字符串。 例题 string s, t; int f[maxn][maxn]; int main() { cin >> s >> t; int ls = s.length(), lt = t.length(); for (int i = 1; i <= ls; ...
分类:
其他好文 时间:
2021-06-29 15:57:12
阅读次数:
0
1、 rm(list = ls()) dir() for (i in list.files(pattern=".r$")) { source(i) } 2、 rm(list = ls()) dir() for (i in dir()) { if(substr(i,nchar(i)-1,nchar(i ...
分类:
编程语言 时间:
2021-06-29 15:38:29
阅读次数:
0
1、列出子目录或子文件 hdfs dfs -ls +路径 2、创建目录(-p表示父目录都会创建) hdfs dfs -mkdir -p /001/mydemo/x/y/z hdfs dfs -mkdir /001/mydemo3 /001/mydemo4 /001/mydemo5 3、列出文件夹中的 ...
分类:
其他好文 时间:
2021-06-28 21:04:34
阅读次数:
0
Ubuntu安装exa安装exa安装rust安装exa替代ls安装exaexa github项目地址https://github.com/ogham/exa查看官方文档可知,Ubuntu20.10以及更新的版本才可以用命令安装 sudo apt install exa安装rustrust官方给出的安 ...
分类:
系统相关 时间:
2021-06-28 19:02:12
阅读次数:
0
1、创建测试文件: [root@centos7 test]# touch {a..f}.txt [root@centos7 test]# ls a.txt b.txt c.txt d.txt e.txt f.txt 2、删除b.txt文件以外的所有文件 method1: [root@centos7 ...
分类:
系统相关 时间:
2021-06-25 16:56:49
阅读次数:
0