Bash color modification and configuration in AIX

Source: Internet
Author: User


The default ksh in AIX is hard to use and inefficient. Therefore, bash is installed and color display is configured, which makes it much easier to use. The steps are as follows: 1 To ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/ download bash and coreutils 2 rpm install bash and coreutils rpm-ivh bash-xxx.rpm coreutils-xx.rpm 3 add bash to the aix system list and modify/etc/security/login. cfg, add "/usr/bin/bash" usw: shells =/bin/sh,/bin/bsh,/bin/csh,/bin/ksh, /bin/tsh,/bin/ksh93,/usr/bin/sh,/usr/bin/bsh,/usr/bin/csh,/usr/bin/ksh, /usr/bin/tsh,/usr/bin/ksh93,/usr/bin/rksh,/usr/bin/rksh93,/usr/sbin/uucp/uucico, /usr/sbin/sliplogin,/usr/sbin/snappd, /usr/bin/bash 4: Change the user's default shell usermod-s/usr/bin/bash username or use smit chuser to change 5. profile file, add export LS_OPTIONS = '-- color = auto'eval' dircolors 'Alias ls ='/usr/linux/bin/ls $ LS_OPTIONS 'alias ll = "ls-l" PS1 =" [\ u @ \ h \ W] \ $ "export PS1 is displayed in color after you log on again and connect with putty, if secureCRT is used,

Click "ANSI color" next to the terminal type, and the author JoeJJ will be OK.

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.