Question: unix shell programming Write a program called home5. Write a program called home that takes the name of a user as its single argument and
unix shell programming
Write a program called home5. Write a program called home that takes the name of a user as its single argument and prints that user’s home directory. So home steve would print /users/ steve if /users/ steve is steve’s home directory.
[this is what I submitted but I need to submit an executable program instead]
grep ^$1$ /etc/passwd | cut -d: -f6
Step by Step Solution
There are 3 Steps involved in it
To create an executable program called home5 that takes a users name as an argument and prints the ... View full answer
Get step-by-step solutions from verified subject matter experts
