---
title: "How to find where a file is stored in Linux?"  
description: "How to find where a file is stored in Linux?"  
author: "Mukul Goenka"  
published: 2022-04-15  
canonical: https://answers.mindstick.com/qa/96834/how-to-find-where-a-file-is-stored-in-linux  
category: "troubleshooting"  
tags: ["troubleshooting", "linux"]  
reading_time: 1 minute  

---

# How to find where a file is stored in Linux?

How to find where a [file](https://www.mindstick.com/articles/59/encrypting-and-decrypting-files-using-c-sharp) is [stored](https://www.mindstick.com/interview/644/where-is-the-output-of-explain-stored) in [Linux](https://www.mindstick.com/blog/11489/linux-os)?

## Answers

### Answer by Hitesh Vohra

![How to find where a file is stored in Linux?](https://answers.mindstick.com/questionanswer/7acd317c-527a-435f-9693-8b363e163b5a/images/93452397-1142-48c2-8869-9e0f410435d2.jpeg)\

- You can use the **'find'** command to look for files for which you have a rough idea of the filenames. The simplest version of the command looks for files that meet the specified search parameters in the current directory and its subdirectories. You can look for files based on their name, owner, group, type, rights, date, and other attributes.
- At the prompt, type the following command to get a list of all files in the current directory.
- find .
- Use the -name argument to identify files that match a certain pattern. Filename metacharacters (such as *) can be used, but they must either be preceded by an escape character () or enclosed in quotes.
- find . -name pro\*
- The find command gives a variety of options for narrowing down your search. In a Terminal window, type man find and click Enter to learn more about the find command.

\

**Read More: [How to copy files to a Floppy Disk safely?](https://answers.mindstick.com/qa/96840/how-to-copy-files-to-a-floppy-disk-safely)**


---

Original Source: https://answers.mindstick.com/qa/96834/how-to-find-where-a-file-is-stored-in-linux

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
