Course: Working with the Command Line and WP-CLI
When we think about “using a computer,” we usually think in terms of graphical user interfaces, or GUIs: interfaces (like Microsoft Word, the Mac OS, or the WordPress admin interface) that are specially and attractively designed, that have programs and windows and tabs that visibly open and close, and that let you click things and drag things and drop things and hover things.
We’ve written a number of recent articles about how to do various things on the Unix command line. The highlight articles are:
Mastering the Unix Terminal: Working With Permissions, Networking, and Other Key Concepts
Last time we covered Unix commands, we talked about how you can move around the filesystem from the command line. These ideas are crucial; if you don’t understand the basics of navigating files and folders from the terminal, there’s not a lot you can do on the command line. If you’ve not mastered that, start with this on file-manipulation from the command line.
The Basics of Manipulating Files from the Command Line
This week’s quick guide is a further practical exploration of the filesystem navigation of our most recent episode. In this one, our goal is instead the crude creation and manipulations of files within that filesystem. We cover a lot of stuff, but seeing someone doing this stuff with your own eyes if often the best way to really get a handle on it. The video:
10-ish Unix CLI File Commands Every WordPress Developer Should Know
Two weeks ago, we published a conceptual primer on the command line for WordPress developers who’ve never used it and never thought of using it. That article didn’t really touch on any of the nitty-gritty of using the command line, though. And the heart of deftly using the command line is really down to having sufficient knowledge of a bunch of different commands that you can use.
Navigating the Filesystem from the Command Line
This week’s Quick Guide isn’t specifically about WordPress. Instead, it’s a very brief primer on getting comfortable with the command line by navigating the filesystem on my Mac. As this week’s article explaining the core things you need to understand about the command line highlighted, a Mac is a Unix-like system as is Linux. This means that the commands this Quick Guide highlights are equally appropriate for your WordPress server, which has about a 98% chance of being some Linux variant.