LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Blogs > Mountaineer
User Name
Password

Notices



Rate this Entry

Command line mystery

Posted 11-04-2011 at 08:38 PM by Mountaineer

In Ubuntu 11.04, I copied an mp3 file to mu home folder and then tried to use the terminal to move it to /Music. Didn't work. Trial and error may help. I used to know DOS pretty well, but this is elusive.
Posted in Uncategorized
Views 3825 Comments 1
« Prev     Main     Next »
Total Comments 1

Comments

  1. Old Comment
    It might also help to post the command used and what it said when it didn't work.

    However, I'm guessing that the problem is that you don't have a 'Music' folder at the top of the root file system. IIRC Ubuntu comes with a 'Music' folder in your home directory, i.e. /home/Mountaineer/Music, or ~/Music for short (when logged in as Mountaineer). Or even $HOME/Music.
    In Unix-like systems, users normally only have write access to their own home directories, which is probably why "mv music.mp3 /Music" [sic] didn't work. Edit: To refer to the current directory, use "./", though it's seldom necessary unless you are running an executable. e.g.
    Code:
    mountaineer@computer:~/Music$ ./randomscript.sh
    I found these sites helpful:
    http://tldp.org/LDP/Bash-Beginners-G...tml/index.html
    http://ss64.com/bash/
    Posted 11-05-2011 at 05:48 PM by ewqdsacxz ewqdsacxz is offline
    Updated 11-05-2011 at 06:01 PM by ewqdsacxz (Forgot something)
 

  



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

Main Menu
Advertisement

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration