OS/Server > Unix/Linux공통

clear 명령어를 찾을 수 없다. (기본 적인 것들)

 

default

yum -y install sudo ncurses procps iproute net-tools

clear 명령어

yum -y install ncurses

ps 명령어

yum -y install procps

sudo 명령어

yum -y install sudo

ip 명령어

yum -y install iproute

ifconfg 명령어

yum -y install net-tools

timedatectl 명령어 (docker 사용못함)

yum -y install systemd

한국시간설정
# ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime

ll 명령어사용

ⓐ 별칭-터미널내
    alias ll='ls -l'
ⓑ 영구사용 (사용자 홈)
    ~/.bashrc 또는 ~/.bash_profile 파일에 추가
    alias ll='ls -l'
    적용 : source ~/.bashrc
ⓒ 영구사용 (모든 사용자 홈)
    # vi /etc/bashrc 파일에 추가
    alias ll='ls -l'
    적용 : source /etc/bashrc