No video

What's behind a file descriptor in Linux? Also, i/o redirection with dup2.

  Рет қаралды 45,209

Chris Kanich

Chris Kanich

Күн бұрын

Пікірлер: 29
@thaianle4623
@thaianle4623 3 жыл бұрын
I like your teaching style, super detailed with hand-on example
@devmahad
@devmahad Жыл бұрын
For my own reference: File descriptor is a int that store the id of file, so that we can access that later. This is store in a vnode table, that we can access using ulimit -a command. Now, we can use the output of one program, from standard input and send it to standard output. Or we can do vice versa.
@midhunrajr372
@midhunrajr372 3 жыл бұрын
Very productive 20 mins. This video deserves more views than 1K.
@almehedi818
@almehedi818 3 жыл бұрын
May Allah bless you, I've been thinking about doing some system programming for a while now. Thanks to you, I think I'm motivated enough to jump in. I hope you will publish more videos like this in near future :) Thank you
@6srer
@6srer 4 ай бұрын
Im joining now😂😂 How was your journey?
@almehedi818
@almehedi818 4 ай бұрын
@@6srer learned a lot. Worth watching.
@aboalesaad
@aboalesaad 11 ай бұрын
such a seemless & to the point explanation. Thanks : )
@davidsun9026
@davidsun9026 2 жыл бұрын
Thank you for posting these vids. Been a great help in my self education
@AmolGautam
@AmolGautam 2 ай бұрын
thanks for this.
@Elywely
@Elywely 3 жыл бұрын
Is there a way to get these assignments and the rest of the lectures? Im really interested in this topic.
@chetansoni8620
@chetansoni8620 3 жыл бұрын
Thanks... I learn something new today
@ashupar84
@ashupar84 3 жыл бұрын
Hi there, the lecture/study material is good.
@PrashantSharma-ql4yb
@PrashantSharma-ql4yb 2 жыл бұрын
Awesome explanation, thank you!!
@tengjiang8922
@tengjiang8922 Ай бұрын
Great lecture! I'm wondering why is spawning subprocesses for ulimit and wc here?
@abdulrahmanmasri8767
@abdulrahmanmasri8767 3 жыл бұрын
Thanks a lot for your explanation
@entropy7571
@entropy7571 3 жыл бұрын
You're an awesome teacher
@karem_darwesh
@karem_darwesh Жыл бұрын
What a king
@rotrose7531
@rotrose7531 3 жыл бұрын
Great great explanation
@josiaskas
@josiaskas 2 жыл бұрын
Thanks that was super clear
@prashantpathak3175
@prashantpathak3175 2 жыл бұрын
@Chris Thanks for this video. I need a help, So, I want to see the output of a running process (a .sh script with echo statement). When I went inside the /proc//fd, and run tail -f 1, no output were seen, then I tried ls -l, I see file discriptor is linked to pipe :[XXXXXX]. Not sure what it means? And how I can see the output of fd 1 of this process
@pranavsingh1081
@pranavsingh1081 2 жыл бұрын
very helpful
@edgarcalochcampos1930
@edgarcalochcampos1930 3 жыл бұрын
great!
@dawnwatching6382
@dawnwatching6382 2 жыл бұрын
But if you spawn a process on the output side of the pipe, what if it tries to read before the process on the input side of the pipe finishes? I assume it waits until there's something to read?
@aboalesaad
@aboalesaad 11 ай бұрын
Could anyone find these slides?
@gaborm4767
@gaborm4767 2 жыл бұрын
What is 361?
@inoplanetyanya
@inoplanetyanya 3 жыл бұрын
Меня укачало
@volovodov
@volovodov 15 күн бұрын
> Talks about Linux > Is on Windows mfw
@mcpietrooficial
@mcpietrooficial 2 жыл бұрын
Girlirntn
@michalski9141
@michalski9141 2 жыл бұрын
I don't trust this man, guess why
"Everything is a file" in UNIX
11:14
Stevie Jay
Рет қаралды 45 М.
Unveiling my winning secret to defeating Maxim!😎| Free Fire Official
00:14
Garena Free Fire Global
Рет қаралды 10 МЛН
طردت النملة من المنزل😡 ماذا فعل؟🥲
00:25
Cool Tool SHORTS Arabic
Рет қаралды 22 МЛН
7 Days Stranded In A Cave
17:59
MrBeast
Рет қаралды 95 МЛН
王子原来是假正经#艾莎
00:39
在逃的公主
Рет қаралды 14 МЛН
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4,1 МЛН
Redirecting standard output in C
15:39
CodeVault
Рет қаралды 90 М.
Why you should Close Your Files | bin 0x02
8:11
PwnFunction
Рет қаралды 320 М.
The Linux socket API explained
15:21
Chris Kanich
Рет қаралды 35 М.
#6 - Understanding File Descriptor in Bash
12:33
Execute Automation
Рет қаралды 5 М.
Unix system calls (1/2)
45:16
Brian Will
Рет қаралды 431 М.
The Tragedy of systemd
47:18
linux.conf.au
Рет қаралды 1,1 МЛН
Sending and Handling Signals in C (kill, signal, sigaction)
5:52
Jacob Sorber
Рет қаралды 186 М.
Creator of git, Linus Torvalds Presents the Fundamentals of git
1:10:15
Developers Alliance
Рет қаралды 82 М.
Unveiling my winning secret to defeating Maxim!😎| Free Fire Official
00:14
Garena Free Fire Global
Рет қаралды 10 МЛН