Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-13-2012, 07:05 PM   #1
LQ Newbie
Registered: Oct 2012
Posts: 2

Rep: Reputation: Disabled
Help me with correct command in (Terminal)

Respectful Members,

i am using a terminal as.............root@ubuntu

i want to copy a folder from..........user@ubuntu

on single same computer
Old 10-13-2012, 07:09 PM   #2
Senior Member
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 12.04/14.04, Scientific Linux 6.3/6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,799

Rep: Reputation: 157Reputation: 157
You don't need to do it as a root login.

By default you should have either su and/or sudo available. So, open your terminal as the user,... escalate your authority to the root user, and issue a cp command from the start location to the destination location;

sudo cp /home/userdirectory/file.ext /root/


su root
cp /home/userdirectory/file.ext /root/
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I resize the terminal window from the command line in the gnome terminal QuIcKSpArK Linux - Newbie 5 04-21-2012 03:04 PM
Regular backup by date. Please correct me the command Bullz3y3 Linux - Server 4 03-10-2012 12:23 PM
usermod command,is it correct? cola Linux - Newbie 7 06-02-2010 06:17 AM
[SOLVED] Make linux terminal transparent with terminal command? yooy Linux - Newbie 1 05-11-2010 04:24 AM
Correct Command, anyone? tomplate Linux - General 3 02-26-2002 09:39 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration