/etc/sysconfig/i18n setting the Linux system character set
English: lang= "en_US. UTF-8 "
English: lang= "EN_CN. UTF-8 "
"You should develop the habit of using English."
Set Idle timeout time
Export tmout=10 (timeout is 10 seconds, unit is seconds, so set timeout time, only valid in this time)
Setting the time-out period to be permanently active changes ( global configuration file )
[Email protected] ~]# Vi/etc/profile
/etc/pam.d/login set the user to log in continuously, password is not correct, lock user Time
Auth Required pam_tally2.so deny=3 unlock_time=5 even_deny_root root_unlock_time=10
If you do not restrict the root user, you can write
Auth required pam_tally2.so deny=3 unlock_time=5
Even_deny_root also restricts root users;
Deny sets the maximum number of consecutive error logins for regular users and root users, and the maximum number of times to lock the user;
Unlock_time set the normal user lock, how much time after unlocking, Unit is seconds;
Root_unlock_time set the root user lock, how much time after the unlock, the unit is seconds;
~/.bash_history Command History file
Historical command History
[Email protected] ~]# history
History-c Empty Command history
history-d 5 Delete 5th command history
! 5 Executive Order History 5th
History-a Append the command history to the command history file ~/.bash_history
History-w will write the cache command history to the command history file, overwriting the commands in the original command history file .
Exit exits will write the cache command history to the command history file.
The default cache command history and the size of the command history file can hold 1000 historical commands
Histsize (histsize) Cache command History
Histfilesize (histfilesize) command history file
Sets the history of the cache command to a number of 5 bars
/etc/issue after the boot is complete, the login screen displays the version information
Zhangminghui-linux Common Catalogue-2