혼자 정리
pipex 관련 찾아본 자료 본문
https://www.gnu.org/software/bash/manual/html_node/Redirections.html
Redirections (Bash Reference Manual)
3.6 Redirections Before a command is executed, its input and output may be redirected using a special notation interpreted by the shell. Redirection allows commands’ file handles to be duplicated, opened, closed, made to refer to different files, and can
www.gnu.org
https://architectophile.tistory.com/10 <- 필요한 내용 많이 있음
[리눅스] 명령 실행 원리 3 : I/O 리다이렉션
[리눅스] 명령 실행 원리 3 : I/O 리다이렉션(Redirection) 1. I/O 리다이렉션 소개 이번 리눅스 명령 실행 원리 포스트에서 마지막으로 다룰 주제는 바로 리다이렉션(redirection) 이다. 앞서 보았던 포스
architectophile.tistory.com
http://www.rozmichelle.com/pipes-forks-dups/ 위 블로그 시리즈 1, 2, 3번 글의 원본
Pipes, Forks, & Dups: Understanding Command Execution and Input/Output Data Flow
I’m currently enrolled in a systems programming class at Stanford (CS110: Principles of Computer Systems). It is the second systems class I’ve taken (the first was CS107 which teaches C…
www.rozmichelle.com
아래 두 명령어는 file을 입력으로 사용해서 cmd에 전달한 결과를 가져옴. (<문자와 리다이렉트할 파일이 한 묶음이라고 생각하면 될듯)
$ cmd < file
$ < file cmd
다음 명령어는 위의 명령어를 입력으로 해서 output이라는 파일에 출력한다(파일이 없는 경우 생성한 후 파일에 내용 기록. 파일이 이미 있다면 파일의 내용을 비우고 기록)
$ < file cmd > output
$ cmd < file > output
wait함수에 대해 공부 -> 부모/자식 프로세스 용어 -> 알아야 할 것 같아서 검색해보다 다음의 블로그 통해 프로세스에 대해 간략히 공부
[리눅스 시스템 프로그래밍] 7. 프로세스 – 언제나 휴일
프로세스는 운영 체제에 의해 현재 실행하고 있는 프로그램입니다. 리눅스 시스템은 여러 개의 프로세스를 동시에 동작할 수 있는 멀티 태스킹을 제공하고 있습니다. 실질적으로는 시간을 잘게
ehpub.co.kr
https://reakwon.tistory.com/45
[리눅스] 프로세스 생성과 특징, 종료 (fork, wait), 예제 코드
프로세스(process) 프로세스는 간단히 말하자면 실행 중인 프로그램을 의미합니다. 아마 여러분들은 컴퓨터를 하면서 아주 빈번하게 듣는 용어이기도 합니다. 실행 중인 프로그램이라?? 컴퓨터에
reakwon.tistory.com
https://www.thegeekstuff.com/2013/07/linux-process-life-cycle/
How Linux Process Life Cycle Works – Parent, Child, and Init Process
How Linux Process Life Cycle Works – Parent, Child, and Init Process by Himanshu Arora on July 2, 2013 A process is nothing but a running instance of a program. It is also defined as a program in action. The concept of a process is fundamental concept of
www.thegeekstuff.com
https://www.tutorialspoint.com/process-vs-parent-process-vs-child-process
Process vs Parent Process vs Child Process
Process vs Parent Process vs Child Process In Operating System, the fork() system call is used by a process to create another process. The process that used the fork() system call is the parent process and process consequently created is known as the child
www.tutorialspoint.com
https://reakwon.tistory.com/104
[리눅스] dup, dup2 설명 및 쉬운 사용법, 사용 예제(그림 포함)
파일 서술자 복제 함수 dup, dup2 함수 이름에서도 알 수 있듯이 무엇을 복제한다는 함수입니다. 무엇을 복제할까요? 바로 파일 서술자(file descriptor)입니다. 함수 이름이 너무 심플하네요. 이 함수
reakwon.tistory.com
https://tldp.org/LDP/lpg/node11.html
6.2.2 Creating Pipes in C
Next: 6.2.3 Pipes the Easy Up: 6.2 Half-duplex UNIX Pipes Previous: 6.2.1 Basic Concepts Creating ``pipelines'' with the C programming language can be a bit more involved than our simple shell example. To create a simple pipe with C, we make use of the pip
tldp.org
Advanced Programming in the UNIX Environment, 3rd Edition
Rago, Stephen A., Stevens, W. Richard
<- 책 강추 필요한 내용은 거의 다 있는 느낌
'42 > pipex' 카테고리의 다른 글
pipex 허용 함수 정리(모르는 것, 필요한 부분 위주로) (0) | 2021.06.16 |
---|---|
UNIX시스템의 프로그램과 프로세스 개괄 (0) | 2021.06.14 |