摘要: 一、LINUX(UBUNTU/CENTOS)用户添加删除修改 1、建用户: [plain] view plain copy adduser web //新建web用户 useradd web -m #添加web 用户 passwd web //给web用户设置密码 useradd web -g ad 阅读全文
posted @ 2017-11-17 22:12 CalvinChu 阅读(4077) 评论(0) 推荐(0) 编辑
摘要: 在linux shell中不显示路径了,显示为-bash-4.1#用起来很不方便。 在linux shell中不显示路径了,显示为-bash-4.1#用起来很不方便。 如何改为显示路径的shell呢? 步骤如下: vim ~/.bash_profile (不用管.bash_profile这个文件有几 阅读全文
posted @ 2017-11-17 21:48 CalvinChu 阅读(1378) 评论(0) 推荐(0) 编辑