Reputation: 53
Im currently writing my own shell in C. It isn't anything big. It's only has a few built-in commands like one of my commands is ifc
and would do the same thing as the ifconfig
command on a normal shell. But I want to restrict my shell from being able to call other commands that are not specified in my shell.
For example. I made the ifc
command to replace ifconfig
but ifconfig
is still callable from my shell even though it isn't build in.
Is this possible to do and how would it be done?
Upvotes: 0
Views: 562
Reputation: 9404
Upvotes: 1