Getting started with Linux file management

Many PC World readers have installed Linux for the first time from one of our cover CDs or the Linux Minibook, and in this column we will begin with some fundamental concepts and work toward more technical areas over following issues. This first article will concentrate on graphical file management utilities.

One of the first things with which a new user needs to become familiar is the idea that the operating system consists of two distinct parts: the command line (or shell) and the X Window System which is the graphical display.

When you start Linux and log in via a display manager (the screen that first appears, prompting you for a username and password) your window manager or desktop environment will begin. The difference between a window manager and a desktop environment is that the former displays graphical programs in windows, and a desktop environment also allows you to perform changes to your system without using the shell. The two most popular desktop environments for Linux are GNOME and KDE. Both have native file managers that make it easier to adjust from a Windows or Mac environment.

Midnight Commander

A popular terminal (or console) based file manager is the GNU Midnight Commander, or simply Midnight Commander. To begin Midnight Commander, start a terminal emulation program such as rxvt or xterm and at the prompt execute:

$ mc

The terminal screen will change to a split listing of the current, or working, directory. The key will switch the cursor from left to right, allowing you to select different directories and transfer files between them. Midnight Commander uses the function keys to perform such tasks as changing or creating directories, copying or moving files, and viewing or editing text. For example, the key is used for viewing directories and files such as plain text and text-only HTML.

With one hand on the cursor or arrow keys and the other on the key, you can quickly enter and leave directories throughout your home directory and entire file system. To copy a file from one directory to another, have the source directory on one side of the split view and the destination directory on the other. With the cursor over the file, press and a dialogue box will appear asking you to confirm the transaction. It won't take a new user much time to get used to Midnight Commander: it's fast, and everything is controllable with simple keystrokes.

GMC and Nautilus

GMC is the GNOME version of Midnight Commander and is a complete graphical application. Reminiscent of Windows Explorer, GMC lets you navigate your directory structure with a mouse. It's divided into two parts, a directory tree and an icon listing.

The main viewing area will display the directory icons as folders and associate files with their appropriate applications. For example, an rpm file will be shown as a box with the rpm logo on it. You can easily customise the look of the main viewing window to display properties of each element, such as file size, by clicking on the buttons above the location bar. By default, GMC will allow you to view files, such as text and HTML, by spawning an external application. For example, if you double click on an HTML file in your home directory, GMC will launch Netscape Navigator.

As of GNOME 1.4, the graphical file manger Nautilus (developed by the now defunct Eazel) will replace GMC. Nautilus has much improved file viewing attributes, and uses Mozilla for Web browsing. See the June 2001 issue, page 144, for a more detailed review of GNOME 1.4 and Nautilus.

KFM and Konqueror

Users of the K Desktop Environment, or KDE, can take advantage of either KFM (pre-version 2.0) or Konqueror for file management. KDE has a link to Konqueror for viewing your home directory on the desktop and on the panel. Unlike other desktops, a single click will launch any KDE application, including Konqueror.

KFM and Konqueror are similar to GMC in that, by default, all display your directory tree in the left frame. The thing that sets Konqueror apart is its native file viewing capabilities. Clicking on text files, HTML documents and images will reveal them natively within the Konqueror browser. Additionally, Konqueror is a fast and stable Web browser that conforms to all the major standards and even has support for Netscape plug-ins.

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Rodney Gedda

PC World
Show Comments

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Luke Hill

MSI GT75 TITAN

I need power and lots of it. As a Front End Web developer anything less just won’t cut it which is why the MSI GT75 is an outstanding laptop for me. It’s a sleek and futuristic looking, high quality, beast that has a touch of sci-fi flare about it.

Emily Tyson

MSI GE63 Raider

If you’re looking to invest in your next work horse laptop for work or home use, you can’t go wrong with the MSI GE63.

Laura Johnston

MSI GS65 Stealth Thin

If you can afford the price tag, it is well worth the money. It out performs any other laptop I have tried for gaming, and the transportable design and incredible display also make it ideal for work.

Andrew Teoh

Brother MFC-L9570CDW Multifunction Printer

Touch screen visibility and operation was great and easy to navigate. Each menu and sub-menu was in an understandable order and category

Louise Coady

Brother MFC-L9570CDW Multifunction Printer

The printer was convenient, produced clear and vibrant images and was very easy to use

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Featured Content

Product Launch Showcase

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?