码迷,mamicode.com
首页 >  
搜索关键字:bash script    ( 38035个结果
/bin/bash: line 0: fg: no job control一般解决方法
测试版本:CDH5.0,(Hadoop2.3)在使用windows调用Hadoop yarn平台的时候,一般都会遇到如下的错误:2014-05-28 17:32:19,761 WARN org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor: Exception from container-launch with co...
分类:其他好文   时间:2014-06-03 06:26:17    阅读次数:277
cygwin下清屏的三种方法
1. 做一个clear脚本,放到/bin下去 $vim /bin/clear #!/bin/bash cmd /c cls 2. ctrl + L 3. 在cygwind中install ncurses (in Utils) and then you can use: clear 我倾向于第三种方法...
分类:Windows程序   时间:2014-06-02 17:30:04    阅读次数:424
-bash: warning: setlocale: LC_CTYPE: cannot change locale (EN_US.UTF-8)
-bash:warning:setlocale:LC_CTYPE:cannotchangelocale(EN_US.UTF-8) 把linux系统从中文设置英文字符集后发生以下报错 首先本系统字符集为中文UTF-8 [root@localhost~]#more/etc/sysconfig/i18n LANG="zh_CN.UTF-8" 修改为英文UTF-8 [root@localhost~]#vim/etc/sysconfig/i..
分类:其他好文   时间:2014-06-02 14:49:19    阅读次数:203
开发.Net Script 模板-MyGeneration (翻译)
原文信息原文地址原文作者信息Justin GreenwoodMyGeneration Softwarehttp://www.mygenerationsoftware.com/October 7, 2004系统需求:Microsoft Windows 2000/XPMicrosoft .Net Fra...
分类:Web程序   时间:2014-06-02 13:33:13    阅读次数:729
csharp: using using System.Web.Script.Serialization read json
using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;usin...
分类:Web程序   时间:2014-06-02 09:44:06    阅读次数:237
ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], []
今天建库的时候忽然报错ORA-00600:internalerrorcode,arguments:[keltnfy-ldmInit],[46],[1],[],[],[],[],[]梗是让我无语,没办法只好检查参数配置,按照文档一步步检查,最后检查了下profile文件的配置 [root@servU_01db_1]#more/home/oracle/.bash_profile #.bash_profile #..
分类:其他好文   时间:2014-06-02 04:12:51    阅读次数:320
-bash: ulimit: max user processes: cannot modify limit: Operation not permitted
安装oracle时候在创建oracle用户后,切换oracle用户时,报如下错 [root@localhost~]#su-oracle -bash:ulimit:maxuserprocesses:cannotmodifylimit:Operationnotpermitted 经查看结果是忘记修改/etc/security/limits.conf 关于/etc/security/limits.conf解释及应用,看我转载..
分类:其他好文   时间:2014-06-02 04:11:33    阅读次数:264
《shell脚本if..then..elif..then.if语句的总结》
第一种:#!/bin/bash service vsftpd start &> /dev/null if[ $? -eq 0 ]thenecho "ftp is start"elseservice vsftpd startfi第二种:#!/bin/bash read -p "input your f...
分类:其他好文   时间:2014-06-02 00:41:38    阅读次数:332
myeclipse解决JSP文件中script背景颜色的调整
导入MyEclipse的主题后,打开jsp或者html文件,jsvascript部分就蒙受上了一层白色,弄不掉了。症状如下: 解决办法如下:...
分类:Web程序   时间:2014-06-01 18:25:21    阅读次数:460
linux权限补充:rwt rwT rws rwS 特殊权限
众所周知,Linux的文件权限如: 777;666等,其实只要在相应的文件上加上UID的权限,就可以用到加权限人的身份去运行这个文件。所以我们只需要将bash复制出来到另一个地方,然后用root加上UID权限,只要用户运行此Shell就可以用用root的身份来执行任何文件了一个文件都有一个所有者, ...
分类:系统相关   时间:2014-05-31 20:29:13    阅读次数:522
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!