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 PC6 min read
Letters
> Monitor upgrades > Intel concerns > Physical feedback HDR or bust? After years of reading about the supposed benefits of HDR visuals, I’ve finally decided to see what all the fuss is about. I have a decent gaming rig with a Ryzen 7800X3D and an RTX
Maximum PC1 min read
Intel’s Battlemage Gpus: December Debut?
IN A POST ON CHINESE SOCIAL MEDIA site Weibo, hardware leaker Golden Pig has claimed that Intel’s new line of ‘Battlemage’ GPUs will be released in December. If true, this means that the GPUs will arrive ahead of Nvidia’s RTX 5000 series. From a mark
Maximum PC3 min read
Razer Freyja
SINCE NINTENDO first released the RumblePak for the N64 back in 1997, haptic feedback has become a standard feature of game controllers. Nowadays, you can also get headsets that rumble to increase the immersion, so it was only a matter of time until

Related Books & Audiobooks