Learn Terminal and CLI

Discover some powerful tips and tricks for using the terminal and other command-line interfaces. Learn the basics and discover productivity-boosting techniques.

All Terminal and CLI content:

  1. The Fundamentals of Bash Scripting

    The Fundamentals of Bash Scripting

    Tutorial Beginner

    Shell scripts are widely used in the UNIX world. They're excellent for speeding up repetitive tasks and simplifying complex execution logic. They can be as...

  2. The Linux Firewall

    The Linux Firewall

    Tutorial Advanced

    There are several firewall applications for Linux, but what you may not realize is that, at the heart of all these programs is a single all-mighty...

  3. Test-Driving Shell Scripts

    Test-Driving Shell Scripts

    Tutorial Advanced

    Writing shell scripts is very much like programming. Some scripts require little time investment; whereas, other complex scripts may require thought,...

  4. Writing a Shell Script From Scratch

    Writing a Shell Script From Scratch

    Tutorial Advanced

    Writing shell scripts can be rather daunting, primarily because the shell isn't the most friendly of languages to use. However, I hope to show you in this...

  5. The Command Line Is Your Best Friend

    The Command Line Is Your Best Friend

    Tutorial Intermediate

    The command line can either be your best friend, or your worst enemy. It simply depends on how you use it, and what you use it for. If you're one of the many...

  6. Quick Tip: Upgrade Your WordPress Site via SSH

    Quick Tip: Upgrade Your WordPress Site via SSH

    Tutorial Beginner

    I have already written about how to install WordPress via the shell. I am taking it further today by showing how you can upgrade it as well using shell...

  7. SSH: What and How

    SSH: What and How

    Tutorial Intermediate

    Many web developers use SSH ("Secure Shell") on a daily basis to manage their servers, back up files, work remotely, and a myriad of other tasks. Today, I'll...

  8. Top 10 Pitfalls When Switching to Vim

    Top 10 Pitfalls When Switching to Vim

    Tutorial Beginner

    Admit it: every time you see a person using Vim, you consider the possibility that they know something you don't. Why else would they be using an editor...

  9. How to Customize Your Command Prompt

    How to Customize Your Command Prompt

    Tutorial Intermediate

    Lately, I've been getting this question a lot: "how did you get your terminal to look the way it does?" If you've noticed my terminal and are curious about...

  10. How to Customize the Command Prompt

    How to Customize the Command Prompt

    Tutorial Intermediate

    I’m a big fan of the terminal: whether you’re leveraging a handful of commands (or more!) to improve your development process, or just using it to quickly...

  11. Vim Essential Plugin: PeepOpen

    Vim Essential Plugin: PeepOpen

    Tutorial Intermediate

    In this episode of our "Vim Essential Plugins" quick tip series, we'll take a look at the only application in our list that isn't free: PeepOpen. But,...

  12. Vim Essential Plugin: NERDTree

    Vim Essential Plugin: NERDTree

    Tutorial Intermediate

    In this episode of Vim Essential Plugins, we'll review the fantastic NERDTree plugin, which is a much improved replacement for the traditional file explorer.