Course Solutions Uncategorized (Solved) : Linux Make Shell Handle Relative Paths Assuming Executable File Always Exists Bin Director Q29432262 . . . .

(Solved) : Linux Make Shell Handle Relative Paths Assuming Executable File Always Exists Bin Director Q29432262 . . . .

 

In Linux

Make your shell handle relative paths assuming the executablefile always exists in /bin directory.

Use getenv(“PATH”) to retrieve PATH environment variable and usestrtok() to extract each system path. Display each system path lineby line.

Expert Answer


An answer will be send to you shortly. . . . .

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post