Move a Local File from Desktop to root dir via ssh...

Discussion in 'Mac Apps and Mac App Store' started by pmsquillace, Jun 8, 2010.

  1. pmsquillace macrumors newbie

    Jun 8, 2010
    Hello All:

    I am trying to install a file that I downloaded that is on my desktop to the root directory of a server.

    So far, I am not having any luck with this because I cannot seem to figure out how to tell my imac to move this file from my desktop to where I am logged in.

    So far I have done this, which is what I thought was the way to go.

    mv /Users/paulsquillace/Desktop/sitemap_linux-x86_64-beta1-20091231.tar.gz /usr/sbin/httpd/

    Any help or advice would be great,

  2. pmsquillace thread starter macrumors newbie

    Jun 8, 2010
  3. Middling macrumors regular

    Jan 25, 2009
    You would need to use:

    sudo mv /Users/paulsquillace/Desktop/sitemap_linux-x86_64-beta1-20091231.tar.gz /usr/sbin/httpd/

    you need to be logged in to a user with Admin privileges and then enter that user's password at the prompt. Except that /usr/sbin/httpd isn't a directory, it's the Apache binary.

    The root directory for Apache on OS X appears to be /Library/WebServer/Documents/ (according to /etc/apache2/httpd.conf).

Share This Page