created by Aha00aAha00a at 2008-08-28
last modified by Aha00aAha00a at 2026-09-05
revision: 68

Linux

Software Source Code Software Application

Free OpenSource OperatingSystem. (Unix-like system)

1. Configuration

1.1. Prompt

~/.bash_profile, ~/.bashrc

export PS1='\e[1;30m\t `if [ \$? = 0 ]; then echo \[\e[1\;32m\]^_^\[\e[0m\]; else echo \[\e[1\;31m\]T_T\[\e[0m\]; fi` !\!\e[1;30m - \e[1;36m\u\e[0;36m@\e[1;34m\h\e[1;30m:\e[1;33m\w\e[1;31m\$ \e[0m'

1.3. Domain Name Server Setting

/etc/bind/와 /var/cache/bind를 적당히 주물러주면 된다.

1.4. 부팅시 데몬 및 기타 서비스 자동으로 실행

/etc/rc.d/rc.local 파일에 실행할 명령을 적어넣는다. 아래는 부팅시 메일을 보내도록 설정한 것이다.

echo `date` | mail -s "System Reboot" whom@where.com

3.1. For Beginner

4. See Also

4.3. Adjacent Pages

≤ 32
all
1.0x
1.0x
80
-120
ON
0/0
0/0
0.00
0
0 / 0
1.00x