Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-08-2012
Registered User
 
Join Date: Jun 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question No Such file or directory

ok this shell thing is brand new to me. I managed to log into my website ,but that is as far as I have got.

Do I have to generate a key or something to access the files on my website?

I can't even get into public_html

I just get: No such file or directory.
Sponsored Links
    #2  
Old 06-09-2012
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
 
Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 3,296
Thanks: 27
Thanked 452 Times in 352 Posts
hmmm...

Sorry to be so blunt, but you seem to lack even the basic knowledge necessary. It is impossible to teach someone completely in the usage of a Unix(oid) system over the net. It is simply too much work to compress the, say, 400 pages of a good beginners book into one or even a few articles. I suggest you get such a book (have a look in our FAQ, we have a list of book recomendations).

Having said this: i don't know what you mean by "public_html". If it is a directory you see over the net, like when you type


Code:
http://your.webserver.com/public_html

it is not clear where it is. Web servers (apache, for instance) use some "starting directory", which is declared in their configuration file and display paths over the net relative to this starting point. Have a look in this configuration file. Where it is located and what its name is depends on the web server you use and how it is installed. As you didn't tell us anything about your system we can't tell you where to look for in turn.

If you are sure it is named "public_html" then do a search for this directory by issuing the following command:


Code:
find / -type d -name "public_html" -ls 2>/dev/null

Be prepared to have to wait a bit because this searches the whole disk, which might take a while (1-2 minutes maybe).

To find out more about the find -command you might want to read this thread and consult the man page of "find" ("man find") afterwards.

I hope this helps.

bakunin
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Grepping file names, comparing them to a directory of files, and moving them into a new directory sHockz Shell Programming and Scripting 1 02-02-2012 01:53 AM
Script which removes files from the first directory if there is a file in the second directory SLAMUL Shell Programming and Scripting 6 10-26-2011 08:12 PM
Move the latest or older File from one directory to another Directory pp_ayyanar Shell Programming and Scripting 1 03-24-2010 03:22 PM
Move a file from windows directory to unix directory kingpeejay Shell Programming and Scripting 1 06-19-2009 01:31 PM
Copying one file at a time from one directory to another directory. Nikhilindurkar UNIX for Dummies Questions & Answers 1 09-01-2008 09:25 AM



All times are GMT -4. The time now is 05:53 PM.