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