ram music files

Chris Rees utisoft at googlemail.com
Sat May 24 14:40:01 UTC 2008


> My commands in the Terminal are as follows:
>
> ragweed at ragweed-den:~$ sudo chmod +x realplayer11GOLD.bin[sudo] password for ragweed:
> chmod: cannot access `realplayer11GOLD.bin': No such file or directory
> ragweed at ragweed-den:~$ sudo chmod +x realplayer11GOLD.bin.tar.gz
> chmod: cannot access `realplayer11GOLD.bin.tar.gz': No such file or directory
> ragweed at ragweed-den:~$ cd /home/ragweed/Desktop/
> ragweed at ragweed-den:~/Desktop$ sudo chmod +x RealPlayer11GOLD.bin.tar.gz
> ragweed at ragweed-den:~/Desktop$ sudo RealPlayer11GOLD.bin.tar.gz
> sudo: RealPlayer11GOLD.bin.tar.gz: command not found
> ragweed at ragweed-den:~/Desktop$ sudo apt-get install pulse-utils
> E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
> E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
> ragweed at ragweed-den:~/Desktop$ padsp realplay
> exec: 88: realplay: not found
> ragweed at ragweed-den:~/Desktop$
>
> The file is "RealPlayer11GOLD.bin.tar.gz" as well as "RealPlayer11GOLD.bin" on my desktop, as I'm sure you can see.  Also,
> I'd tried both using command both ways.  Neither works.
>
> To be honest, I, as with many, learn far better by doing it from simple but precise directives, rather than from text with so
> many variables, as with the page you suggested.
>
> What changes should I make in my commands to get this to work?

This is a difference between *NIX and DOS; the current directory is
not searched for binaries etc, for security reasons; you don't want a
random file called 'ls' executed if it's in the current directory.

You need to put ./ in front of your commands;

ragweed at ragweed-den:~/Desktop$ sudo ./RealPlayer11GOLD.bin.tar.gz

Should work :)

Don't put . in your path though, it's a Bad Idea.
-- 
One of the main causes of the fall of the Roman Empire was that,
lacking zero, they had no way to indicate successful termination of
their C Programs. (Robert Firth)

R< $&h ! > $- ! $+	$@ $2 < @ $1 .UUCP. > (sendmail.cf)




More information about the ubuntu-users mailing list