How to find a file or a folder through SSH

wpspeedster

Well-known member
Registered
Joined
May 6, 2016
Messages
120
Points
18
Hi,

Could someone help me find a file or a folder in Linux when using SSH please?

Thank in advance.
 

LJSHost

Well-known member
Hosting Provider
Registered
Joined
Jul 5, 2016
Messages
1,031
Points
63
Few ways of doing this

1. Locate command
This is this easiest why of finding files but it uses a databases which much be updated with
Code:
 updatedb
Code:
 Locate filename
2. Using the find command
This is the most powerful way of finding files, the find command will allow you to search in every way possible

Code:
 find / -name filename
This is very simple example, the find command is very powerful and do anything including deleting, copying and truncating files.
 
Older Threads
Replies
8
Views
10,407
Replies
6
Views
6,645
Replies
8
Views
4,805
Newer Threads
Replies
25
Views
15,089
Replies
20
Views
10,094
Replies
2
Views
4,772
Latest Threads
Replies
0
Views
56
Replies
1
Views
811
Replies
1
Views
649
Replies
0
Views
275
Recommended Threads
Replies
1
Views
3,793
Replies
7
Views
3,406
Replies
5
Views
5,819

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top