码迷,mamicode.com
首页 >  
搜索关键字:directory    ( 6119个结果
linux:执行脚本出现/bin/sh^M: bad interpreter: No such file or directory
问题出在^M,原因是脚本文件的编码格式是dos,有可能是我在window下编辑完了直接传到linux的结果,可以在vim中输入以下命令确认编码格式:set ff //可以看到dos或unix的字样. 如果的确是dos格式的, 那么你可以用set ff=unix把它强制为unix格式的, 然后存...
分类:系统相关   时间:2014-05-23 12:53:37    阅读次数:507
如何从Hadoop安全模式中进入正常模式
问题: 在Hadoop中,新建一个目录,报错了,提示mkdir: org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot create directory,该如何解决呢?...
分类:其他好文   时间:2014-05-22 11:31:11    阅读次数:304
linux shell 命令
linux shell 命令 什么是Shell? Shell 是连接操作系统内核 与 用户 的接口。 终端是shell的表现形式。 什么是Shell编程? Shell 脚本语言加上linux 命令语句就构成了shell程序。优点在于批量处理、不用用户每次手动输入。 bash是shell程序解释器的一种。   常用命令 pwd:print working directory,打印工...
分类:系统相关   时间:2014-05-22 10:39:17    阅读次数:442
CenOS 6 DNS服务器简要配置
yuminstallbind*一、修改下面配置文件vi/etc/named.confoptions{listen-onport53{192.168.100.210;};listen-on-v6port53{::1;};directory"/var/named";dump-file"/var/named/data/cache_dump.db";statistics-file"/var/named/data/named_stats.txt";memstatistics-file"/var/na..
分类:其他好文   时间:2014-05-20 22:07:44    阅读次数:341
组策略发布Office2010
在Windows Active Directory网络中,使用组策略发布Office 2003时,是在组策略编辑器的“用户配置→策略→软件设置”中进行发布的,但Office 2007与Office 2010,改变了软件分发方式,只能通过将软件指派给“计算机对象”的方式进行分发,在本文中我们介绍使用组...
分类:其他好文   时间:2014-05-20 10:54:29    阅读次数:381
AD转移五大角色
windows 2008 R2转移五大角色 regsvr32 schmmgmt Active Directory架构 架构主机 Active Directory域和信任关系 域命令主机 Active Directory用户和计算机 PDC模拟器、RID主机、基础架构主机CMD->ntd...
分类:其他好文   时间:2014-05-19 19:35:30    阅读次数:273
LDAP 后缀操作
创建目录服务器实例之后,必须为服务器的目录信息树(Directory Information Tree,DIT)创建一个或多个后缀。DIT由服务器中的所有条目组成,这些条目使用各自的标识名(DistinguishedName,DN)进行标识。DN的分层特性可创建分支和叶条目,从而以树的形式组织数据。...
分类:其他好文   时间:2014-05-19 13:39:17    阅读次数:329
svn签出单个文件
if (System.IO.Directory.Exists(System.IO.Path.GetDirectoryName(this.Asset.LocalPath)) && System.IO.Directory.GetFiles(System.IO.Path.GetDirectoryName(...
分类:其他好文   时间:2014-05-19 11:04:02    阅读次数:217
linux 判断指定用户对指定目录具有的权限
脚本名:power.sh脚本内容:Shell代码 #!/bin/sh username3=$1 dir_name2=$2 # get existing directory file_path=$dir_name2 while true do if [ -d $fil...
分类:系统相关   时间:2014-05-18 18:49:24    阅读次数:319
C经典之9-system,if,do,while---ShinePans
#include #include #include //system(); 这个指令需要用到此头文件 #include //toupper要用到 void main() { char letter; do{ printf("A Display directory listling\n"); printf("B Display disk information\n"); ...
分类:其他好文   时间:2014-05-18 06:46:07    阅读次数:292
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!