Just use strace.
So use strace cp file1 file2 and strace cat file2.
It will tell you the system calls those programs are making.
Regards,
Can
On Mar 3, 2005, at 11:22 PM, cranium2003 wrote:
hello,
I want to know when i give command like
cp file1 file2 or cat file2
how they does that with respect to kernel
source code which function in kernel they call to
accomplish their tasks?
regards,
cranium
__________________________________
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/