Тёмный

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

Chris Kanich
Подписаться 9 тыс.
Просмотров 46 тыс.
50% 1

Опубликовано:

 

16 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 31   
@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 5 месяцев назад
Im joining now😂😂 How was your journey?
@almehedi818
@almehedi818 5 месяцев назад
@@6srer learned a lot. Worth watching.
@davidsun9026
@davidsun9026 2 года назад
Thank you for posting these vids. Been a great help in my self education
@aboalesaad
@aboalesaad Год назад
such a seemless & to the point explanation. Thanks : )
@PrashantSharma-ql4yb
@PrashantSharma-ql4yb 2 года назад
Awesome explanation, thank you!!
@entropy7571
@entropy7571 3 года назад
You're an awesome teacher
@chetansoni8620
@chetansoni8620 3 года назад
Thanks... I learn something new today
@AmolGautam
@AmolGautam 3 месяца назад
thanks for this.
@ashupar84
@ashupar84 3 года назад
Hi there, the lecture/study material is good.
@abdulrahmanmasri8767
@abdulrahmanmasri8767 3 года назад
Thanks a lot for your explanation
@rotrose7531
@rotrose7531 3 года назад
Great great explanation
@josiaskas
@josiaskas 2 года назад
Thanks that was super clear
@tengjiang8922
@tengjiang8922 Месяц назад
Great lecture! I'm wondering why is spawning subprocesses for ulimit and wc here?
@karem_darwesh
@karem_darwesh Год назад
What a king
@Elywely
@Elywely 3 года назад
Is there a way to get these assignments and the rest of the lectures? Im really interested in this topic.
@pranavsingh1081
@pranavsingh1081 2 года назад
very helpful
@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
@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?
@kennethcarvalho3684
@kennethcarvalho3684 14 дней назад
Is v-node the same as i-node
@volovodov
@volovodov Месяц назад
> Talks about Linux > Is on Windows mfw
@aboalesaad
@aboalesaad Год назад
Could anyone find these slides?
@gaborm4767
@gaborm4767 2 года назад
What is 361?
@inoplanetyanya
@inoplanetyanya 3 года назад
Меня укачало
@mcpietrooficial
@mcpietrooficial 2 года назад
Girlirntn
@michalski9141
@michalski9141 2 года назад
I don't trust this man, guess why
@tahakerroumi4116
@tahakerroumi4116 11 дней назад
why?
Далее
"Everything is a file" in UNIX
11:14
Просмотров 45 тыс.
How would you react?!😳
00:44
Просмотров 3,4 млн
World’s Tallest Man VS Shortest Woman!
15:07
Просмотров 18 млн
Linux File System/Structure Explained!
15:59
Просмотров 4,1 млн
xv6 Kernel-35: File Descriptors and Open Files
29:30
Просмотров 4,1 тыс.
Redirecting standard output in C
15:39
Просмотров 91 тыс.
#6 - Understanding File Descriptor in Bash
12:33
Просмотров 6 тыс.
How does an OS boot? //Source Dive// 001
50:22
Просмотров 413 тыс.
Unix system calls (1/2)
45:16
Просмотров 432 тыс.
How Does Linux Boot Process Work?
4:44
Просмотров 633 тыс.
Signals. I spent 2 years to understand this part.
21:24
Why you should Close Your Files | bin 0x02
8:11
Просмотров 320 тыс.
File Descriptors Explained
9:57
Просмотров 73 тыс.