Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- httpd 2.2.32
- CentOS
- mod_unique_id
- httpd-autoindex.conf
- Mod_Security 룰 셋
- PHP 5.2 .ini
- Node.js 소스 설치
- epel repository
- Node.js apache 연동
- python 3.X 소스 설치
- gcc update
- python 3.5.10
- vimrc 옵션
- httpd-vhosts.conf
- httpd-dav.conf
- MySQL
- httpd-info.conf
- Repository
- node.js
- PHP 5.2.17 .ini
- jQuery
- vim color scheme
- httpd-default.conf
- MySQL 5.1.41
- CentOS 6
- apache 연동
- unique_id
- httpd.conf
- httpd-mpm.conf
- CentOS 6.10
Archives
- Today
- Total
목록더블 엔퍼센트 (1)
곰시기's
[Linux] CentOS 13. 명령어의 사용 ( 세미콜론( ; ), 파이프 ( | ), 더블 엔퍼센트 ( && ), 더블 버티컬바 ( || ) )
1. 세미콜론 ( ; ) - 하나의 명령이 끝났음을 나타냄 - 한 줄에서 여러 명령을 사용하고 싶을 때 사용 - 첫 명령이 실패해도, 두 번째 명령이 실행됨 ex) # head -3 test.txt; tail -3 test.txt 2. 파이프 ( | ) - 두 개의 프로세스를 이어주는 통로를 의미 => 앞에서 실행한 명령어의 결과를 뒤에 실행하는 명령의 입력값으로 던져줌 ex) # head -3 test.txt | grep 1 3. 더블 엔퍼센트 ( && ) - 세미콜론과 비슷하지만 첫 번째 명령이 실패하면 두 번째 명령은 실행되지 않음 4. 더블 버티컬 바 ( || ) - 첫 명령이 실패해도, 두 번째 명령이 실행됨
Sever/Linux Command
2020. 11. 2. 12:21