목록2021/01 (32)
변군이글루

테라폼(Terraform) 설치 $ yum install -y yum-utils $ yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo $ yum -y install terraform $ terraform -version Terraform v0.14.5 $ terraform -help $ terraform -help Usage: terraform [global options] [args] The available commands for execution are listed below. The primary workflow commands are given first, followed by less comm..

tput 명령어 원본URL : http://linuxcommand.org/lc3_adv_tput.php Linux Command Line Adventure: tput Previous | Contents | Next tput While our command line environment is certainly powerful, it can be be somewhat lacking when it comes to visual appeal. Our terminals cannot create the rich environment of the graphical user interface, but it doesn't mean we linuxcommand.org

bash colors 스크립트 편집 $ vim z.sh #!/bin/bash color_reset=$(tput sgr0) color_red=$(tput setaf 1) color_blue=$(tput setaf 4) echo "${color_red}sangchul.kr${color_reset}" echo "${color_blue}sangchul.kr${color_reset}" 스크립트 실행 결과 tput 명령어 사용 $ echo "블로거 `tput setaf 1`sangchul.kr`tput sgr0`." bash 프로파일에 등록하여 컬러 사용하기 $ vim .bashrc $ vim .bashrc RED="\033[0;31m" PINK="\033[1;31m" YELLOW="\033[1;33m" GREEN..

리눅스 패스워드 변경 스크립트 스크립트 다운로드 $ git clone https://github.com/anti1346/password-change.git pwch 스크립트 실행 $ cd pwch $ ./pwch.sh user1 user2 anti1346/password-change password change script. Contribute to anti1346/password-change development by creating an account on GitHub. github.com