Update cheatsheets

This commit is contained in:
ivuorinen
2025-02-20 00:17:47 +00:00
parent aaa40ec53d
commit e6b267c26e
2 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
- Run an SQL script: - Run an SQL script:
`duckdb -c ".read {{path/to/script.sql}}"` `duckdb -f {{path/to/script.sql}}`
- Run query on database file and keep the interactive shell open: - Run query on database file and keep the interactive shell open:

View File

@@ -21,7 +21,7 @@ source: https://github.com/tldr-pages/tldr.git
`sudo pacman -Syu --noconfirm {{package}}` `sudo pacman -Syu --noconfirm {{package}}`
- Search ([s]) the package database for a regular expression or keyword: - [s]earch the package database for a regular expression or keyword:
`pacman -Ss "{{search_pattern}}"` `pacman -Ss "{{search_pattern}}"`
@@ -37,6 +37,6 @@ source: https://github.com/tldr-pages/tldr.git
`sudo pacman -Sc` `sudo pacman -Sc`
- Specify the package version you want to install: - Specify the package version that should be installed:
`sudo pacman -S {{package}}={{version}}` `sudo pacman -S {{package}}={{version}}`