码迷,mamicode.com
首页 >  
搜索关键字:active directory-- dsquery commands    ( 11505个结果
python中如何使用shell命令, 及python 与shell 中的变量相互通信
1. python中使用shell命令有多种方法,我自己觉得比较好用的是用commands模块:import commandsa,b = commands.getstatusoutput("ls -Al")a是退出状态(int类型), b是shell 命令的输出结果python -> shell:1...
分类:编程语言   时间:2014-08-12 13:11:34    阅读次数:228
Windows Server 2012 R2 DNS配置
DNS配置打开“网络和共享中心”在安装完域控制器后,DNS地址已转变为指向本地的127.0.0.1,可以更改为本机IP192.168.0.22.在ServerManager中打开Tools内的DNS组件3.正向查找区域如下图所示4.在ReverseLookupZones新建区域5.新建“反向查找区域向导”6.这里有三种区域类型:1)..
分类:Windows程序   时间:2014-08-12 03:39:24    阅读次数:1655
Linux 常用命令 -- find
Linux 常用命令 -- find根据名字,顾名思义就是查找的意思,可以通过多个维度来查找你想要的文件,比如类型,find - search for files in a directory hierarchy常用用法1. 通过名字查找文件find pathname -name filename2...
分类:系统相关   时间:2014-08-11 20:40:03    阅读次数:488
nagios(icinga)借助check_hp插件监控惠普服务器硬件信息
nagios(icinga)借助check_hp插件监控惠普服务器硬件信息http://cpan.metacpan.org/authors/id/D/DT/DTOWN/Net-SNMP-v6.0.1.tar.gzhttp://exchange.nagios.org/directory/Plugins/Hardware/Server-Hardware/HP-(Compaq)/check_hp/details被监控端:$sudoapt-getinstallsnmpd$sud..
分类:移动开发   时间:2014-08-11 18:17:23    阅读次数:341
ftp上传下载
1 package com.mall.business.active; 2 3 import java.io.File; 4 import java.io.FileInputStream; 5 import java.io.FileNotFoundException; 6 impor...
分类:其他好文   时间:2014-08-11 17:17:52    阅读次数:279
pycharm每日技巧-3
Did you know that you can close tabs in the editor and the tool windows of PyCharm without actually using the context menu commands? It is enough to p...
分类:其他好文   时间:2014-08-11 11:23:52    阅读次数:211
Postfix 删除队列中的邮件
#manpostsuperNAMEpostsuper-PostfixsuperintendentSYNOPSISpostsuper[-psv][-cconfig_dir][-dqueue_id][-hqueue_id][-Hqueue_id][-rqueue_id][directory...]-dqueue_idDeleteonemessagewiththenamedqueueIDfromthenamedmailqueue(s)(default:hold,incoming,activeanddeferred)..
分类:其他好文   时间:2014-08-11 03:03:21    阅读次数:275
PHPcms 摘要
一 常量 /** * 主要定义了路径常量,项目中经常用到 **/ define('PHPCMS_PATH',dirname(__FILE__).DIRECTORY_SEPARATOR);// 项目根目录 define('IN_PHPCMS',true); ...
分类:Web程序   时间:2014-08-10 21:11:40    阅读次数:374
HBase 查找版本号
直接用hbase shell命令进入shell的时候就会显示版本号:进入shell后,键入version命令,也可以查看版本号:# hbase shell HBase Shell; enter 'help' for list of supported commands. Type "exit" to leave the HBase Shell Version 0.94.7, r1471806, W...
分类:其他好文   时间:2014-08-10 18:48:00    阅读次数:263
Java命名和目录接口——JNDI
JNDI即Java命名和目录接口(JavaNaming and Directory Interface),它属于J2EE规范范畴,是J2EE的核心技术之一,提供了一组接口、类和关于命名空间的概念。JDNI是provider-based技术,它暴露一个API和一个服务供应接口(SPI)。它将名称和对象联系起来,使我们可以用名称访问对象。我们可以把JNDI简单地看成是里面封装了一个name到实体对象的...
分类:编程语言   时间:2014-08-08 21:23:16    阅读次数:734
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!