码迷,mamicode.com
首页 >  
搜索关键字:commands    ( 1138个结果
《Linux命令行与shell脚本编程大全》第十二章 使用结构化命令
许多程序要就对shell脚本中的命令施加一些逻辑控制流程。 结构化命令允许你改变程序执行的顺序。不一定是依次进行的 12.1 使用if-then语句 如下格式: if command then commands fi if语句会允许if后面的那个命令,如果该命令的退出码的0(代表成功了)位于then ...
分类:系统相关   时间:2017-11-21 23:59:57    阅读次数:435
Telnet IMAP Commands Note
http://busylog.net/telnet-imap-commands-note/ Telnet IMAP Commands Note https://www.cnblogs.com/qiubole/archive/2007/11/23/970180.html IMAP命令学习 ...
分类:Web程序   时间:2017-11-20 13:09:43    阅读次数:171
os.system commands subprocess
用来执行shell指令 1、os.system() system(command) -> exit_status Execute the command (a string) in a subshell. 2、os.popen() popen(command [, mode='r' [, bufsi ...
分类:其他好文   时间:2017-11-17 15:03:33    阅读次数:106
man时括号里的数字是啥意思
man socket时,会显示socket(2),这个2是什么意思呢?它不是指有几个参数,而是表示socket的所在章节,2就是系统调用。具体如下: 1-commands 2-system calls 3-libray calls 4-special files 5-file formats and ...
分类:其他好文   时间:2017-11-17 15:03:11    阅读次数:136
16/11/2017 shell学习笔记
检查一组代码从执行开始到执行完毕的时间。#!/bin/bash start=$(date+%s) commands; statements; end=$(date+%s) difference=$((end-start)) echoTimetakentoexecutecommandsis$differenceseconds.
分类:系统相关   时间:2017-11-16 17:13:14    阅读次数:170
053-647
You executed the following commands in a database session: What could have caused the recycle bin to clean up?A. There is demand for space from the ne ...
分类:其他好文   时间:2017-11-16 14:32:46    阅读次数:154
053-659
Which two commands never trigger an implicit rebalancing within the disk group?. (Choose two.)A. ALTER DISKGROUP misc MOUNT;B. ALTER DISKGROUP misc DR ...
分类:其他好文   时间:2017-11-16 14:28:44    阅读次数:146
Performance Tuning Using Linux Process Management Commands
[root@bigdata-server-02 /]# ps --help all Usage: ps [options] Basic options: -A, -e all processes -a all with tty, except session leaders a all with t ...
分类:系统相关   时间:2017-11-13 21:19:13    阅读次数:234
day17——logging、os模块、commands模块、sys模块
logging的使用 日志是我们排查问题的关键利器,写好日志记录,当我们发生问题时,可以快速定位代码范围进行修改。Python有给我们开发者们提供好的日志模块,我们我们就来介绍一下logging模块: 首先,我们先来看一个例子: import logging logging.debug("This ...
分类:其他好文   时间:2017-11-11 23:41:47    阅读次数:190
python 基础 7.5 commands 模块
一. commands 模块 1.commands 模块只使用与linxu 的shell 模式下 在我们平时码字时,经常需要调用系统脚本或者系统命令来解决很多问题,接下来,我们就介绍给大家一个很好用的模块commands,可以通过python 调用系统命令,调用系统命令commands 模块提供了三 ...
分类:编程语言   时间:2017-11-11 20:41:17    阅读次数:227
1138条   上一页 1 ... 33 34 35 36 37 ... 114 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!