Here is a text file containing human genetics data:
If you had forgotten where you downloaded the file, how would you locate the path of all files with that name on the computer (using the shell)?
The find command used to find the files.To locate the path of given file we can use the command ,
$ find / -name "1000gp.vcf"
Here the system would search for any file named
1000gp.vcf on the root and all sub-directories from the root.
If we are giving the command,
$ find -name "1000gp.vcf" the system would search for any file named
1000gp.vcf in the current directory and any sub-directory only.