LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Something strange in the terminal (https://www.linuxquestions.org/questions/linux-general-1/something-strange-in-the-terminal-311860/)

LinuxPadawan 04-10-2005 09:58 PM

Something strange in the terminal
 
There is something strange in the terminal. It seems that it just waits a split second and comes back with the same prompt. when I tryed installing a program I typed:

[user@localhost My documents]$ su –c”./RealPlayer10GOLD.bin”

I press enter and it shows this again.

[user@localhost My documents]$

Why?

nadroj 04-10-2005 10:17 PM

what does -c do? have you tried doing this without -c and without the quotes?
Code:

su ./RealPlayer10GOLD.bin
what is the output from the following command:
Code:

ls /pathToParentFolder/RealPlayer10GOLD.bin

camelrider 04-11-2005 07:40 AM

I think the quotes are because the filename contains a space.

reddazz 04-11-2005 07:47 AM

Re: Something strange in the terminal
 
Quote:

Originally posted by LinuxPadawan
There is something strange in the terminal. It seems that it just waits a split second and comes back with the same prompt. when I tryed installing a program I typed:

[user@localhost My documents]$ su –c”./RealPlayer10GOLD.bin”

I press enter and it shows this again.

[user@localhost My documents]$

Why?

Your command is almost right, you just need to put a space between "c" and the first quotation mark. eg

Code:

$su -c "./RealPlayer10GOLD.bin"


All times are GMT -5. The time now is 06:06 PM.