功能:查询当前所在目录位置print working directorypwd[root@localhost /]# cd ./home/test/[root@localhost test]# pwd/home/test[root@localhost test]#
分类:
系统相关 时间:
2015-09-05 22:01:16
阅读次数:
163
Basic Linux Commands :date, clock, hwclock, cal, ls, pwd, whereis, which, who, w, whoami
作业01:自行学习如下命令 date,clock,hwclock,cal ls,cd,pwd,tty,whereis,which stat,echo,shutdown,halt,reboot,poweroff who,w,whoamidate:显示系统时间,【时间日期】 date查看系统当前时间参数-u显示utc时间 格式化显示年月日用+号连起来如:date+%Y-%m-%d(如果我们用d..
分类:
系统相关 时间:
2015-09-04 14:27:14
阅读次数:
372
在使用Python的过程中,想输入账号和密码,但是密码会随着输入显示在屏幕上,为了解决这个问题需要用到msvcrt模块这里是使用代码import msvcrt, sysdef pwd_input(a): print str(a), chars = [] while True: ...
分类:
编程语言 时间:
2015-09-03 23:09:48
阅读次数:
223
测试环境centos6.7(x64)mongodb-linux-x86_64-2.7.8.tgz1、创建系统级别管理用户useadmindb.createUser({user:"root",pwd:"123456",roles:[{role:"userAdminAnyDatabase",db:"admin"}]})2、创建正对具体数据库管理用户useabcdb.createUser({user:"test1",pwd:"123456",roles:[{..
分类:
数据库 时间:
2015-09-03 07:07:12
阅读次数:
197
1.管理文件和目录的命令: (1)pwd命令:(print working directory 打印工作目录) zhouhongmingdeMacBook-Pro:metadata zhouhongming$ pwd /Users/zhouhongming/New Unity Pr...
分类:
系统相关 时间:
2015-09-02 08:12:26
阅读次数:
201
配置前需关闭防火墙安装samba文件,修改配置文件[root@localhost samba]# pwd/etc/samba[root@localhost samba]# vim smb.conf[global] workgroup = MYGROUP server st...
分类:
其他好文 时间:
2015-08-30 23:04:21
阅读次数:
225
1、pwd:输出当前的工作目录命令格式:pwd[OPTION]...例子:[root@localhostetc]#pwd/etc2、echo:回显文本命令格式:echo[SHORT-OPTION]...[STRING]...echoLONG-OPTION选项:-n输出文本后不换行[root@localhost~]#echo‘hello!‘hello![root@localhost~]#echo-n‘hello‘hello[root..
分类:
系统相关 时间:
2015-08-30 01:15:00
阅读次数:
209
mkdir 创建新目录pwd用来显示当前目录Is -ah显示隐藏的文件git add file把文件添加到git的暂存区git commit -m提交到分支git diff--文件名 查看修改的文件git log --pretty=oneline将显示的东西分行显示(可以不加后面的)git res....
分类:
其他好文 时间:
2015-08-29 16:55:33
阅读次数:
150
view ControllerUser user = client.GetUser(id.ToString());string pwd = client.DecryptPsd(user.U_ID.ToString()); ViewData["u_psd"] = pwd;...
分类:
Web程序 时间:
2015-08-28 17:00:37
阅读次数:
143
需求:用户登录(name:用户名,pwd:密码)(一)HttpGet :doGet()方法//doGet():将参数的键值对附加在url后面来传递[java]view plaincopypublicStringgetResultForHttpGet(Stringname,Stringpwd)thro...
分类:
移动开发 时间:
2015-08-28 10:53:46
阅读次数:
208