码迷,mamicode.com
首页 >  
搜索关键字:shell time expr wait    ( 86807个结果)
bash特殊变量
bash特殊变量 变量 含义 $0 函数名 \(n | n>=1,表示第一个、第二个、第n个参数、\)(10) $@ 全部参数 $* 全部参数 $# 参数个数 $_ 上一个命令的最后一个参数 $$ 当前shell进程ID $? 上一个命令的返回值 ...
分类:其他好文   时间:2021-04-20 14:55:25    阅读次数:0
Docker Hadoop 配置常见错误及解决办法
Docker Hadoop 配置常见错误及解决办法 问题1:wordcount运行卡住,hadoop 任务运行到running job就卡住了 INFO mapreduce.Job: Running job: job_.... 解决如下: 1. 修改mapred-site.xml配置,配置文件在Ha ...
分类:其他好文   时间:2021-04-20 14:54:20    阅读次数:0
配置alias命令永久生效
在/etc/profile.d目录里下新建 shell脚本 (设置alias别名命令的功能) 让新建的别名生效 设置完成后之际可以使用别名 gj 命令 执行poweroff一样效果的 ...
分类:其他好文   时间:2021-04-20 14:33:22    阅读次数:0
LINUX-shell&find 指令
1、编写脚本 createuser.sh,实现如下功能:使用一个用户名作为参数,如果 指定参数的用户存在,就显示其存在,否则添加之;显示添加的用户的id号等信息 read -p " input the user: " USER if id $USER &> /dev/null ; then echo ...
分类:系统相关   时间:2021-04-20 14:31:15    阅读次数:0
golang easyjson使用
golang easyjson使用 1.先安装easyjson go get -u github.com/mailru/easyjson/ 2.在结构体上加//easyjson:json的注解 //easyjson:json type School struct { Name string `jso ...
分类:Web程序   时间:2021-04-20 14:21:08    阅读次数:0
shell-script - shell 如何获取 nginx 配置文件位置?
通过nginx -t获得 nginx=`nginx -t 2>&1 | grep configuration` if [ ! -z "$nginx" ];then nginxtmp="${nginx#*file}" nginxf="${nginxtmp%test*}" echo $nginxf fi ...
分类:系统相关   时间:2021-04-19 15:38:16    阅读次数:0
学习python -- 第015天 类与对象的特殊方法与特殊属性
特殊属性 1 # 2 # @author:浊浪 3 # @version:0.1 4 # @time: 2021/4/17 9:34 5 # 6 7 8 class A: 9 pass 10 class B: 11 pass 12 class C(A,B): 13 def __init__(self ...
分类:编程语言   时间:2021-04-19 15:35:56    阅读次数:0
Explorer.EXE该文件没有与之关联的应用来执行该操作
Explorer.EXE该文件没有与之关联的应用来执行该操作。请安装应用,若已经安装应用,请在"默认应用设置"页面中创建关联。 添加如下注册表信息即可解决: Windows Registry Editor Version 5.00 [[HKEY_CLASSES_ROOT\Folder\shell\e ...
分类:其他好文   时间:2021-04-19 15:11:29    阅读次数:0
五.Maven的依赖的范围
依赖范围 对于编译classpath有效 对于测试classpath有效 对于运行时classpath有效 compile Y Y Y test - Y - provided Y Y - runtime - Y Y system Y Y - ...
分类:其他好文   时间:2021-04-19 15:02:44    阅读次数:0
时间模块
恢复内容开始 # 时间分为3中格式:# 1.时间戳:从1970年到现在经过的秒数# 作用 用于时间间隔的计算print(time.time())# 2.按照某种格式显示的时间:2020-01-30 11:11:11# 作用:用于展示时间print(time.strftime('%Y-%m-%d %H ...
分类:其他好文   时间:2021-04-19 15:01:35    阅读次数:0
共86807条   上一页 1 ... 40 41 42 43 44 ... 8681 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!