How Do I Search for a Specific Folder in Linux?
Contents

To find files that match a specific pattern, use the -name argument. You can use filename metacharacters (such as * ), but you should either put an escape character ( ) in front of each of them or enclose them in quotes. All files in the current directory starting with “pro” are listed.

How do I find a specific directory in Unix?

You need to use the find command on a Linux or Unix-like system to search through directories for files.
…
Syntax

  1. -name file-name – Search for given file-name. …
  2. -iname file-name – Like -name, but the match is case insensitive. …
  3. -user userName – The file’s owner is userName.

How do I go to a specific folder?

If you need to go to a specific folder from this drive run the command “CD Folder.” The subfolders must be separated by a backslash character: “.” For instance, when you need to access the System32 folder located in “C:Windows,” type “cd windowssystem32” as shown below, and then press Enter on your keyboard.

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest