
Linux people like to claim that directories are really just another type of file. This statement can be misleading. We saw in a previous article that you create a file using a file editor. We will see later in this article how to create a directory.
So just what is a Linux directory? A directory is a collection that may include one or more directories, one or more files, or in fact be empty. You may think of a directory as a computerized file folder or loose-leaf notebook that contains dividers (themselves directories) and pages (files.) Just like a notebook page may not contain a divider, a Linux file may not contain a directory.
Up to now our comments about Linux directories hold for Windows directories as well. Now let’s take a look at some differences between these two systems. First come the naming conventions. Linux always distinguishes between lower-case and upper-case characters in directory names. Microsoft Windows does not. For example, Linux treats pay12june and Pay12june are as two different directories, as different as the directories pay12june and heighho. These directory names were used as file names in the previous article. While Linux does have some reserved directory and file names, in general one cannot tell by the name whether it is a file name or a directory name. So be careful. Linux helps you out here ‘ the ls command that lists the contents of a given directory usually displays files and directories in different colors.
Directories are hierarchical. They resemble a tree or a family tree. But unlike a tree (or Microsoft Windows) Linux has only one root. The root, designated as / lies at the top, rather than at the bottom, of the hierarchy. Right underneath the root directory you will find several subdirectories. For example, the /home directory is a child of / the root directory. The number and names of the first-level subdirectories vary from one version of Linux to another. For example, some Linux distributions include a /root directory while others do not. The /root directory (or subdirectory, both terms are used) is a child of /, the actual root directory.
The /home directory is an important directory. It is divided into subdirectories, one for each user. We like to work with Damn Small Linux, a free version of Linux that runs on the Windows desktop and requires only 50 Megabytes of disk space. Damn Small Linux automatically creates a user called dsl whose home directory is /home/dsl ; a working area essentially reserved for this user. All Linux versions subdivide the /home directory into user subdirectories according to this simple naming convention.
Linux provides several commands to process directories. For example, the mkdir command creates a directory. The rmdir command removes a directory, but in the simplest case only when it is empty. The cd command changes the working directory, the directory in which you are positioned. The pwd (print working directory) command displays (not prints) the working directory. Beginners should run this command often to reduce errors. For example, if you, the dsl user, think that you are positioned in the /home/dsl directory but in fact are positioned in the / directory you won’t be able save your files with a simple command. Why? Because you lack the requisite permission, the subject of our next article.
Watch the video related to linux for beginner
This is a beginner friendly visual guide on how to install openSuSE 11.1 Linux. This is a screencast demonstrating how easy it is to do a basic installation of a modern linux system. This video was grabbed from a virtualized computer so any graphical distortion is because of that. Also most of the wait screen took quite long time because of the virtualization and are thus sped up. I’ve used DVD in this example but you can use one of the liveCDs, all available here: www.opensuse.org Sorry …
Help answer the question about linux for beginner
what is the best linux for a beginner like me.I still would kinda like the things that a normal desktop has toI would LOVE to sat using linux but i dont know which one is good for beginners.
About Author
Levi Reiss has written ten computer and Internet books either alone or with a co-author. The books are over, at least for the time being, replaced by a multitude of websites, including global wine, Italian wine, Italian travel, and health and nutritional aspects of wine (www.wineinyourdiet.com). He has taught various and sundry computer courses including Linux and Windows operating systems at an Ontario French-language community college for decades. His new website http://www.linux4windows.com teaches you how to download and run Damn Small Linux even on that outdated Windows computer which you have been meaning to throw out.
Yes another nice thing about using Linux is that you do not spend your money or the computing power to running anti-virus software. Also if you look to other desktops than KDE and Gnome you can also run Linux on pretty old machines. OpenSUSE DVD contains a lightweight desktop called XFCE, which will give your better performance at the cost of functionality, but that’s just fine when you want to just surf the net safely.
I use Fedora 10 (http://www.fedoraproject.org).
The tools you use for development depends on what you want to do with your efforts when you're done.
If you're doing basic applications development, stick with what you know and get a hold of one of the Express editions of Visual Studio. It's simply the best IDE for development; it's the only product by Microsoft that I actually praise (most of the time).
( http://www.microsoft.com/express/product/ )
I've heard good things about Ubuntu for Windows Users transitioning to Linux OSes. I never had problems (I learned UNIX on Solaris 2 SunSparc ) with Linux, and I've never used Ubuntu, so you can't quote me on that.
Look around at http://www.kde.org/ and
http://www.gnome.org/ as well as those are typically the packaged GUIs that are available and and for which you can easily find support. I personally prefer Gnome.
As for learning Linux, I'm less knowledgable on what sites are good for that. A quick google search reveals: http://learnlinux.tsf.org.za/ and
http://linuxreviews.org/beginner/
Hope those help.
Good luck and come join us in the free world.