📜 ⬆️ ⬇️

Linux Pro - For Curious Windows Users



It so happens that even at Habré many people have a very vague idea about the Linux OS family.

The purpose of this article is to tell the most popular language about the features and differences between Linux and Windows for those who have never had a job with it.
')
I have been using Archlinux for several years, downloading Windows only “to play with”. This article talks about things that I learned empirically, poking like a blind kitten. If at one time I would get exactly such information in this form - it would save me at least 2 years, during which I switched from Windows to Linux.


Almost a quote from Lurkmor :

The basic principle of working with linux-systems is “From understanding-to action”, while in Windows- “I know where to click / where to put a check mark - I do”. In other words, to do something - you need to understand how it is there, inside, is arranged.

Thesis number 1 - MUST own work with the system from the text console!


“Clean” Linux (basic system) in any distribution looks like DOS - black screen, text mode, the blinking cursor is waiting for input. When you come across such a person for the first time, you sit and think: “Damn, what is there to write?”.

Modern user-friendly distributions give the illusion that the user does not need a console. Good uncles, they say, have already taken care of everything. Here's a wallpaper for you in FullHD resolution, here is a program for setting parameters - know the checkboxes, everything is like in Windows ... To avoid unnecessary holivars, I will make a retreat at this place.

There are Linux users who never have anything buggy. Ubuntu is upgraded from one major version to another, and since Ubuntu 1.0, and so on. Guys, do not write anything in the comments about the uselessness of the console for the user, go rather and admire the rainbow that pink ponies poop in your world.

In my world, Linux is buggy and broken. No, everything is quite ok if you just run the programs and use them. But then suddenly a moment comes when you need to, say, change the open firewood to proprietary ... well, or just update the system. And here, if the stars got up badly, you get a broken system and a text console as the only way to interact with it. And (what is the worst) - such garbage tends to happen regularly .

My experience suggests that at such times, the Windows user acts as he is accustomed to, obeying the usual ideology. At first there is an attempt to “fix”. Windows-ideology prescribes to find in the internet a discussion of a similar problem and its solution, and then repeat all the actions that led to the solution of the problem . The result - the user thoughtlessly drives in incomprehensible commands. Sometimes it even helps, more often - no: the contents of the commands must be modified for specific conditions and a specific local machine, but there is no knowledge for that. As a consequence, the next logical step is to reinstall the system. Believe me, I know what I'm talking about - I broke and reinstalled Ubuntu more than 10 times ... of which about a third after the spontaneous death of the system during the update process, without correlating with the curvature of the hands.

Studying the device of the system and working with it from the console is akin to the well-known “losing a day - one hour to fly”. Solving the problem in this case is much faster than reinstalling, not to mention the fact that it becomes much easier “not to break” :) In addition, the difference completely disappears - you sit at the computer locally or through a remote SSH session. Believe me, this feeling is worth a lot.

Thesis number 2: user-friendly distributions to study the system are bad.


The developers of such distributions diligently create an interface graphic layer, designed to reduce the interaction of the user and the system to a thoughtless mouse click. Technically, this layer can be a completely enchanting pile of crutches - on bash, python, perl ... a perfect hell for a beginner trying to understand the logic of the system. In addition, the imputed documentation (if it exists at all) is lost among the forum posts of the form “to get A, enter in console B, and in the settings press the button C”

Technically minimalist distributions with high-quality and detailed documentation are best suited for training. Such, for example, are Gentoo and Archlinux. Personally, I recommend the latter - simply because in my case it worked. After a couple of years of hardships with Ubuntu, only a couple of months with Arch led me to comprehend Linux 10 times further.

There are several reasons for this:
  1. The technical minimalism of the system greatly facilitates its understanding.
  2. High-quality, detailed documentation facilitates the learning process.
  3. Getting out of the “comfort zone” is very helpful!


The last point is worth special mention. Ubuntu with its graphical interface does not add any motivation to poking around in the console. Another thing is when initially there is only a console and the strongest motivation to “set up this graphical interface already” - then there is no place to go, you have to master the documentation and acquire knowledge.

Windows and Linux: fundamental differences


1. File system




2. Package manager and the concept of "package", installing programs.



3. Graphic user environment




Summarizing


After a little self-education, the graphic system is received from a text-based console system into one command. In my case, I type:
pacman -S xf86-video-ati xorg-server openbox tint2 nitrogen lxterminal xcompmgr wicd-gtk volumeicon .
This is the command to install all the packages listed:
xf86-video-ati is an open-source driver for my video card.
xorg-server is “X”
openbox is a lightweight WM with a system menu (such as “Start”)
tint2 is the taskbar with the tray where applications will be minimized
nitrogen allows you to set the desktop background
lxterminal is my favorite terminal emulator
xcompmgr is the easiest composite manager, adds translucency and shadow
wicd-gtk is a network connection manager that hangs in the tray
volumeicon - volume control

After that, already from the graphical environment, through lxterminal I install everything else that is needed for life: browser (s), file manager, video and audio codecs, player, libreoffice, gimp, etc.)

Source: https://habr.com/ru/post/184396/


All Articles