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

Поделиться
HTML-код
  • Опубликовано: 18 июн 2024

Комментарии • 27

  • @thaianle4623
    @thaianle4623 3 года назад +6

    I like your teaching style, super detailed with hand-on example

  • @davidsun9026
    @davidsun9026 2 года назад

    Thank you for posting these vids. Been a great help in my self education

  • @midhunrajr372
    @midhunrajr372 3 года назад +2

    Very productive 20 mins. This video deserves more views than 1K.

  • @devmahad
    @devmahad Год назад +5

    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.

  • @PrashantSharma-ql4yb
    @PrashantSharma-ql4yb 2 года назад

    Awesome explanation, thank you!!

  • @chetansoni8620
    @chetansoni8620 3 года назад

    Thanks... I learn something new today

  • @entropy7571
    @entropy7571 2 года назад

    You're an awesome teacher

  • @almehedi818
    @almehedi818 3 года назад +31

    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 2 месяца назад

      Im joining now😂😂
      How was your journey?

    • @almehedi818
      @almehedi818 2 месяца назад +2

      @@6srer learned a lot. Worth watching.

  • @abdulrahmanmasri8767
    @abdulrahmanmasri8767 3 года назад

    Thanks a lot for your explanation

  • @rotrose7531
    @rotrose7531 3 года назад

    Great great explanation

  • @aboalesaad
    @aboalesaad 9 месяцев назад

    such a seemless & to the point explanation.
    Thanks : )

  • @josiaskas
    @josiaskas 2 года назад

    Thanks that was super clear

  • @AmolGautam
    @AmolGautam 15 дней назад

    thanks for this.

  • @ashupar84
    @ashupar84 2 года назад

    Hi there, the lecture/study material is good.

  • @Elywely
    @Elywely 3 года назад +8

    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

  • @karem_darwesh
    @karem_darwesh Год назад

    What a king

  • @edgarcalochcampos1930
    @edgarcalochcampos1930 3 года назад

    great!

  • @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

  • @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?

  • @gaborm4767
    @gaborm4767 2 года назад

    What is 361?

  • @aboalesaad
    @aboalesaad 9 месяцев назад

    Could anyone find these slides?

  • @inoplanetyanya
    @inoplanetyanya 3 года назад +1

    Меня укачало

  • @mcpietrooficial
    @mcpietrooficial Год назад

    Girlirntn

  • @michalski9141
    @michalski9141 2 года назад

    I don't trust this man, guess why