Visit Jeremy's Blog.
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!


Closed Thread
  Search this Thread
Old 08-17-2005, 08:51 PM   #1
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
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
Registered: Aug 2005
Posts: 39

Rep: Reputation: 15
command "mv" i guess its short for move..
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
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
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.

Closed Thread

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
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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:45 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
Open Source Consulting | Domain Registration