Skip to content

Instantly share code, notes, and snippets.

@RushOnline
Last active May 21, 2018 10:41
Show Gist options
  • Save RushOnline/8f8760cdbffec3d78ef8afcef0c91c8b to your computer and use it in GitHub Desktop.
Save RushOnline/8f8760cdbffec3d78ef8afcef0c91c8b to your computer and use it in GitHub Desktop.
set comfortable dmesg args as defaults
#!/bin/sh
#
# put this file as /usr/local/bin/dmesg and make executable
#
if [ -n "$@" ]; then
/bin/dmesg $@
else
/bin/dmesg -ukxTw
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment