2019年8月8日

Linux系统启动自动运行命令的方法

摘要: Put a script containing the command in your /etc directory. Create a script such as "startup.sh" using your favorite text editor. Save the file in you 阅读全文

posted @ 2019-08-08 11:19 lialin 阅读(1056) 评论(0) 推荐(0) 编辑

2019年8月2日

新建的账户在bash窗口中没有账户名和主机名的解决办法

摘要: 这是因为在创建账户前已经建立了该用户的文件夹,导致useradd的时候有些初始化没有完成。 解决办法: useradd testuser cp /home/testuser/.bash* ./home/targetuser/ -rf userdel testuser 阅读全文

posted @ 2019-08-02 11:24 lialin 阅读(281) 评论(0) 推荐(0) 编辑

导航