On Sun, Mar 25, 2012 at 10:02 PM, Bharath Kumar
<[email protected]> wrote:

> #!/bin/bash
> echo -e "Input the file that you want to search: c"
> read input
> find ~ -name ${input}

Use $"input" instead of ${input}

> echo -e "Input the file that you want: c" // Comments : I will copy the file 
> with the full name that I want
>                                           //to find out what type of file it 
> is

Also, the inline commenting method is wrong. In bash, you use # for commenting.

> read input1
> file ${input1}| cut -d: -f 2
>
>
> Thanks,
> Bharathkumar A.V.
> _______________________________________________
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc



-- 
With Regards,
Mehul Ved
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to