°Ô½Ã¹° 23°Ç
   
[RHEL7] Å͹̳Π»ö±ò ³Ö±â [ ssh / terminel / profile / color ]
±Û¾´ÀÌ : theko ³¯Â¥ : 2018-11-26 (¿ù) 15:42 Á¶È¸ : 3148

=> ¾Æ·¡ ¼³Á¤À»  ¼­¹ö¿¡ ³Ö¾î³ùÀ¸´Ï Âü°íÇϼż­ .profile¿¡ ³Ö¾î ÁÖ¼¼¿ä

   - PRD ¼­¹ö

     export PS1="$(echo '\033[0m')""$(echo '\033[1;31m')"[SANGAM-P]`hostname`::`whoami`::'$PWD'" #""$(echo '\033[0m ')"
   - DEV/STG ¼­¹ö

     export PS1="$(echo '\033[0m')""$(echo '\033[1;35m')"[SANGAM-T]`hostname`::`whoami`::'$PWD'" #""$(echo '\033[0m ')"

   - DR ¼­¹ö

     export PS1="$(echo '\033[0m')""$(echo '\033[1;32m')"[VIRGINIA]`hostname`::`whoami`::'$PWD'" #""$(echo '\033[0;44m ')"


theko 2019-11-26 (È­) 11:04
export PS1="$(echo '\033[0m')""$(echo '\033[1;31m')"[SANGAM-P]`hostname`::`whoami`::'$PWD'"$(echo '\033[0m ')"\\$

ÀÌ·¸°Ô Çϸé user¿¡ µû¶ó $...# ·Î º¯°æµÊ..
À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com