Linux comes with lots of tools to manage files and folders. For a computer user who shifted from windows to Linux, he might find file management a little daunting. In this article we are going to learn how to find a directory in Ubuntu (A popular distribution of Linux).

Using ‘find’ command

The easiest way to find a directory is using the find command. The general syntax of find command is as following:

“/directory/to/search/in” is the starting directory for the search, options is the criteria for search 

expression is used to find files that match the given expression.


If you want to search a folder for a certain file or directory, we can do it in the following manner.

we have a folder named ‘docs’ in our users home directory. We want to find the ‘notes’ directory present in ‘docs’ directory.

The docs folder contains three more directories; therefore, it can be tedious to search all directories for a certain folder we need. The ‘find’ command can help us here.

We give the starting directory and the name of the directory of file we need to find and the ‘find’

command will provide us with the exact directory location. 

We can also search a file using find command.

If we want to only find directory, we can specify it by using the ‘type’ parameter.

‘-type d ‘ specifies that the ‘find’ command will only return locations of the directories matching the name provided. If a file also has the same name as the directory we are trying to find, 

‘type -d’ will remove that file from the results provided.

If we want to use the root directory as the starting location for the search, we need it to run the command as root user.

If we want detailed info about the results or our search we can use the -ls parameter.

We can also perform a case insensitive search by using the ‘-iname’ parameter instead of ‘-name’. 

By using ‘iname’ the pattern ‘apt’ matches directory names such as ‘Apt’, ‘aPT’, ‘APT’ etc.

Using ‘locate’ command

Linux provides as with another command to search directories. The general syntax of locate command is as follows:

We can use locate to find the ‘notes’ directory as we did before.

The ‘find’ and ‘locate’ commands are the most accessible and easy to use commands. There are also several other third-party utilities available that can be used for searching. This versatility is what makes Linux so popular.

How do I search for a directory in Linux?

See the following examples:
  1. To list all files in the current directory, type the following: ls -a This lists all files, including. dot (.)
  2. To display detailed information, type the following: ls -l chap1 .profile.
  3. To display detailed information about a directory, type the following: ls -d -l .

How do I find my directory?

Click the navigation bar at the top of the screen and delete any text currently in it. Type “%windir%” without quotes into the navigation bar and press “Enter.” This special shortcut will instantly open your Windows directory.

How do I use grep to find a directory?

An easy way to do this is to use find | egrep string . If there are too many hits, then use the -type d flag for find. Run the command at the start of the directory tree you want to search, or you will have to supply the directory as an argument to find as well. Another way to do this is to use ls -laR | egrep ^d .

How do you create a directory?

Creating and Moving Folders in the Command Line
  1. Creating Folders with mkdir. Creating a new directory (or folder) is done using the “mkdir” command (which stands for make directory.)
  2. Renaming Folders with mv. The “mv” command works exactly the same with directories as it does with files.
  3. Moving Folders with mv.

What is a directory within a directory called?

In a hierarchical file system (that is, one in which files and directories are organized in a manner that resembles a tree), a directory contained inside another directory is called a subdirectory.

Does planning center have a church directory?

As of today, you can give your congregation access to a directory in the Church Center mobile app, and on the web. It’s completely free for your church to set up through Planning Center People.

What does Directory mean in history?

Directory, French Directoire, the French Revolutionary government set up by the Constitution of the Year III, which lasted four years, from November 1795 to November 1799.

Can you join an online church?

If your local church hosts an online service of its own, you won’t need to search for a new faith community altogether. Join a large, online church for a widespread sense of community. Online churches are a great option to consider, especially if you‘re looking to invest your time into a faith community.

Is church a online?

The Internet has become a site for religious experience which has raised questions related to ecclesiology, because some Christian traditions insist that an online gathering cannot be considered a church.

Is elevation worship a church?

Elevation Worship is the worship team out of Elevation Church based in Charlotte, North Carolina. Elevation Worship seeks to write songs for those in and outside of the Church – so that people far from God will be raised to life in Christ.

What’s wrong with Elevation Church?

Elevation Church has been criticized over its practice of selecting volunteers who wish to be baptized to do so during so-called “spontaneous baptism” services.

Who is the pastor of Elevation Worship?

Elevation Church pastor Steven Furtick – “Pastor Steven” to his ever-growing flock – launched his Charlotte church in 2006.

Who is the drummer for elevation worship?

Elevation Worship on Twitter: “Meet Dominic Geralds. He’s been playing drums for 7 years. He heard about Elevation Church through a…

What is a worship drummer?

Simply stated, a worship drummer is someone who puts the heart before the beat. As worship drummers, we have a whole other responsibility which is of no bearing in secular music — the heart of a worshiper: We play for an audience of One. We lift the name of Jesus above any/all names (yes, even our band’s name)