unix shell programming Write a program called home5. Write a program called home that takes the name
Fantastic news! We've Found the answer you've been seeking!
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 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
Related Book For
Introduction To Programming In Java An Interdisciplinary Approach
ISBN: 9780672337840
2nd Edition
Authors: Robert Sedgewick, Kevin Wayne
Posted Date: