dir or not

Document Sample
dir or not Powered By Docstoc
					echo "enter a directory path" read a

if [ -d $a ] then ls $a else echo "$a not a directory" fi out put: enter a directory path temp
one two [10A91A05A3@Linux temp]$ ./prog6.sh enter a directory path neelima neelima
not a directory

				
DOCUMENT INFO
Shared By:
Tags:
Stats:
views:2
posted:9/22/2013
language:
pages:1