APC

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. 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 command or flag, or as a combination of the two.

With this basic framework in place, you’re ready to start exploring how you can interact with Linux via the command line

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

More from APC

APC3 min read
Hold A Conversation With AI
As a naturally shy person, I always feel self-conscious when talking to machines. If I get transferred to somebody’s voicemail, I either hang up as soon as I hear the beep or gabble a barely intelligible message like “callmeback whenyou getachancetha
APC3 min read
Asus Zenbook 14 OLED (UX3405)
PRICE $2,399 WEB asus.com/au Asus has been putting out some cracking laptops in recent years, and while the Zenbook 14 OLED isn’t perfect, it offers a compelling range of features for a quite reasonable price. The UX3405 sits in the diverse Zenbook
APC5 min read
Skype vs Teams
SKYPE | PRICE Free WEB www.skype.com TEAMS | PRICE Free/$9 per month WEB www.microsoft.com Two apps that do the same thing, owned by the same company, that run on the same platforms and are even interoperable. It may seem strange that one hasn’t bee

Related Books & Audiobooks