LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Closed Thread
  Search this Thread
Old 08-17-2005, 08:51 PM   #1
The_Messiah
Member
 
Registered: Jan 2004
Distribution: Slackware 10.1
Posts: 119

Rep: Reputation: 15
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)
 
Old 08-17-2005, 09:01 PM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
mv /<old location>/<file name> /<new location>/<filename> keep an eye on permissions though
 
Old 08-17-2005, 09:05 PM   #3
czon
Member
 
Registered: Aug 2005
Posts: 39

Rep: Reputation: 15
command "mv" i guess its short for move..
Example:
Code:
mv test  /home/
moves file "test" to /home


oh bosewicht was first

Last edited by czon; 08-17-2005 at 09:06 PM.
 
Old 08-17-2005, 11:51 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
  


Closed Thread



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
Simple console question. Moving files. The_Messiah Linux - General 1 08-17-2005 08:51 PM
Simple question of console and mc 3-1415 Linux - Software 1 04-05-2005 06:55 AM
.s files - a very simple question (tftp) webamoeba Linux - Newbie 2 11-28-2003 06:39 AM
accessing files & directories - a really simple question hildog Linux - Newbie 6 10-12-2003 06:17 PM
Simple console question FredrikN Linux - General 3 10-21-2002 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:00 AM.

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