Feeds

The netbook newbie's guide to Linux

'We're the Fukarwi'

  • alert
  • submit to reddit

The essential guide to IT transformation

I'm not just going to tell you to type mysterious command lines and take them on trust. I do think we need to know a little bit about what we're doing, although I'll try not to get bogged down in a lot of unnecessary detail. The command line you'll be typing now is as follows:

sudo yum list | less

Sudo is a command that says: OK, I don't have supervisor status on this machine - I'm not 'root' - but please treat the command that follows as if I did. Provided I'm on a list of approved sudo users, yum evokes the package manager, and the list parameter tells yum to give me a list of stuff.

I'll look at why you need sudo, and what root is all about, in a future column.

The character, | is a called a 'pipe'. It's an instruction to feed the outcome of the previous command into the command following the pipe. Less works like more in DOS - more or less - as a full-screen text display that allows you to step through the output, page by page. You can exit from less by hitting the Q key. Try it.

Yum in the Terminal

Yum in the Terminal

Not all forms of Linux use yum. The Eee PC, for one, uses apt-get - short for Advanced Packaging Tool - which does the same job.

If you're already connected to the internet, you'll notice that the list you get isn't just an inventory of what's on your machine. It consists of three columns. The left-hand column lists the name of the program or component, the middle column gives you its version number and the third line confirms whether that component is installed or available elsewhere online. In this case, elsewhere is Fedora, an online repository of the version of Red Hat Linux on which Linpus is based. In theory, this means you can use yum to install a new Fedora packages on your AA1, but I don't recommend trying that at this early stage.

There is one really useful thing we can do, however. If, like me, you have other machines attached to your network offering Windows fileshares, the AA1 will appear to know nothing about them. It can only browse files on the local machine. So what we're going to do now is 'mount' a Windows share as if it were part of the AA1's own local file system. Linux in general does a superb job of accessing Windows shares through a technology called Samba. Samba provides a Windows-compatible file system called cifs, and a utility to mount this file system called mount.cifs. But don't worry about it. The ordinary mount command knows to use mount.cifs if you evoke it with the -t cifs parameter. And mount.cifs is smart enough to insert the relevant filesystem module (cifs.ko) into the OS' kernel automatically.

Forums

The user base for netbooks is growing fast. The following forums deal with the netbooks we've been discussing here:

The Asus Eee PC series: forum.eeeuser.com

The Acer Aspire One: www.aspireoneuser.com/forum/

The MSI Wind: forums.msiwind.net

The essential guide to IT transformation

More from The Register

next story
Apple promises to lift Curse of the Drained iPhone 5 Battery
Have you tried turning it off and...? Never mind, here's a replacement
Mozilla's 'Tiles' ads debut in new Firefox nightlies
You can try turning them off and on again
Linux turns 23 and Linus Torvalds celebrates as only he can
No, not with swearing, but by controlling the release cycle
Scratched PC-dispatch patch patched, hatched in batch rematch
Windows security update fixed after triggering blue screens (and screams) of death
This is how I set about making a fortune with my own startup
Would you leave your well-paid job to chase your dream?
prev story

Whitepapers

Endpoint data privacy in the cloud is easier than you think
Innovations in encryption and storage resolve issues of data privacy and key requirements for companies to look for in a solution.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Advanced data protection for your virtualized environments
Find a natural fit for optimizing protection for the often resource-constrained data protection process found in virtual environments.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Next gen security for virtualised datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.