1 2 3 4 5 6 7 8
#!/bin/bash echo -n "$1" | nohup >/dev/null 2>&1 xclip if [[ $1 =~ http://(www.)?youtube.com/* ]]; then chromium "$1" else firefox "$1" fi