petits-scripts-persos/ddg

9 lines
229 B
Plaintext
Raw Normal View History

2022-07-04 14:31:50 +00:00
#!/bin/sh
if [ "$#" -eq 0 ] ; then
echo "WARNING! All your communication will bypass VPN and firewall!"
su no-fw -c 'lynx http://detectportal.firefox.com'
else
lynx "https://duckduckgo.com/?q=$(join_by '+' $@ )&t=ffab"
fi