the command line belongs to long gone days: when computers were controlled by typing mystical commands into a black window; when the mouse possessed no power. But for many use cases, the command line is still absolutely indispensable!
Our cheat sheet not only features the most important commands.
CLI cheat sheet
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Re: CLI cheat sheet
Love this. It's the first thing in any ~/.bashrc if I have anything to say about it.Old Ruler wrote:Ex FreeBSD junkies particularly may like to set a couple of lines in ~/.inputrc or ~/.bashrc to get backwards and forwards history search on up and down arrow keys
Code: Select all
iatest=$(expr index "$-" i)
if [[ $iatest > 0 ]]; then bind '"\e[A": history-search-backward'; fi
if [[ $iatest > 0 ]]; then bind '"\e[B": history-search-forward'; fi
Re: CLI cheat sheet
I've been asking questions about the CLI in the Newbie section and just wanted to say thanks a lot for this. I'm busy memorizing some of these commands I have come across as they will be useful.
Re: CLI cheat sheet
You might find this simple lil program I wrote a lil while back useful: https://github.com/terminalforlife/lsbins It shows all of the available executables (commands, basically) in your PATH. Very useful.
I recommend installing it and optionally keeping it updated with insit, by first installing insit:
Then at any time installing lsbins with it:
Or to update lsbins after it's been installed (if updates are available):
See the following command to see more programs I've written, in-case anything else could be useful to you:
I recommend installing it and optionally keeping it updated with insit, by first installing insit:
Code: Select all
sudo wget -q https://raw.githubusercontent.com/terminalforlife/installit/master/insit -O /usr/bin/insit && sudo chmod +x /usr/bin/insit
Code: Select all
sudo insit lsbins
Code: Select all
sudo insit -U lsbins
Code: Select all
insit -A
I'm also Terminalforlife on GitHub.