mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 10:45:05 +01:00
Merge branch 'master' of https://github.com/Aayush-Kasurde/cheat into Aayush-Kasurde-master
* 'master' of https://github.com/Aayush-Kasurde/cheat: Added perforce commands Added udisksctl Added Journalctl commands Added zoneadm commands
This commit is contained in:
commit
cd465ef84f
@ -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
|
5
cheat/cheatsheets/p4
Normal file
5
cheat/cheatsheets/p4
Normal file
@ -0,0 +1,5 @@
|
||||
# Print details related to Client and server configuration
|
||||
p4 info
|
||||
|
||||
# Open a file and add it to depot
|
||||
p4 add <filename>
|
11
cheat/cheatsheets/udisksctl
Normal file
11
cheat/cheatsheets/udisksctl
Normal file
@ -0,0 +1,11 @@
|
||||
# Get info about block device
|
||||
udisksctl info -b <block_device>
|
||||
|
||||
# Mounting device
|
||||
udisksctl mount --block-device <block_device>
|
||||
|
||||
# Unmounting device
|
||||
udisksctl unmount --block-device <block_device>
|
||||
|
||||
# Get help
|
||||
udisksctl help
|
22
cheat/cheatsheets/zoneadm
Normal file
22
cheat/cheatsheets/zoneadm
Normal file
@ -0,0 +1,22 @@
|
||||
# Halt zone
|
||||
zoneadm -z <zone_name> halt
|
||||
|
||||
# Delete Zone
|
||||
zoneadm -z <zone_name> halt
|
||||
zoneadm -z <zone_name> uninstall
|
||||
|
||||
# Verify Zone
|
||||
zoneadm -z <zone_name> verify
|
||||
|
||||
# Installing Zone
|
||||
zoneadm -z <zone_name> install
|
||||
|
||||
# Boot Zone
|
||||
zoneadm -z <zone_name> boot
|
||||
|
||||
# Reboot Zone
|
||||
zoneadm -z <zone_name> reboot
|
||||
|
||||
# List Zones
|
||||
zoneadm list -cv
|
||||
|
Loading…
Reference in New Issue
Block a user