Where is /usr?

thirdstringer

Verified User
Joined
Feb 8, 2015
Messages
5
I have no clue where this is, and I feel like it this is a really dumb question but I have spent some hours looking and trying to do searches at this forum, to no avail.

Searching for '/usr' or 'where is usr' brings dozens of results that are technically over my head, or not relevant to what I am looking for.

I don't really need a detailed explanation, just a nudge in the right direction would be greatly appreciated, I am willing to do some legwork on my own if I have to.

For broader context, I have open 21 and 2121 ports, and some normally unfriendly people were kind enough to point that out to me. Along with this helpful advice came the implication that, were they were sufficiently bored, they would amuse themselves with these open ports, in ways that I would rather not imagine. Brute force, indeed.

My attempts to find /usr are the first steps on a long quest to guard my forum's virtue.
 
Hello,

How do you access your sever? (s)FTP? Or SSH? You can access /usr only via SSH are root (super user). Run this in a console:

Code:
cd /usr

you will be inside /usr directory.
 
Hi,

Just in case if you enter into such situation again, try using locate command to find it. If locate command is not installed you can install it from below command:

For debian based OS use: apt-get install mlocate
For Redhat based OS use: yum install mlocate

after you have installed the above, use command "updatedb" that will build the search DB for locate and then you can use locate <string to fine>

eg., locate usr will output all you want.
 
Yes, that is going to give you all the result where the word usr is being found. This is just a basic idea of what can be done to find it. You can narrow down your search with specific criteria. like using " locate '/usr' " Alternative way is to use command named "find".
 
Back
Top