mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-03 15:55:16 +00:00
Update cheatsheets
This commit is contained in:
21
tldr/linux/fadvise
Normal file
21
tldr/linux/fadvise
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# fadvise
|
||||
|
||||
> Control Linux file caching behavior.
|
||||
> More information: <https://manned.org/fadvise>.
|
||||
|
||||
- Preload a file into cache:
|
||||
|
||||
`fadvise {{-a|--advice}} willneed {{path/to/file}}`
|
||||
|
||||
- Suggest dropping a file from cache:
|
||||
|
||||
`fadvise {{path/to/file}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`fadvise --help`
|
||||
17
tldr/linux/fincore
Normal file
17
tldr/linux/fincore
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# fincore
|
||||
|
||||
> Display how much cache memory a file is taking.
|
||||
> More information: <https://manned.org/fincore>.
|
||||
|
||||
- Display cache details for a file:
|
||||
|
||||
`fincore {{path/to/file}}`
|
||||
|
||||
- Display all possible data columns:
|
||||
|
||||
`fincore --output-all {{path/to/file}}`
|
||||
37
tldr/linux/fwconsole
Normal file
37
tldr/linux/fwconsole
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# fwconsole
|
||||
|
||||
> Manage and configure your FreePBX system (PBX server).
|
||||
> More information: <https://sangomakb.atlassian.net/wiki/spaces/PG/pages/41779247/fwconsole+commands+13>.
|
||||
|
||||
- Reload FreePBX configurations:
|
||||
|
||||
`fwconsole reload`
|
||||
|
||||
- Start Asterisk and other commands needed by FreePBX:
|
||||
|
||||
`fwconsole start`
|
||||
|
||||
- Stop Asterisk and other commands needed by FreePBX:
|
||||
|
||||
`fwconsole stop`
|
||||
|
||||
- View and update settings:
|
||||
|
||||
`fwconsole setting {{keyword}} {{new_value}}`
|
||||
|
||||
- List available backups:
|
||||
|
||||
`fwconsole backup --list`
|
||||
|
||||
- List available FreePBX commands:
|
||||
|
||||
`fwconsole list`
|
||||
|
||||
- Change ownership of all files and directories that FreePBX needs to be owned by the apache user:
|
||||
|
||||
`fwconsole chown`
|
||||
12
tldr/linux/i386
Normal file
12
tldr/linux/i386
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# i386
|
||||
|
||||
> This command is an alias of `setarch i386`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr setarch`
|
||||
12
tldr/linux/linux32
Normal file
12
tldr/linux/linux32
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# linux32
|
||||
|
||||
> This command is an alias of `setarch linux32`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr setarch`
|
||||
12
tldr/linux/linux64
Normal file
12
tldr/linux/linux64
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# linux64
|
||||
|
||||
> This command is an alias of `setarch linux64`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr setarch`
|
||||
@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>.
|
||||
> More information: <https://manned.org/pacman.8>.
|
||||
|
||||
- Synchronize and update all packages:
|
||||
- [S]ynchronize and update all packages:
|
||||
|
||||
`sudo pacman -Syu`
|
||||
|
||||
@@ -18,23 +18,23 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`sudo pacman -S {{package}}`
|
||||
|
||||
- Remove a package and its dependencies:
|
||||
- [R]emove a package and its dependencies:
|
||||
|
||||
`sudo pacman -Rs {{package}}`
|
||||
|
||||
- Search the database for packages containing a specific file:
|
||||
- Search ([s]) the package database for a regular expression or keyword:
|
||||
|
||||
`pacman -Ss "{{search_pattern}}"`
|
||||
|
||||
- Search the database for packages containing a specific [F]ile:
|
||||
|
||||
`pacman -F "{{file_name}}"`
|
||||
|
||||
- List installed packages and versions:
|
||||
|
||||
`pacman -Q`
|
||||
|
||||
- List only the explicitly installed packages and versions:
|
||||
- List only the [e]xplicitly installed packages and versions:
|
||||
|
||||
`pacman -Qe`
|
||||
|
||||
- List orphan packages (installed as dependencies but not actually required by any package):
|
||||
- List orphan packages (installed as [d]ependencies but not actually required by any package):
|
||||
|
||||
`pacman -Qtdq`
|
||||
|
||||
|
||||
12
tldr/linux/pacman-t
Normal file
12
tldr/linux/pacman-t
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pacman -T
|
||||
|
||||
> This command is an alias of `pacman --deptest`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr pacman deptest`
|
||||
12
tldr/linux/uname26
Normal file
12
tldr/linux/uname26
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# uname26
|
||||
|
||||
> This command is an alias of `setarch uname26`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr setarch`
|
||||
12
tldr/linux/x86_64
Normal file
12
tldr/linux/x86_64
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# x86_64
|
||||
|
||||
> This command is an alias of `setarch x86_64`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr setarch`
|
||||
Reference in New Issue
Block a user