Friday, 12 December 2014

Shell Script to list the contents of a directory

Write a Shell Script to list the contents of a directory

Solution:

echo "Enter the name of the directory"
read d
ls $d

No comments:

Post a Comment