-
Notifications
You must be signed in to change notification settings - Fork 0
/
clipboard.txt
19 lines (17 loc) · 1.09 KB
/
clipboard.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# info about active wifi connection
nmcli con show --active | grep wifi | awk '{print $1, $3, $4}'
# to display errors and more serious messages (-p3)
journalctl -p3 -o cat -n 15 --no-pager
# -p, --priority=
# Filter output by message priorities or priority ranges. Takes
# either a single numeric or textual log level (i.e. between
# 0/"emerg" and 7/"debug"), or a range of numeric/text log levels in
# the form FROM..TO. The log levels are the usual syslog log levels
# as documented in syslog(3), i.e. "emerg" (0), "alert" (1),
# "crit" (2), "err" (3), "warning" (4), "notice" (5), "info" (6),
# "debug" (7). If a single log level is specified, all messages with
# this log level or a lower (hence more important) log level are
# shown. If a range is specified, all messages within the range are
# shown, including both the start and the end value of the range.
# This will add "PRIORITY=" matches for the specified priorities.
TAG=$(date "+%Y-%m-%d--%H-%M") && git tag $TAG && git push origin $TAG