Don't use a pipe ( | ), use a semicolon ( ; )
A pipe takes the output of the first command and sends it to the second
command immediately.

Jeremiah E. Bess
Network Ninja, Penguin Geek, Father of four


On Sat, Feb 6, 2010 at 06:57, Vishal Garg <[email protected]> wrote:

> I wish to create a alarm clock using 'sleep' and 'vlc'
>
> what i tried -
>
> sleep 30m | vlc music.mp3 &
>
> but the music file plays immediately?
>
> --
> You received this message because you are subscribed to the Linux Users
> Group.
> To post a message, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit our group at
> http://groups.google.com/group/linuxusersgroup

-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup

Reply via email to