diff --git a/cheat/cheatsheets/journalctl b/cheat/cheatsheets/journalctl index 6c00e7f..793dd18 100644 --- a/cheat/cheatsheets/journalctl +++ b/cheat/cheatsheets/journalctl @@ -19,3 +19,14 @@ journalctl /usr/bin/dbus-daemon # Filter by PID journalctl _PID=123 +# Filter by Command, e.g., sshd +journalctl _COMM=sshd + +# Filter by Command and time period +journalctl _COMM=crond --since '10:00' --until '11:00' + +# List all available boots +journalctl --list-boots + +# Filter by specific User ID e.g., user id 1000 +journalctl _UID=1000 \ No newline at end of file diff --git a/cheat/cheatsheets/p4 b/cheat/cheatsheets/p4 new file mode 100644 index 0000000..0ec6a25 --- /dev/null +++ b/cheat/cheatsheets/p4 @@ -0,0 +1,5 @@ +# Print details related to Client and server configuration +p4 info + +# Open a file and add it to depot +p4 add \ No newline at end of file diff --git a/cheat/cheatsheets/udisksctl b/cheat/cheatsheets/udisksctl new file mode 100644 index 0000000..2cd929b --- /dev/null +++ b/cheat/cheatsheets/udisksctl @@ -0,0 +1,11 @@ +# Get info about block device +udisksctl info -b + +# Mounting device +udisksctl mount --block-device + +# Unmounting device +udisksctl unmount --block-device + +# Get help +udisksctl help diff --git a/cheat/cheatsheets/zoneadm b/cheat/cheatsheets/zoneadm new file mode 100644 index 0000000..b33fbfb --- /dev/null +++ b/cheat/cheatsheets/zoneadm @@ -0,0 +1,22 @@ +# Halt zone +zoneadm -z halt + +# Delete Zone +zoneadm -z halt +zoneadm -z uninstall + +# Verify Zone +zoneadm -z verify + +# Installing Zone +zoneadm -z install + +# Boot Zone +zoneadm -z boot + +# Reboot Zone +zoneadm -z reboot + +# List Zones +zoneadm list -cv +