|about 2 months ago||over 4 years ago|
|MIT License||Apache License 2.0|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
GitHub - onceupon/Bash-Oneliner: A collection of handy Bash One-Liners and terminal tricks for data processing and Linux system maintenance.
2 projects | /r/bash | 2 Jan 2023
You forgot/accidentally dropped the actual link to your collection.2 projects | /r/bash | 2 Jan 2023
I Deleted 7TB of Videos Before Going to Production
2 projects | news.ycombinator.com | 5 May 2022
Ctrl + x + Ctrl + e : launch editor defined by $EDITOR to input your command. Useful for multi-line commands.
I have tested this on windows with a MINGW64 bash, it works similarly to how `git commit` works; by creating a new temporary file and detecting* when you close the editor.
* Actually I have no idea how this works; does bash wait for the child process to stop? does it do some posix filesystem magic to detect when the file is "free"? I can't really see other ways
Bash-Oneliner: A collection of handy Bash One-Liners and terminal tricks
In case there is no space at all, sort will complain if the /tmp directory is on the same fs, then the only option is to search any suspect directories with du -sm $dir
And about this one: https://github.com/onceupon/Bash-Oneliner#using-ctrl-keys
A bit surprised that the Ctrl+b(ack one...) and Ctrl+f(orward one char) shortcuts are not included.
As well as their Alt+b/f for a word back/forward too. Very convenient for going through a long command by getting in the beginning or the end of the line, then move words back/forth to update it.
FLiP Stack Weekly for 13-Feb-2023
10 projects | dev.to | 13 Feb 2023
new user trying to learn what am i doing wrong?
2 projects | /r/bash | 9 Nov 2022
Production pipelines are tested in production
2 projects | /r/devops | 20 Sep 2022
For shell specifically, ShellCheck and Shfmt are great.
- Bash-Oneliner: A collection of handy Bash One-Liners and terminal tricks
Ask HN: Let's Build CheckStyle for Bash?
15 projects | news.ycombinator.com | 20 Feb 2022
- sh: https://github.com/mvdan/sh
Autofix missing spaces for test operators in bash
2 projects | /r/vim | 1 Nov 2021
I guess what you're asking is to automatically format on save. There's https://github.com/mvdan/sh, which between other things, is a shell formatter. I don't know what you're using but shfmt is available in the repos of some linux distros.
24 projects | news.ycombinator.com | 20 Oct 2021
Code formatter, linters, etc. Recommendations?
4 projects | /r/bash | 29 Sep 2021
There is shellcheck, and shellharden which is a strict version of it. There are similar stuff here, some that also help with your editor. You can also use a docker version of shfmt. See here for a quick tutorial on shfmt.
What are some alternatives?
ShellCheck - ShellCheck, a static analysis tool for shell scripts
shellharden - The corrective bash syntax highlighter
neoformat - :sparkles: A (Neo)vim plugin for formatting code.
bash-timestamping-sqlite - bash commandline timestamping using a sqlite database for personal analytics, activity logging and auditing
volta - Volta: JS Toolchains as Code. ⚡
zplug - :hibiscus: A next-generation plugin manager for zsh
zsh-autosuggestions - Fish-like autosuggestions for zsh
zsh-syntax-highlighting - Fish shell like syntax highlighting for Zsh.
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
bash-language-server - A language server for Bash
fish-shell - The user-friendly command line shell.
Bash-Checkstyle - CI tool to verify some degree of Google Style Guide for Bash compliance.