码迷,mamicode.com
首页 >  
搜索关键字:history bash    ( 17894个结果
-bash: fork: retry: Resource temporarily unavailable;centos6.5
Last login: Wed Jun 18 14:04:11 2014 from 1.1.1.135-bash: fork: retry: Resource temporarily unavailable-bash: fork: retry: Resource temporarily unavai...
分类:其他好文   时间:2014-06-28 20:55:05    阅读次数:173
bash模式和模式匹配
bash模式和模式匹配==================* ${variable#pattern} 如果模式匹配变量取值的开头,删除最短匹配部分,返回其余部分* ${variable##pattern} 如果模式匹配变量取值的开头,删除最长匹配部分,返回其余部分* ${variable%patte...
分类:其他好文   时间:2014-06-28 20:31:38    阅读次数:286
javascript常用的107个语句
1.document.write(“”); 输出语句2.JS中的注释为//3.传统的HTML文档顺序是:document->html->(head,body)4.一个浏览器窗口中的DOM顺序是:window->(navigator,screen,history,location,document)5...
分类:编程语言   时间:2014-06-28 20:08:42    阅读次数:326
backup script
#!/bin/bash###################################################### export the whole database use exp utility. ##################################...
分类:其他好文   时间:2014-06-28 19:58:18    阅读次数:215
Ag (the_silver_searcher) 安装使用
## if (I am a Programmer || I have a strong sense of time) I use ag___##1. 安装命令行ag(代码中行首的“\\”是多余的)```bash\#!/usr/bin/env bash\#Author Leslie Guan\#ma....
分类:其他好文   时间:2014-06-21 07:55:03    阅读次数:241
Linux数组array基础
Linux数组array基础【${a[*]}和$a的区别】Bash中,数组变量的赋值有两种方法: (1) name = (value1 ... valuen)此时下标从0开始 (2) name[index] = value 下面以一个简单的脚本来说明,脚本内容如下:#!/bin/bash#定义...
分类:系统相关   时间:2014-06-21 06:26:29    阅读次数:304
ubuntu下设置locale
在bash下中文乱码,因为locale没有正确设置,在bash下执行:/usr/share/locales/install-language-pack zh_CNsudo locale-gen编辑用户主目录下 ~/.bashrc 文件,添加内容export LANG="zh_CN.UTF-8"exp...
分类:其他好文   时间:2014-06-18 10:51:44    阅读次数:211
Spark1.0.0 history server 配置
在运行Spark应用程序的时候,driver会提供一个webUI给出应用程序的运行信息,但是该webUI随着应用程序的完成而关闭端口,也就是说,Spark应用程序运行完后,将无法查看应用程序的历史记录。Spark history server就是为了应对这种情况而产生的,通过配置,Spark应用程序在运行完应用程序之后,将应用程序的运行信息写入指定目录,而Spark history serve...
分类:其他好文   时间:2014-06-18 07:45:40    阅读次数:250
su和su - 的区别
我们在更改系统文件或者执行某些命令,需要root身份才能进行,这就需要从当前用户切换到root用户。Linux中切换用户的命令是su或su -。前天我在使用useradd这个命令时,才体会到这两者的本质区别。如图:我首先是用su命令切换到root身份的,但是运行useradd时,出现错误:bash:...
分类:其他好文   时间:2014-06-18 00:21:15    阅读次数:275
Linux运维常用知识(4)
linux命令无效-bash:ls:commandnotfound一次重启后开机,基本所有的命令都不可用,只有少数的命令可用[root@centos-1~]#ll-bash:ls:commandnotfound[root@centos-1~]#pwd/root[root@centos-1~]#shutdown-rnow-bash:shutdown:commandnotfound[root@centos-1~]#export$PATH-bash:..
分类:系统相关   时间:2014-06-17 17:45:16    阅读次数:368
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!