GNU Linux basics

One of the first lessons we need to learn is how GNU/Linux functioning, how it's operate. And so on. In order to do so, some of the basic baby steps are needed to be taken, so we can learn stuff like: What is prompt, how it looks, or how GNU/Linux works with file permissions in various types of file systems, and so on.

So on this page, some of these topics are covered below

GNU Linux prompt explained


So when we look at this, before we jump into any conclusions we should firstly understand what is meaning of symbol "@" in all of this "prompt" thing.

In GNU beauty, in this particular case of user prompt, symbol '@' represent a simple separator. A separator that tells us something like this:

is username.

is hostname.

Hostname is a name given to the the machine. Usually durring the instalaltion proces, but also can be set or changed later on. More about hostname and it's importancy later somewhere on these pages.
So, from all of this we learned now that "john" represents the username of the user that is currently logged to this shell that have hostname set to "localhost".
Also this maybe is not a case on your shell, since prompt can be customized a lot.

File permissions in GNU/Linux explained

	Octal		Decimal		Permission		Representation

	000		0 (0+0+0)	no permission		---

	001		1 (0+0+1)	Execute			--x

	010		2 (0+2+0)	Write			-w-

	011		3 (0+2+1)	Write+Execute		-wx

	100		4 (4+0+0)	Read			r--

	101		5 (4+0+1)	Read+Execute		r-x

	110		6 (4+2+0)	Read+Write		rw-

	111		7 (4+2+1)	Read+Write+Execute	rwx
How it is implemented ower files
	Defined for		user 	group 	world

	symbolic mode >		rwx 	r-x 	r-x

	octal mode >		111	101	101

	Numberic mode >		 7       5       5
Now we should explain this futher.

Copyleft Enes Bosnić aka n00b 1977 - 2020