Long-time Windows users take so many aspects of the operating system as
givens, but if one switches to linux, then you have to un-learn a lot of
givens. All operating systems have files and directories
(called folders in Windows) -but files in
linux are named very differently then files in Windows. Every Windows file
has an extension (the 3 letters or more after the period) that can reveal what type
of file it is; for example, programs will end in .exe extension, a text file
would be a .txt extension, a picture file might be a .jpg extension. A linux
file has no extension so you often can’t just look at a file name and
determine what kind of file it is. You cannot have a space in a linux file
name but you can use underscore for this same purpose. If you see a linux
file name, type file <filename> to determine what kind of file it is. Of
course, in the graphical environment, you can tell by icon or if listed, by
description, just what kind of file you are dealing with-just like Windows.
Now, most versions of linux or so called, distros of linux
will boot to a graphical interface or GUI just like a Windows machine
would. You would then get to the commands through a terminal. You should
not be that intimidated to try a linux machine or install linux because
most distros, especially Ubuntu, are very very "window-ish."
Still, one should learn the basic commands of linux and keep the
differences in mind. Another difference to keep in mind, is that with
linux, capitals do matter so you need to keep this in mind. Files named
Geek and geek would be two different files. The
directory system in linux is different from Windows. There is a root
directory which is shown by forward slash rather then backward slash. The
basic directories are very different also.
Main Directories of linux machine
/
(root of drive)
/bin
(all executable applications)
/boot
(kernal, boot)
/dev (possible and actual devices)
/etc
/root
(root The Unix superuser account
(with user name "root" and user ID 0) that overrides file permissions)
/sbin (system commands secondary
applications and system binaries -not used by user)
/home
(home directories)
/lib (library files. Compiler (which
translates computer language to a code that can be used to create a program
>>source data >compiler> makes file executable
compiler uses libraries [this is like a .dll file in Windows])
/lost & found (stores lost file handles)
/mnt (mount directory takes devices in /dev
to mount at particular directory)
/proc (running processes are stored if
needed)
/export
When you log onto a linux system, you go right to your
home directory which might be something like /home/nick If you are not sure
where you are, type command pwd to find out. |
|