-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revise README, XDG_DATA_HOME, compact text-processing code
- Loading branch information
Oliver Webb
committed
Jul 26, 2024
1 parent
f1b78f0
commit 76a64b4
Showing
2 changed files
with
54 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,53 @@ | ||
cheat - Print useful info about a command | ||
cheat - show use cases of a command | ||
--- | ||
- Install cheat | ||
|
||
git clone https://www.github.com/oliverkwebb/cheat && ./cheat/cheat -u | ||
cheat is a POSIX shell script designed to replicate [cheat.sh][2] in a | ||
offline manner. | ||
|
||
--- | ||
How to... | ||
- Install cheat | ||
``` | ||
git clone https://www.github.com/oliverkwebb/cheat && ./cheat/cheat -u | ||
``` | ||
- Update page database for cheat | ||
|
||
cheat -u | ||
|
||
- Show use cases of `rsync`, Using "less -RF", from all sources | ||
|
||
cheat rsync | ||
|
||
- Show guide on learning `awk` | ||
|
||
cheat learn-awk | ||
|
||
- Show page on `cpio` from source tldr | ||
|
||
cheat -d tldr cpio | ||
|
||
``` | ||
cheat -u | ||
``` | ||
- Show use cases of `rsync` | ||
``` | ||
cheat rsync | ||
``` | ||
- View guide on learning `awk` | ||
``` | ||
cheat learn-awk | ||
``` | ||
- Open page on `cpio` from source tldr | ||
``` | ||
cheat -d tldr cpio | ||
``` | ||
- Print use cases of `cut` to stdout, colorized | ||
|
||
cheat -c cut | ||
|
||
- Print use cases of `tar` uncolorized | ||
|
||
cheat -tc tar | ||
|
||
``` | ||
cheat -c cut | ||
``` | ||
- Print use cases of `tar`, uncolorized | ||
``` | ||
cheat -tc tar | ||
``` | ||
--- | ||
See Also:\ | ||
[Bash Oneliner][1]\ | ||
[cheat.sh][2] | ||
Page Sources: (These account for 96.6% of the pages on cheat.sh)\ | ||
[Learn X in Y Minutes][3]\ | ||
[tldr][4]\ | ||
[cheat.sheets][5]\ | ||
[cheat][6] | ||
[1]: https://onceupon.github.io/Bash-Oneliner/ | ||
[2]: https://github.com/chubin/cheat.sh | ||
[3]: https://learnxinyminutes.com/ | ||
[4]: https://tldr.sh | ||
[5]: https://github.com/chubin/cheat.sheets | ||
[6]: https://github.com/cheat/cheat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters