Linux常用命令2
来源:互联网 发布:木地板衬垫淘宝 编辑:程序博客网 时间:2024/06/06 07:31
1.切换用户的命令
su -
-:执行环境变量
2.临时获取root权限(最大系统权限)的命令
sudo
3.在哪个文件去修改,让一个普通用户变为sudo的用户
需要在/etc/sudoers为用户添加root权限,添加一行doudou ALL=(root) NOPASSWD:ALL
4.全局环境变量文件
/etc/profile
5.生效全局的命令 一般是—》source
6.生效个人的是—》.bash_profile
7.实时查看一个文件内容的命令和参数—》tail-F
阅读全文
0 0
- Linux常用命令(2)
- linux常用命令2
- linux常用命令 ----2
- Linux常用命令2
- Linux常用命令-2
- linux常用命令(2)
- Linux vi常用命令--2
- linux常用命令2
- linux常用命令2
- 《Linux 三》 常用命令 [ 2 ]
- 《Linux 三》 常用命令 [ 2 ]
- linux常用命令2
- [Linux] 三, 常用命令 [ 2 ]
- linux shell 2-----常用命令
- 4. Linux常用命令(2)
- linux常用命令(2)
- linux 常用命令2
- Linux常用命令2
- 获取iframe内部元素
- 如何设计一个秒杀系统
- spring data jpa介绍
- 个人网盘搭建过程--资料来自腾讯云实验室
- iOS 对称加解密之AES
- Linux常用命令2
- HDFS原理剖析
- shiro标签使用汇总
- android开发之网络学习-http/https
- Best Time to Buy and Sell Stock with Transaction Fee
- 使用 GIt 关联码云远程库
- A股股票代码
- java之构造函数详解
- 窗口尺寸获取几种方式