CLI cheat sheet

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
phedup
Level 1
Level 1
Posts: 8
Joined: Mon Feb 15, 2016 12:33 pm

Re: CLI cheat sheet

Post by phedup » Tue Feb 16, 2016 11:42 am

In a land without fences, who needs Gates...

DominiqueAlissa
Level 1
Level 1
Posts: 1
Joined: Mon Mar 07, 2016 6:23 am

Re: CLI cheat sheet

Post by DominiqueAlissa » Fri Mar 11, 2016 5:57 am

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.

Habitual
Level 13
Level 13
Posts: 4871
Joined: Sun Nov 21, 2010 8:31 pm
Location: 0.0.0.0

Re: CLI cheat sheet

Post by Habitual » Thu Mar 24, 2016 4:28 pm

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
Love this. It's the first thing in any ~/.bashrc if I have anything to say about it.

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

Spud1200
Level 2
Level 2
Posts: 67
Joined: Thu Mar 10, 2016 10:50 pm

Re: CLI cheat sheet

Post by Spud1200 » Fri Feb 17, 2017 8:31 pm

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.

lovelight
Level 1
Level 1
Posts: 3
Joined: Mon Aug 07, 2017 3:30 pm

Re: CLI cheat sheet

Post by lovelight » Mon Aug 07, 2017 11:48 pm

thank you for all respected members

User avatar
Termy
Level 5
Level 5
Posts: 762
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: CLI cheat sheet

Post by Termy » Mon Jan 22, 2018 11:05 am

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:

Code: Select all

sudo wget -q https://raw.githubusercontent.com/terminalforlife/installit/master/insit -O /usr/bin/insit && sudo chmod +x /usr/bin/insit
Then at any time installing lsbins with it:

Code: Select all

sudo insit lsbins
Or to update lsbins after it's been installed (if updates are available):

Code: Select all

sudo insit -U lsbins
See the following command to see more programs I've written, in-case anything else could be useful to you:

Code: Select all

insit -A
Here to help.

I'm LearnLinux (LL) on YouTube: https://www.youtube.com/channel/UCfp-lN ... naEE6NtDSg
I'm also terminalforlife (TFL) on GitHub: https://github.com/terminalforlife

Post Reply

Return to “Tutorials”