Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
Old 13th January 2010, 05:48 PM
bookman Offline
Registered User
Join Date: Nov 2009
Posts: 30
vlc broken by redirect

Hi, I seem to have lost vlc. It was working ok til I tried the following from http://www.tuxfiles.org/linuxhelp/iodirection.html.

"Like I told you before, files aren't the only places where you can redirect the standard output. You can redirect it to devices, too:
$ cat sound.wav > /dev/audio

As you saw, in the above example the cat command concatenates a file named sound.wav and the results are sent to a device called /dev/audio. What's the fun here, then? /dev/audio is the audio device, and when you send there the contents of a sound file, that file is played. So if your sound is properly configured, the above command plays the file sound.wav!"

I thought that if I sent a music file to vlc in this way, vlc would play it. So I did cat song.mp3 > /usr/bin/vlc. At this point vlc stopped working. I looked in /usr/bin and found that vlc had been turned into a music file! So I erased it, and removed it via yum. Success. Then I reinstalled via yum; success. But the messages now are: from terminal:

[chris@localhost bin]$ vlc
bash: vlc: command not found

From gui: Could not launch 'VLC media player' Failed to execute child process "vlc" (No such file or directory).

Any help? Thanks,

Reply With Quote

broken, redirect, vlc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC10 Grub Install Options Broken, chroot broken, dual boot troubles cuban_cigar Using Fedora 1 6th April 2009 10:35 AM
DNS redirect? Kasper-pA- Using Fedora 3 31st October 2007 07:50 PM
redirect url munna_dude Using Fedora 3 15th February 2007 10:07 AM
redirect to URL tariqtariq Servers & Networking 4 3rd August 2005 01:17 PM

Current GMT-time: 08:49 (Friday, 18-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat