Recovery of .bash files of users

# Recovery of .bash files of users
-----------------------------------
# Create one user
useradd user1;passwd user1

# Each user including superuser is having following .bash files in their home   directories
.bash_history
.bash_logout
.bash_profile
.bashrc

# In case of loss of these files, we can copy these files from /etc/skel/
cp -rf /etc/skel/.bash* /home/user1/  

Comments

Popular Posts

Install and configure rsyslog Centralized logging server in CentOS

How to fix postfix/smtp Network is unreachable error

Could not join realm: Necessary packages are not installed: sssd-tools sssd libnss-sss libpam-sss adcli