Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    fog
    fog is offline
    Member
    Join Date
    Jun 2002
    Posts
    164

    Default How do I find out which domain=which dirs in SSH?

    When I ssh into my server I see a list of package names.. each has the html and cgi-bin dirs inside so I know these each are a domain. I need to know which domain is tied to which dir though so I can know where to extract the content I moved over. Thanks

  2. #2
    fog
    fog is offline
    Member
    Join Date
    Jun 2002
    Posts
    164

    Default

    Please someone help me with this.

  3. #3
    Member
    Join Date
    Oct 2001
    Posts
    651

    Default

    I don't understand what you mean by package names.

    Go to WHM and look at List Accounts. You will get a list of domain names and usernames on the server.

    Go to SSH and:

    cd /home
    ls -l

    You will see a list of directories. Each directory is a useraccount and is named the same as the username for each domain.
    Marty Hoskins
    TLC Web Enterprises

  4. #4
    fog
    fog is offline
    Member
    Join Date
    Jun 2002
    Posts
    164

    Default

    Thanks

Similar Threads & Tags
Similar threads

  1. Can not find users home dirs/sql in WHM Backup
    By vizzit in forum Data Protection
    Replies: 3
    Last Post: 04-29-2010, 12:09 AM
  2. How to find out if SSH is enabled?
    By mberchtold in forum cPanel Developers
    Replies: 4
    Last Post: 04-03-2009, 06:43 AM
  3. Find and replace via SSH
    By marquis_ce in forum New User Questions
    Replies: 1
    Last Post: 04-21-2008, 12:53 PM
  4. Password protect dirs + symlink dirs
    By abronier in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-15-2007, 08:00 AM
  5. Where i can find ssh access log
    By xphost in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-02-2003, 06:32 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube