Question: Write your own pwd, use a text file, any pseudo loop, and ONLY command line commands to generate a piece of text that tells the
Write your own pwd, use a text file, any pseudo loop, and ONLY command line commands to generate a piece of text that tells the user where they are, starting from the root: /user/myname/somedir/anotherdir/hereweare
You should be aware of how to distinguish the root from another directory using inodes.
You do not need to use the inode data structure for this, you should use only command line commands
Answer using cmd
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
