-bash:ulimit:pipesize:cannotmodifylimit:Invalidargument在由root用户切换到Oracle用户时,出现如题所示的问题。解决办法:在Oracle用户下,vi编辑器打开/etc/profile文件。配置该文件时有这么一段:if[$USER="oracle"];thenif[$SHELL="/bin/ksh"];thenulimit-p16384ulimit-n..
分类:
其他好文 时间:
2016-01-04 15:44:40
阅读次数:
215
#include #include /* Bit-mask values for 'flags' argument of becomeDaemon() */#define BD_NO_CHDIR 01 /* Don't chdir("/") */#define BD_NO_...
分类:
系统相关 时间:
2015-12-29 19:17:55
阅读次数:
265
NSThread是轻量级的多线程开发,使用它需要我们自己管理线程的生命周期。有两种方法创建启动线程。方法1:对象方法 -(instancetype)initWithTarget:(id)target selector:(SEL)selector object:(id)argument;方法2:类方法...
分类:
移动开发 时间:
2015-12-29 11:07:07
阅读次数:
169
Docker镜像文件与仓库(二) Docker镜像文件与仓库(二)Dockerfile指令Dockerfile格式:1.#Comment注释2.INSTRUCTION大写的指令名 argument参数FROM1.F...
分类:
其他好文 时间:
2015-12-28 21:49:50
阅读次数:
136
转自Stackoverflow@classmethod means: when this method is called, we pass the class as the first argument instead of the instance of that class (as we no...
分类:
编程语言 时间:
2015-12-25 18:40:49
阅读次数:
196
using_sys.pyimport sysprint ('the command line argument are:')for i in sys.argv: print (i)print ('\n\n the python path is', sys.path, '\n')using_na...
分类:
编程语言 时间:
2015-12-23 16:00:24
阅读次数:
182
At the lowest level, data in Java is manipulated using operatorsUsing Java Operators An operator takes one or more argument and produces a new valu...
分类:
编程语言 时间:
2015-12-15 00:45:56
阅读次数:
316
1.运行模拟器的时候报出:installation failed invalid argument!原因分析:我把Bundle indentifier 置为空了!http://stackoverflow.com/questions/27037589/xcode-6-1-installation-fa...
分类:
移动开发 时间:
2015-12-12 21:50:34
阅读次数:
1830
Linux下通过rm -f删除/var/spool/postfix/maildrop/中大量的小文件时提示:"-bash: /bin/rm: Argument list too long"如图:通过ls /var/spool/postfix/maildrop/*|wc -l发现文件数达到21万多,见...
分类:
系统相关 时间:
2015-12-11 20:32:41
阅读次数:
1610
位置参数所谓位置参数 (positional parameter) ,指的是 Shell 脚本的命令行参数 (argument) ;同时也表示在 Shell 函数内的函数参数。它们的名称是以单个的整数来命名。出于历史的原因,当这个整数大于 9 时,就应该以花括号( {} )括起来 :echo fir...
分类:
系统相关 时间:
2015-11-30 15:59:15
阅读次数:
239