Linux Magazine: Avoiding The Mouse Trap [Command Line Intro.] | Linux Today

Linux Magazine: Avoiding The Mouse Trap [Command Line Intro.]

Written By
Web Webster
Web Webster
Apr 22, 2000

“Linux’s graphical user interface is improving, but there comes
a time when we all must descend into that scary and obscure world
of the Linux command line. Though communicating with your
computer via keyboard rather than mouse can be a bit intimidating
at first, most people find that picking up just a few simple
commands can go a long way toward making them much more efficient
and happy Linuxniks.”

“When you type a command on the command line, what you’re
actually doing is telling the computer to execute a particular
program. For example, if you type pwd on the command line and hit
“Enter,” what you’re doing is executing the program named pwd.
While this is a very simple program (all it does is print the name
of the directory you’re in), it is still an executable
program.”

“Sometimes you have to feed a command some extra information
before it can properly execute. Each part of this extra information
is referred to as a command-line argument. So, if you see something
like ls -a foo, the command is ls (which lists the contents of a
directory) and the arguments are -a (which tells ls to list all
types of files in the directory) and foo (which is the name of the
directory you want to see listed).”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.