转自:http://634871.blog.51cto.com/624871/1325907 在实际工作中,公司不会将root用户直接给员工使用,而是通过员工自己的账号临时获得系统的root权限. 1.我现在测试的环境是:red hat linux 6 1 2 [root@rhel1 xcg]# uname -a Linux rhel1.kongzhong.com 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x
crt退出全屏:点击Alt+enter键 linux上传下载文件 Xftp.Filezilla.Winscp等工具 命令 sz test.txt #下载test.txt文件 rz 选择文件 #上传文件 id .whoami #查看当前登录用户 su mysql #pwd查看没有切换到mysql目录 su - mysql #pwd查看有切换到mysql目录 环境变量: 加到/etc/p
命令说明 $ type cmd # 获取命令类型 $ which cmd # 命令的位置 $ help cmd / cmd --help / man cmd # 获取命令帮助 $ whatis cmd # 命令描述信息 Linux – filesystem path notation Notation Desc / the root directory . the current working directory .. the parent directory (i.e. one direct