mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-04 21:44:00 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/linux/paclock
Normal file
29
tldr/linux/paclock
Normal 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`
|
||||
Reference in New Issue
Block a user