2013年5月22日

linux下用户命令

摘要: 查看用户: /etc/group文件 (用cat /etc/passwd |cut -f 1 -d :)??? 或者:cat /etc/passwd 1、建用户: adduser phpq //新建phpq用户 passwd phpq //给phpq用户设置密码 2、建工作组 ... 阅读全文

posted @ 2013-05-22 16:30 代码王子 阅读(100) 评论(0) 推荐(0)

python option.parser

摘要: OptionParer模块:、 测试代码如下 #!/usr/bin/python from optparse import OptionParser parser = OptionParser() parser.add_option ("-d","--date",dest="data",help... 阅读全文

posted @ 2013-05-22 10:45 代码王子 阅读(83) 评论(0) 推荐(0)

导航