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
经常使用命令行进行一些操作,一些常用的命令一遍遍的敲比较浪费时间,想通过别名的方式简化操作。 1、就是编辑~/.bash_profile,比如添加PS:=两边没有空格: alias st="git status" alias pull='git pull' alias push='git push' ...
分类:
系统相关 时间:
2021-06-28 20:41:29
阅读次数:
0
<?xml version="1.0" encoding="UTF-8" ?> <!-- 在此未说明属性为非必须的,那就表示属性必须设置 --> <!-- *****************最小配置文件结构介绍******************************* --> <!-- <con ...
分类:
其他好文 时间:
2021-06-28 20:40:17
阅读次数:
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
Linux系统的目录结构 Windows系统 Linux系统 文件夹 目录 Windows系统:多根结构 C:\a\b\c D:\a\b\c Linux系统:单根结构 (根)/a/b/c/d 绝对路径与相对路径 从根开始写的路径就是绝对路径,否则就是根路径 ls / 根目录 ls -l / 更完整的 ...
分类:
系统相关 时间:
2021-06-25 16:35:38
阅读次数:
0
结论 配置demo: location xxx { root yyy } 浏览器访问 xxx,实际访问的是 yyy/xxx浏览器访问 xxx/abc.html,实际访问的是 yyy/xxx/abc.html浏览器访问 xxx/ccc/abc.html,实际访问的是 yyy/xxx/ccc/abc.h ...
分类:
其他好文 时间:
2021-06-24 17:47:20
阅读次数:
0
文件基础命令 系统目录 windows是多根目录 Linux是单根目录 ls [root@localhost ~]# ls / 查看 当前文件夹下的文件目录 a bin boot dev etc home lib lib64 media mnt opt proc root run sbin srv ...
分类:
其他好文 时间:
2021-06-24 17:36:48
阅读次数:
0
1、cd :进入目录 语法:cd [目标路径] cd [绝对路径] 例:cd /usr/local cd [相对路径] 例:cd test . 表示当前目录 .. 表示上一级目录 / 表示根目录 ~ 表示家目录 2、pwd :显示当前所在路径 pwd 3、ls: 查看目录 ls : 只显示目录文件 ...
分类:
系统相关 时间:
2021-06-22 18:26:02
阅读次数:
0
服务器svn重新生成--Git clone 1588 svn info 1589 cd .. 1590 rm rules -fr 1591 ls 1592 svn up 1593 svn co http://svn.xxxxx.com/xxxxx/uledeploy_doc/prometheus/r ...
分类:
其他好文 时间:
2021-06-22 18:16:56
阅读次数:
0