Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/busterc/bashcuts
:shell: Command reveals Bash keyboard shortcuts (cheat sheet)
https://github.com/busterc/bashcuts
bash bash-tricks bash-tutorial keyboard-shortcuts shell
Last synced: 14 days ago
JSON representation
:shell: Command reveals Bash keyboard shortcuts (cheat sheet)
- Host: GitHub
- URL: https://github.com/busterc/bashcuts
- Owner: busterc
- Created: 2014-09-05T16:24:54.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-05T16:25:47.000Z (over 10 years ago)
- Last Synced: 2023-08-06T00:51:48.199Z (over 1 year ago)
- Topics: bash, bash-tricks, bash-tutorial, keyboard-shortcuts, shell
- Language: Shell
- Homepage:
- Size: 102 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bashcuts
Command reveals Bash keyboard shortcuts (cheat sheet)## Version
1.0.0## Usage
```sh
$ bashcuts [option]Options: # if no option is provided all shortcuts are displayed
-h, --help usage information
-m, --moving moving the cursor
-e, --editing editing
-H, --history history
-p, --process process control
```
## Sample Output
```sh
$ bashcuts --moving
__________________Moving the cursor:
__________________Ctrl + a Go to the beginning of the line (Home)
Ctrl + e Go to the End of the line (End)
Ctrl + p Previous command (Up arrow)
Ctrl + n Next command (Down arrow)
Alt + b Back (left) one word
Alt + f Forward (right) one word
Ctrl + f Forward one character
Ctrl + b Backward one character
Ctrl + xx Toggle between the start of line and current cursor position```
## Installation
```sh
$ curl https://raw.githubusercontent.com/busterc/bashcuts/master/install.sh | sh
```
_By all means, examine the [install.sh](install.sh) file before installing._## FYI
* bashcuts assumes that Bash is running the default Emacs key bindings
* You if you want to output all shorcuts, consider using `less` like so: `$ bashcuts | less`## License
The MIT License (MIT)Copyright © 2014 Buster Collings
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.