Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-09 00:19:00 +00:00
parent 52f5647220
commit d4e4abca39
60 changed files with 723 additions and 65 deletions

29
tldr/linux/paclock Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# paclock
> Lock/unlock the libalpm database (used by `pacman`) to prevent or allow simultaneous package management operations.
> More information: <https://github.com/andrewgregory/pacutils/blob/master/doc/paclock.pod>.
- Lock the database:
`paclock`
- Write the lock file path to `stdout` (without locking the database):
`paclock --print`
- Unlock the database:
`paclock --unlock`
- Display help:
`paclock --help`
- Display version:
`paclock --version`