Maximum PC

Linux Command-Line Tips & Tricks

THERE’S NO EXCUSE not to school yourself in the ways of Linux command-line operations. Whether you’re accessing the Terminal on your Linux desktop, logged directly into the Bash shell, or intrigued by Windows 10’s support for CLI-based Linux distros, you’ve come to the right place. We’re going to assume you know the basics of Linux’s Bash shell and command language—check out our August 2017 edition (Vol. 22, No. 9) for a starter’s guide if you need it—but as a quick reminder, Bash uses a relatively straightforward syntax for each command: $ utility command -option

The utility portion of the command is the tool you wish to run, such as ls for listing the contents of a directory, or apt-get for triggering the package management tool.

The command section is where you specify exactly what you want the utility to do. Typing apt-get install instructs the package management utility to install the named package, such as: $ apt-get install vlc

The -option section is where one or more “flags” can be set to specify preferences. Each flag is preceded by one or two dashes, and the most useful is the --help option, which gives a description of the utility, plus available commands and options. Utilities can be run on their own, with a single

You’re reading a preview, subscribe to read more.

More from Maximum PC

Maximum PC9 min read
Potent PC Part Picks For Premium Performance
www.intel.com Time and time again, we keep coming back to the Intel Core i9-14900K, and with good reason. At its core, this build is the very heart of the Maximum PC testbed. It’s our go-to chip for GPU, RAM, and SSD testing, and delivers incredible
Maximum PC1 min read
Non-destructive Editing And Exporting
Luminar is a non-destructive editor, which means your original file is kept safe, and edits are only applied to a new file that you export at the end of your session. The app makes it easy to export an image, with a button at the top of the interface
Maximum PC2 min read
Rabbit R1 vs Humane AI Pin
presents: iFixit is a global community of tinkerers dedicated to helping people fix things through free online repair manuals and teardowns. iFixit believes that everyone has the right to maintain and repair their own products. To learn more, visit w

Related Books & Audiobooks