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 03-25-2011, 09:57 AM   #1
LQ Newbie
Registered: Jan 2009
Posts: 7

Rep: Reputation: 0
Red face how to move content of folder moving to public_html ?

hello friends,

i want to move all files inside the folder moving to folder public_html

which command i should use ? m using centos5 64bit

please tell me full command which i should writer in ssh my all files will be moved to public_html...from moving folder..
Old 03-25-2011, 12:43 PM   #2
Registered: Jul 2010
Location: California, USA
Distribution: Debian.
Posts: 35

Rep: Reputation: 1
mv * /home/username/public_html

Is that what you mean?
Old 03-25-2011, 12:48 PM   #3
LQ Newbie
Registered: Jan 2009
Posts: 7

Original Poster
Rep: Reputation: 0
i solve it... mv moving/* /home/username/public_html

then also thanx for reply
Old 03-25-2011, 12:49 PM   #4
LQ Newbie
Registered: Mar 2011
Posts: 1

Rep: Reputation: 0
Yes i'm need to know very much the same.. i have a setup a public_html/staging/ folder where my new website is located. Now i need to copy all the files and folders from public_html/staging/ to public_html/ via SSH

I think..! SSH to /public_html/staging/ the command may be...?

cp -R * ../
Old 03-25-2011, 12:59 PM   #5
LQ Newbie
Registered: Jan 2009
Posts: 7

Original Poster
Rep: Reputation: 0
use command

first get to directory stagin by typing cd staging

then mv staging/* /home/username/public_html

plz correct me if m wrong...


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
[SOLVED] [APPENDED]Real moving of a folder's content to another folder. MODYSAMA Linux - Newbie 10 02-08-2011 12:30 AM
No access rights to delete or move files after re-install and moving from user folder sonicboy Ubuntu 5 01-18-2010 04:28 AM
How to mount a folder to public_html zardari7 Linux - Newbie 1 07-01-2009 09:42 PM
reading contents of a folder and moving that content mrobertson Programming 0 02-17-2006 09:14 AM
/Public_html Folder....what is it? ZingSter SUSE / openSUSE 3 10-21-2004 06:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:03 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