티스토리 뷰
용어
Redirection
output : > (Overwrite), >> (append)
input : <
pipeline : |
예제
echo 'hi' > test.txt
cat test.txt
# hi
echo 'hello' > test.txt
cat test.txxt
# hello
echo 'hi' >> test.txt # append
cat test.txt
# hello
# hi
cat < test.txt # input
# hello
# hi
grep hel test.txt
# hello
grep hel < test.txt # input
# hello
cat test.txt | grep hel # pipline
# hello
cat test.txt | grep hel > test2.txt # pipeline & redirection
cat test2.txt
# hello

'Linux' 카테고리의 다른 글
[Linux] mount 실습 예제 (0) | 2023.01.15 |
---|---|
[Linux] Disk partition 하기 (fdisk) (0) | 2023.01.15 |
[Linux] service vs systemctl 차이, /etc/init.d 용도 (0) | 2022.08.17 |
Linux 화면 보호기 해제 (0) | 2022.07.11 |
Linux 사용자 확인 및 삭제 (0) | 2022.07.11 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 1종 적성검사 과태료
- 1종 적성검사
- vue 타이머 해제
- vue 리팩토링
- Oracle Database 19C 설치
- 강서 운전면허 시험장
- unmounted document.addlistener
- unplugin-auto-import
- dockerignore
- vue watch 문제점
- vue watch 위험성
- vue 이벤트 해제
- vue onunmounted
- rest api 단건 다건
- docker image 경량화
- vue watch 대체
- 외래키 삭제
- 스마트피싱보호_캠페인
- 스파르타 코딩클럽
- 1종 적성검사 신체검사
- unmounted composable
- rest api 조회 생성 수정 삭제
- docker multi stage build
- vue unmounted
- 티스토리챌린지
- 1종 적성검사 국가건강검진
- unmounted setinterval
- Oracle Database 19c install
- 오블완
- oracle 19c 설치
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함