Skip to content

Commit 83b5953

Browse files
authored
paclock: add page (#18453)
1 parent ed6f869 commit 83b5953

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

pages/linux/paclock.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# paclock
2+
3+
> Lock/unlock the libalpm database (used by `pacman`) to prevent or allow simultaneous package management operations.
4+
> More information: <https://github.com/andrewgregory/pacutils/blob/master/doc/paclock.pod>.
5+
6+
- Lock the database:
7+
8+
`paclock`
9+
10+
- Write the lock file path to `stdout` (without locking the database):
11+
12+
`paclock --print`
13+
14+
- Unlock the database:
15+
16+
`paclock --unlock`
17+
18+
- Display help:
19+
20+
`paclock --help`
21+
22+
- Display version:
23+
24+
`paclock --version`

0 commit comments

Comments
 (0)