this is just small script that I use like command in terminal

Code:
#!/bin/bash
cvlc http://www.youtube.com"$(curl http://www.youtube.com/results?search_query=$*|grep video-long-title-|head -1|awk '{print $3}'|cut -d\" -f2)"
you must have installed vlc
I use that like this:
name the script "yt"
than move it to /bin/
and to watch some video just type in terminal: "yt something"
if you want search for something with spaces, use dots instead of
someone must be noob like me, so I gonna type this little tut ^^
Code:
rename it to "yt"
than make it executable "chmod +x yt"
move it to /bin/ ..you must use sudo "sudo mv yt /bin/"
..I'm new to linux, so don't expect to much
