openurl.sh 288 B

123456789101112131415161718
  1. #!/bin/sh
  2. # opening URLs into your favorite web browser
  3. # feel free to tweak this to your needs
  4. if [ x`which firefox` != x ]
  5. then
  6. firefox "$1"
  7. elif [ x`which mozilla` != x ]
  8. then
  9. mozilla "$1"
  10. elif [ x`which opera` != x ]
  11. then
  12. opera "$1"
  13. else
  14. xterm -e lynx "$1"
  15. fi