티스토리 뷰
반응형
Quoting Introduce
Many characters have 'special' meaning to the shell :
white space, carriage return, $, #, *, < >
Quoting removes the special meaning of the special characters:
eg) rm='rm -i', MYNAME="YO HAN"
Quoting - back slash (\)
$ color=red\ white\ and blue
sh: blue: not found.
$ color=red\ white\ and\ blue
$ echo $color
red white and blue
$ echo one two \ //carriage return
>
one two
Quoting - ' , Removes the special meaning of all characters surrounded by the single quotes
$ color='red white and blue'
$ echo 'the value of \$color is $color'
the value of \$color is $color
Quoting - " , Removes the special meaning of all characters surrounded by double quotes except \, $variable name, $(cmd), and "
$ echo "the value of \$color is $color"
the value of $color is red white and blue
end of book1
* man sh-posix //필요한 것들은 참조를 하자
반응형
'IoT 과정' 카테고리의 다른 글
HPUX - Pipes (0) | 2017.06.22 |
---|---|
HPUX - Input and Output Redirection (0) | 2017.06.22 |
HPUX - File Name Generation (0) | 2017.06.21 |
HPUX - Shell Advanced Features (0) | 2017.06.21 |
HPUX - Shell Basic (0) | 2017.06.21 |
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 아레나
- 백준
- beginning javascript
- flutter
- paul wilton
- 아레나시뮬레이션
- 최단경로 알고리즘
- 자바스크립트 예제
- rosen
- Arena
- 자바스크립트
- 시뮬레이션
- 항해99
- 가상 면접 사례로 배우는 대규모 시스템 설계 기초
- 대규모 시스템 설계 기초
- Discrete Mathematics
- javascript
- 이산 수학
- 데이터 중심 애플리케이션 설계
- 로젠
- 아레나 시뮬레이션
- arena simulation
- Simulation
- 엄청난 인내심과 시뮬레이션을 위한 아레나 툴
- grafana cloud
- Propositional and Predicate Logic
- 명제논리
- Grafana
- 그라파나
- 이산수학
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함