maparus Posted April 13, 2006 Report Share Posted April 13, 2006 I'm practicing using the terminal for basic commands. So far I can make a file (mkdir) change to another file (cd), display whats in the file (ls), remove files (rm), and remove folders (rmdir) But for the life of me I can't move a file. Here is what I do with the results. Can someone please correct my command? I named the file test. Try mv _help got me even more confused [maparus@localhost Desktop]$ su Password: [root@localhost Desktop]# mv test/home/maparus/Documents mv: missing file argument Try `mv --help' for more information. [root@localhost Desktop]# Many thanks maparus Quote Link to comment Share on other sites More sharing options...
tyme Posted April 13, 2006 Report Share Posted April 13, 2006 to move a file you need both a source and destination, i.e.: mv /home/mark/test.txt /home/mark/Various/ will move test.txt from /home/mark to /home/mark/Various whenever you have questions about a command the first step is to man it, i.e.: man mv Quote Link to comment Share on other sites More sharing options...
maparus Posted April 13, 2006 Author Report Share Posted April 13, 2006 Got it Thank you so much Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.