These are user space programs, which shell runs, when we write a command on shell prompt. Shell itself is a program, when we write a command at shell prompt, it looks for the executable (command name) in its defined path ($PATH environment variable of shell). If it is able to find the executable, shell forks (creates) a child process and executes the executable in that process and put itself on sleep till the time child process exits or is not killed. Once the child process (command) exits, shell wakes up and returns the shell prompt to user. You can find most of the command executable (which shell searches) in following directories /usr/sbin /usr/bin /bin /sbin All the command executables are user space programs, which call library functions and library function further calls system call to talk to kernel. Regards, Gaurav. -----Original Message----- From: kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of Lei Yang Sent: Sunday, July 25, 2004 11:33 PM To: kernelnewbies@xxxxxxxxxxxx Subject: Scripts in Kernel Hello, I am new to kernel and have a very basic question here. Where are the scripts such as "man", "ls", "ps", "losetup" etc. in kernel source tree? Or, are they in kernel source at all? This is kind of bothering me these days... Thanks for your hint! Lei -- 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/