If you have read the monotonous color of the white text and black background in the command line, is there an impulse to change it? This change is not a remote login using a virtual terminal, that is to say, it is not to modify the font color of putty, secure CRT, xmanager, secure ssh shell, and other software.
Modify/etc/issue and/etc/issue.net
^ [[1; 31 m + ------------- + ^ [0 m
^ [[1; 32 m + ^ [0 m ^ [1; 33mwww. ^ [[0 m ^ [1; 34mlinuxom ^ [0 m ^ [[1; 35m.com ^ [[0 m ^ [1; 36 m + ^ [0 m
^ [[1; 37 m + ------------- + ^ [0 m
If it is displayed after logon, modify/etc/motd
^ [[1; 31 m + ------------- + ^ [0 m
^ [[1; 32 m + ^ [0 m ^ [1; 33mwww. ^ [[0 m ^ [1; 34mlinuxom ^ [0 m ^ [[1; 35m.com ^ [[0 m ^ [1; 36 m + ^ [0 m
^ [[1; 37 m + ------------- + ^ [0 m
Modify the color of the PS1 environment variable in ~ /. Add bashrc, and then source ~ /. Bashrc
\ [\ E [0; 33m \] [\ u @ \ h \ W] \ $ \ [\ e [m \]
Modify the font color of a command line
Setterm-foreground green-background black-store
Enjoy it ~