Personalization modifies the character interface for Linux logins _linux

Source: Internet
Author: User

If you use the root account login edit/ETC/BASHRC content, then all other account login will prompt the same content, if you want each user to configure, then go to each account directory down to configure it.
This provides a personalized display that all accounts can see by changing a file.

Copy Code code as follows:

Vim/etc/bashrc

#在顶部添加以下内容:

C2= "$ (tput bold) $ (tput SETAF 2)"
echo "$c 2 _ _ _ ___"
echo "$c 2 | |               (_)          | | / __)"
echo "$c 2 | | _ _  ____ ____| | _____ _____ _| |__ "
echo "$c 2 | |_/) |/___) ___) | | ___ (____ (_   __)"
echo "$c 2 | _ (|   ( (__( (___| || ____/ ___ | | | "
echo "$c 2 |_|   \_)_|\____)____)\_)_____)_____| |_| "
echo "$ (tput sgr0)"

User logon Effect:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.