1 2 3 4 5 6
#!/bin/sh [ -z "$1" ] && exit setsid curl -sL "$1" > "/tmp/$(echo "$1" | sed "s/.*\///")" && nsxiv -a "/tmp/$(echo "$1" | sed "s/.*\///")" >/dev/null 2>&1 &