当前位置:网站首页>-bash-4.2$
-bash-4.2$
2022-07-22 17:50:00 【Lazy p】
1, Solve login linux The server appears -bash-4.2$
Normal should be :[email protected]
The reason is that useradd When adding ordinary users ,
Sometimes the environment variable file in the home directory is lost , The missing files are as follows :
1).bash_profile
2).bashrc
terms of settlement :
From master default file /etc/skel/ Next, copy a copy of the configuration information to the user's home directory
cp /etc/skel/.bashrc /home/user/
cp /etc/skel/.bash_profile /home/user
or
cp /etc/skel/.bash* /home/user
Then login again .
边栏推荐
猜你喜欢
NFS shared storage service
MongoDB-查询语句中>、>=、<、<=、=、!=、in、not in用法介绍
Report design tool FastReport online designer v2022.1 full introduction to new changes
(十一)51单片机——用AT24C02实现存储秒表数据(附成果展示)
Buu misc advanced
【Harmony OS】【ARK UI】【Demo】加载动画实现
Win11怎么以管理员身份运行?Win11以管理员身份运行的设置方法
Prepare for the attack and defense drill. Here is a security deployment map of Tencent!
云主机性能测试方案
[matrix multiplication] external matrix multiplication
随机推荐
【计网】(三)超网、路由、NAT协议
MySQL series article 4: execution plan
[MCU simulation project] external interrupts 0 and 1 control diodes through different triggering methods respectively
Bigder:37/100 一个误操作
【HMS core】【FAQ】【Account Kit】典型问题集2
请求消息详解(请求头、get、post、请求体)
Graduation thesis on production line balance optimization [Flexsim simulation]
C#静态类和静态类成员
[FPGA tutorial case 35] communication case 5 - 16QAM modulation signal generation based on FPGA, and its constellation is tested by MATLAB
Stack / heap / queue question brushing (Part 1)
Critical path implementation
备战攻防演练,这里有一张腾讯安全重保布防图!
MySQL约束
Instruction arrangement problem
MySQL JDBC programming
flink sql 可以查询 clickhouse 吗
Misc进阶
Overview of nftfi track layout
SQL language (foundation 1)
Take CRM system as an example to explain data analysis (importance introduction and analysis method)