CLI cheat sheet

Write tutorials here
There are more tutorials here
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
Level 1
Level 1
Posts: 8
Joined: Mon Feb 15, 2016 12:33 pm

Re: CLI cheat sheet

Postby phedup » Tue Feb 16, 2016 11:42 am

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

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

Re: CLI cheat sheet

Postby 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.

Level 13
Level 13
Posts: 4866
Joined: Sun Nov 21, 2010 8:31 pm

Re: CLI cheat sheet

Postby 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

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

Re: CLI cheat sheet

Postby 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.

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

Re: CLI cheat sheet

Postby lovelight » Mon Aug 07, 2017 11:48 pm

thank you for all respected members

Return to “Tutorials”