The netbook newbie's guide to Linux

One small step for Man...

Website security in corporate America

Now AA1 users will have a full working manual pages facility. If the AA1 isn't your weapon of choice, this will at least give you some idea how a command-line package installer works. And with man on board we're now all singing from the same song sheet.

Root of the file system

The root of the file system

A logical first step might be man man - those old Unix guys really loved recursion! The spacebar will page-down through the output, and the 'b' key will move you back one page. 'g' takes you to the top of the document; 'G' takes you to the bottom. A particularly useful one is '/' followed by a string, which will search through the particular man page you're on for that string - and 'n' will take you to the next occurrence. You'll find these keys also work in less, which you encountered last time.

One really convenient way to use man pages, particularly if you're a beginner, is through apropos. This command is equivalent to evoking man with the -k parameter - or, in Unix-speak, it's an alias to man -k. It'll give you a list of all the man pages relevant to some particular topic. So if you type:

apropos text

you'll get a list of everything related to text. If the list overflows the window, you can usually use Shift PgUp and Shift PgDown to hop through the pages, although this depends on the nature of the terminal application you're running this in. And alternative is to use a pipe to less:

apropos text | less

But there's a good chance that none of this will work, and apropos (or man -k) will only return "nothing appropriate", particularly if you've only just installed the man pages. This is because apropos depends on an index of man pages that doesn't yet exist. There are two ways of making this index. On the MSI Wind and the Asus Eee PC, the command is mandb. AA1 users can create the index with the command makewhatis.

Root user

Who owns Root's root folder?

In all cases, you'll need to run this command as the so-called 'superuser', root, so this might be an appropriate point to discuss exactly what we mean by this. We touched on the root question last time, because this highest privilege level was necessary in order to install new software. The word means two different things in the context of Linux. First, it's the topmost directory in the directory hierarchy, represented with '/'. It's also the user with the highest system-access privileges. 'Uppermost' is the concept uniting these two ideas, although confusingly as a user root will usually have a home directory called root, which of course is not the same as /. An additional source of confusion lies in the fact that root is also the name of a privileged group of users, of which root is usually the only member.

Next Time... we'll take a closer look at those GUI interfaces and start exploring alternatives, and we'll have more to say about those text files under the hood that define features and functions.

The Important Bits

  • apropos - the command-line application for reading manual-page summaries.
  • apt-get - the command-line application installer on most Linux systems.
  • less - Linux's answer to DOS' More command, it breaks long output listings into pages.
  • makewhatis - the command-line application for indexing manual pages on the Aspire One.
  • man - the command-line application for reading manual pages.
  • mandb - the command-line application for indexing manual pages on most Linux systems.
  • Root - the nickname for the user with full access to a Linux system. Also the name of the top of the file hierarchy, which is written as /
  • sudo - the command that gives you run a second command as if you had full access to the system.
  • yum - the Acer Aspire One's command-line application installer.

Choosing a cloud hosting partner with confidence

More from The Register

next story
'Windows 9' LEAK: Microsoft's playing catchup with Linux
Multiple desktops and live tiles in restored Start button star in new vids
Not appy with your Chromebook? Well now it can run Android apps
Google offers beta of tricky OS-inside-OS tech
New 'Cosmos' browser surfs the net by TXT alone
No data plan? No WiFi? No worries ... except sluggish download speed
SUSE Linux owner Attachmate gobbled by Micro Focus for $2.3bn
Merger will lead to mainframe and COBOL powerhouse
iOS 8 release: WebGL now runs everywhere. Hurrah for 3D graphics!
HTML 5's pretty neat ... when your browser supports it
Greater dev access to iOS 8 will put us AT RISK from HACKERS
Knocking holes in Apple's walled garden could backfire, says securo-chap
NHS grows a NoSQL backbone and rips out its Oracle Spine
Open source? In the government? Ha ha! What, wait ...?
Google extends app refund window to two hours
You now have 120 minutes to finish that game instead of 15
Intel: Hey, enterprises, drop everything and DO HADOOP
Big Data analytics projected to run on more servers than any other app
prev story


Providing a secure and efficient Helpdesk
A single remote control platform for user support is be key to providing an efficient helpdesk. Retain full control over the way in which screen and keystroke data is transmitted.
Saudi Petroleum chooses Tegile storage solution
A storage solution that addresses company growth and performance for business-critical applications of caseware archive and search along with other key operational systems.
Security and trust: The backbone of doing business over the internet
Explores the current state of website security and the contributions Symantec is making to help organizations protect critical data and build trust with customers.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.