commands模块用于调用shell命令有3中方法:commands.getstatus() 返回执行状态commands.getoutput() 返回执行结果commands.getstatusoutput() 返回一个元组,执行状态和执行结果其他执行shell命令的方法还有:1.os.sy.....
分类:
编程语言 时间:
2015-01-14 09:37:31
阅读次数:
609
[root@xenserver ~]# brctl --help Usage: brctl [commands] commands: addbr add bridge delbr delete bridge addif add interface to bridge delif ...
分类:
其他好文 时间:
2015-01-13 21:14:33
阅读次数:
378
内建命令(build-in commands)是shell build-in的命令,当内建命令使用的时候,shell将会直接执行,无需新建子进程。内建命令被用来创建一些功能性的或者便捷性的组建。bash支持3中类型的内建命令Bourne Shell build-ins:,.breakcdcontin...
分类:
系统相关 时间:
2015-01-13 19:37:56
阅读次数:
156
sfce Commands sfce Duplicate Current Line selectLine:, copy:, moveToEndOfLine:, insertNewline:, paste:, deleteBackward: ...
分类:
其他好文 时间:
2015-01-13 19:17:44
阅读次数:
118
some U-Boot commands special for FL Ok6410 (1) download U-Boot $dnw 50008000 $nand erase 0 100000 $nand write.uboot 50008000 0 100000 #dnw default l.....
分类:
其他好文 时间:
2015-01-12 10:49:04
阅读次数:
290
Debugger commands: apropos -- Find a list of debugger commands related to a particular word/subject. breakpoint -- A set of commands for operating on ...
分类:
数据库 时间:
2015-01-12 06:43:55
阅读次数:
256
最近在学Linux,用到tmux这个命令,看到很多快捷键的介绍,个人觉得不太好用,因此把几个常用的命令记录下来,以便以后学习和使用。常用tmux commands:tmux ls //列出tmux会话列表tmux new -s amytmux n...
分类:
其他好文 时间:
2015-01-10 20:59:36
阅读次数:
178
悲剧...FireDAC连接Postgre数据库, 使用默认的属性,一次执行多条SQL的时候, 会报"cannot insert multiple commands into a prepared statement"这样的错误到网上查了一下(百度), 什么信息都找不到, 然后又google, 找到...
分类:
其他好文 时间:
2015-01-08 17:16:09
阅读次数:
331
如何设置mysql root密码:
1、首次安装 root初始密码为空,注意就是没有密码,直接敲回车即可进入
D:\wamp\bin\mysql\mysql5.6.17\bin>mysql -uroot -p
Enter password: [直接回车]
Welcome to the MySQL monitor. Commands end with ; or \g.
Your...
分类:
数据库 时间:
2015-01-07 18:52:26
阅读次数:
228
Create a new group
groupadd -g 54321 oracle
Create a new user
useradd -c "Operate Oracle DB" -m -d /home/oracle -g oracle -G sudoers,weblogic,orainstall -s /bin/bash -u 54321 oracleuseradd -u 543...
分类:
系统相关 时间:
2015-01-06 23:16:33
阅读次数:
227