Results 1 to 6 of 6

Thread: How to copy a folder in /root to $Home

  1. #1
    Join Date
    Oct 2012
    Location
    Chicago, Illinois
    Beans
    119

    How to copy a folder in /root to $Home

    Dear Buddies
    Hi
    I have accidentally downloaded a huge file into /root directory that is not accessible for me. Now, I want to move this folder to my home directory. Would u plz help me for the required directive in terminal that does this change? I have changed my access to root by typing
    HTML Code:
    sudo su -
    in terminal.

    my current situation is:

    HTML Code:
    root@combustion:~# ls
    OpenFOAM-2.2.x
    root@combustion:~# pwd
    /root
    root@combustion:~#
    I want to move OpenFOAM-2.2.x to my home directory.


    Regards
    Bobi
    Last edited by babakflame; April 9th, 2013 at 07:41 AM.

  2. #2
    Join Date
    Feb 2013
    Location
    B'ville Alabama
    Beans
    112
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: How to copy a folder in /root to $Home

    Hey, you could try
    Code:
    gksudo nautilus
    I can't test this since my Ubuntu comp is in the bedroom, with my prego gf...and I am to much afraid of waking her
    Cheers!
    Phenom II X4 955 Denab BE OC 3.8mhz | 8gig G.Skill 1600 RAM | Corsair 750 PSU | XFX ATI Radeon HD 5770 x2 | 1TB WD Black HDD Win7 | 160gig WD HDD Ubuntu 13.10
    --Feel like your question has been answered, mark as SOLVED!

  3. #3
    Join Date
    Oct 2012
    Location
    Chicago, Illinois
    Beans
    119

    Re: How to copy a folder in /root to $Home

    Hi ppjdee
    After typing
    HTML Code:
    gksudo nautilus
    then what should I do?

    I am waitingfor ur gf to wake up and get a complete answer

  4. #4
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    7,176
    Distro
    Ubuntu

    Re: How to copy a folder in /root to $Home

    Quote Originally Posted by ppjdee View Post
    Hey, you could try
    Code:
    gksudo nautilus
    I can't test this since my Ubuntu comp is in the bedroom, with my prego gf...and I am to much afraid of waking her
    Yes this will start you out in the /root folder.
    Simply use 'move to' and move it into your home folder.
    Look for the file system menu item and then go to home, then your username folder.

    I say move because there is no need at all to have a copy in the root folder.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  5. #5
    Join Date
    Oct 2012
    Location
    Chicago, Illinois
    Beans
    119

    Re: How to copy a folder in /root to $Home

    Thanks ppjdee and ur gf, also deadflower, I think my probl;em is solved.

  6. #6
    Join Date
    Feb 2013
    Location
    B'ville Alabama
    Beans
    112
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: How to copy a folder in /root to $Home

    I have been ninja'ed by deadflowr
    Cheers!
    Phenom II X4 955 Denab BE OC 3.8mhz | 8gig G.Skill 1600 RAM | Corsair 750 PSU | XFX ATI Radeon HD 5770 x2 | 1TB WD Black HDD Win7 | 160gig WD HDD Ubuntu 13.10
    --Feel like your question has been answered, mark as SOLVED!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •