1问题我们有时候需要保存多个路径,上下键切换不方便,用cd-只能到上个目录,我们可以用dirs和pushd和popd2dirs、pushd、popddirs: 这个命令显示栈里面所有的路径,一定会包含当前路径,常用参数如下dirs -v 显示栈里面的所有路径和......
admin 2023-10-14
文章浏览阅读180次。一、定义正则表达式是你所定义的模式模板(pattern template),Linux工具可以用它来过滤文本。Linux 工具(比如 sed 编辑器或 gawk 程序)能够在处理数据时使用正则表达式对数据进行模式匹配。如果数据匹配模......
admin 2023-11-14
文章浏览阅读183次。一、定义正则表达式是你所定义的模式模板(pattern template),Linux工具可以用它来过滤文本。Linux 工具(比如 sed 编辑器或 gawk 程序)能够在处理数据时使用正则表达式对数据进行模式匹配。如果数据匹配模......
admin 2023-11-21
京东JD.COM图书频道为您提供《Linux命令行与shell脚本编程大全(第3版)(图灵出品)》在线选购,本书作者:,出版社:人民邮电出版社。买图书,到京东。网购图书,享受最低优惠折扣!...
admin 2023-10-13
文章浏览阅读360次。问题:tool.ImportTool: Import failed: org.apache.hadoop.security.AccessControlException: Permission denied: user=yarn, access=WRITE, inode="/user/yarn":hdfs:supergroup:drwxr-xr-xCaused by: org.apach..._"user=yarn, access=write, inode=\"/user"...
admin 2024-01-23
文章浏览阅读627次。最近在跑任务,因为时间比较赶,一些任务都是凌晨完成,为了充分利用算力资源,所以采用了定时器运行脚本,让服务器持续工作,提高工作效率。之前_crontab shell脚本db2 command not found...
admin 2023-11-12
1.echo 基本脚本###--------------脚本1--------------------###!/bin/bashecho -e "hello\tworld" # \t Tab键echo -e "hello\bworld" # 光标左移一位,不打印oecho -e "hello\fworld" # 换行光标仍留在原来的位置echo -e "hello\nworld" # 换行echo......
admin 2023-10-13
刚刚学会了一个很实用的shell命令set -ex,在这里分享一下。set -e先说说set -e,这个参数的含义是,当命令发生错误的时候,停止脚本的执行。通常来说,我们会习惯于使用&&来实现这样的功能,比如:echo 1 && rm non-exis......
admin 2023-10-14
文章浏览阅读2k次。一、 Shell Here Document(内嵌文档/嵌入文档)Shell 还有一种特殊形式的重定向叫做“Here Document”,目前没有统一的翻译,你可以将它理解为“嵌入文档”“内嵌文档”“立即文档”。所谓文档,就是命令需要处......
admin 2024-01-22
文章浏览阅读2.6k次。1.前提条件机器已经配置ssh无密码登录2.配置文件elasticsearch.yml 把所有的都注释掉,只保留下面几个,不知道为何,请在每行前面加上一个空格。 cluster.name: bluedon node.name: C05 path.data: /data/es1 network.host: C05 disco......
admin 2024-01-24
文章浏览阅读1.7k次。(1)遍历所有的zip文件,将有效的zip生成对应的.ok文件#!/bin/bashfunction echo_name(){ for file in `ls *.zip` do unzip -t $file if [ $? == 0 ]; then if [ ! -f $file.ok ]; then create_ok_file $file fi fi done } functio......
admin 2023-11-13
文章浏览阅读905次。大数据之Azkaban 概论一、为什么需要工作流调度系统二、常见工作流调度系统三 、Azkaban 与 Oozie 对比一、为什么需要工作流调度系统1)一个完整的数据分析系统通常都是由大量任务单元组成:Shell 脚本程序......
admin 2024-01-22
文章浏览阅读306次。⼯作流调度系统Azkaban第 1 节 概述1.1 ⼯作流调度系统⼀个完整的数据分析系统通常都是由⼤量任务单元组成:shell脚本程序 java程序 mapreduce程序 hive脚本等各任务单元之间存在时间先后及前后依赖关系,为了很......
admin 2023-11-11
资源浏览查阅129次。系泊系统matlab代码-cgsn-parsers:编写用于收集、解析和绘制CGSN数据以进行集成和验证测试的Python和shell脚本,系泊系统matlab代码CGSN解析器简单的python和shell实用程序,用于收集和解析由自定义构建的CGSN数据记录......
admin 2023-11-12
友情链接申请要求: 不违法不降权 权重相当 请联系QQ:737597453