Tips & tricks

Things I always forget ;)

Switch stderr with stdout:

((command | tee stdout.txt ) 3>&1 1>&2 2>&3 | tee stderr.txt)

Print all networks from some autonomous system:

whois -K -T route -i origin ASnumber
  • Bookmark and Share

Leave a Reply

Your email address will not be published. Required fields are marked *


nine × = 54

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>