LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Simple console question. Moving files. (https://www.linuxquestions.org/questions/linux-newbie-8/simple-console-question-moving-files-354393/)

The_Messiah 08-17-2005 08:51 PM

Simple console question. Moving files.
 
Hey guys, long time since I've been playing with my linux long enough to come up with a question, but anyway...

What is the command to move files to a different dir?

Simple question that has slipped my mind since I havn't been spending much time on here.

Thanks in advance.


P.s. Sorry for posting this in the wrong forum (General)

bosewicht 08-17-2005 09:01 PM

mv /<old location>/<file name> /<new location>/<filename> keep an eye on permissions though

czon 08-17-2005 09:05 PM

command "mv" i guess its short for move..
Example:
Code:

mv test  /home/
moves file "test" to /home


oh bosewicht was first

Tinkster 08-17-2005 11:51 PM

Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

http://www.linuxquestions.org/questi...hreadid=354389


All times are GMT -5. The time now is 08:20 PM.