alias cget='curl -LOR --insecure' cget https://foo.bar.com/file.tar.xz
wget like cURL
Use curl like wget:
PostgreSQL CSV Like Output
Use
-t
(--tuples-only
), -A
(--no-align
) and -F
(--field-separator
) to generate CSV like output, e.g.:psql postgres -tAF, -c'select name, abbrev from pg_timezone_names'
Colors in grep
Enable color output for grep using an environment variable or on demand:
export GREP_OPTIONS='--color=auto' grep --color=auto foo bar
Screen Ultimate Attach
Screen Quick Reference: Attaches to a screen session. If the session is attached elsewhere, detaches that other display. If no session exists, creates one. If multiple sessions exist, uses the first one:
screen -dRR
Subscribe to:
Posts (Atom)