FG

How to find a directory on linux?

Fresh3 days ago
Mar 15, 20261535200 views
Confidence Score1%
1%

Problem

I have a VPS with Suse Linux 10.3. I've logged in via SSH/putty and am trying to find where my web files are located. Since I'm uploading via FTP in a directory called httpdocs, I assume that this directory exists somewhere. My google searches have taught me to do this, go to my root directory and type: but it says "No such file or directory". How can I find this directory?

Error Output

find httpdocs -type d

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to find a directory on linux?

Low Risk

It is: the first parameter "/" is where to look, in this case "/" it's the entire system. -name could be -iname to ignore case also -type is not mandatory use : man find for more options

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment