LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   what goes on inside OS when we type df in shell. (https://www.linuxquestions.org/questions/linux-kernel-70/what-goes-on-inside-os-when-we-type-df-in-shell-732630/)

rajeshkahara 06-13-2009 12:45 AM

what goes on inside OS when we type df in shell.
 
Hi all,

I was interviewed with a question - What all steps happen when you run a command in shell. Lets say #df <- enter.

Can someone please point me to some link having in-depth explanation about this please. I would like to know about system calls, open, load and closing files, a generic sequence infact.

Thanks a lot in advance :).

-Rajesh.

unSpawn 06-14-2009 07:58 AM

How about doing a wee bit research yourself? You could start with strace -v /bin/bash -c 'strace -v /bin/df' or 'strace -v /bin/df' and take it from there?


All times are GMT -5. The time now is 07:37 AM.