티스토리 뷰
용어
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
- docker mssql
- nuxt3 structure
- unmounted composable
- vue 타이머 해제
- docker mssql 이미지 생성
- Oracle Database 19c install
- docker mssql create database
- nuxt3 프로젝트 설정
- dockerignore
- vue 이벤트 해제
- vue 리팩토링
- unplugin-auto-import
- vue onunmounted
- nuxt3 eslint prettier 설정
- 티스토리챌린지
- 오블완
- docker image 경량화
- vue watch 문제점
- unmounted document.addlistener
- oracle 19c 설치
- docker multi stage build
- nuxt3 quasar 설정
- 스파르타 코딩클럽
- Oracle Database 19C 설치
- vue watch 위험성
- vue watch 대체
- vue unmounted
- 외래키 삭제
- unmounted setinterval
- 스마트피싱보호_캠페인
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함