Login
Remember
Register
Ask a Question
How to find where a file is stored in Linux?
0
votes
asked
Nov 11, 2020
in
Linux
by
sharadyadav1986
How to find where a file is stored in Linux?
#linux-file-store
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Nov 11, 2020
by
rahuljain1
How to find where a file is stored in Linux?
You can use the locate command to find the path to the file.
Suppose you want to find the locations of a file name sample.txt, then your command would be:
$ locate sample.txt
...