We help IT Professionals succeed at work.
Get Started

Clarifying a simple telnet/ssh script

Rowby Goren
Rowby Goren asked
Last Modified: 2012-06-22

I don't do shh much :).   Today I got some instructions to do a command to adjust permissions.  Below is their instructions, with some key directories changed for obvious  privacy and security reasons.

Here is how you can reset the ownership of files created by apache, so you can delete them.

ssh to the server and

$ sudo blahblah-bananas.sh <path>

where <path> will be:

/www/foobar/docroot/oranges OR, (for everything)

This script makes EVERY file writeable by both human and machine 

Open in new window

When I telnet/ssh in I see a screen that already starts with the $ sign. (Specifically

[rowby@foobar ~]$ 

Open in new window

 Do I repeat that $ sign?

And do I put a space before the /www/foobar/docroot/oranges OR

In other words, can someone give me the EXACT command, including the path, to type into the dialog box in order to get it to work.

I hope I have given you enough info!

Watch Question
This problem has been solved!
Unlock 1 Answer and 10 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE