Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

26
tldr/ccache Normal file
View File

@@ -0,0 +1,26 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# ccache
> C/C++ compiler cache.
> Note: packages usually provide symlinks for compilers in `/usr/lib/ccache/bin`. Prepend this directory to `$PATH` to automatically use `ccache` for them.
> More information: <https://ccache.dev/manual/latest.html>.
- Show current cache [s]tatistics:
`ccache --show-stats`
- [C]lear all cache:
`ccache --clear`
- Reset ([z]ero) statistics (but not cache itself):
`ccache --zero-stats`
- Compile C code and cache compiled output (to use `ccache` on all `gcc` invocations, see the note above):
`ccache gcc {{path/to/file.c}}`