mirror of
https://codeberg.org/Mo8it/How_To_Linux.git
synced 2024-11-24 13:11:34 +00:00
Fix typos
This commit is contained in:
parent
690c609c27
commit
483a138fb6
2 changed files with 6 additions and 6 deletions
|
@ -22,7 +22,7 @@ If you are using another Linux distribution, you might need to replace the comma
|
|||
|
||||
It is important to understand the functionality of package managers. Then you can transfer this knowledge to other package managers if required. This applies to some other aspects in Linux too, since _the Linux operating system_ does not exist. There are distributions that bundle a set of software and differ in small ways.
|
||||
|
||||
To install a package, you need adminstrative priviliges. Therefore, we need some `sudo` powers. `sudo` will be explained in the next section.
|
||||
To install a package, you need administrative privileges. Therefore, we need some `sudo` powers. `sudo` will be explained in the next section.
|
||||
|
||||
Lets install our first package! To do so, enter `sudo dnf install cmatrix`. You will be asked for the password of your user. Type the password and then press `Enter`. For security reasons, you will not be able to see you password while entering it. So don't wonder why nothing happens while typing the password. Just type it and then press `Enter`.
|
||||
|
||||
|
@ -49,15 +49,15 @@ $ dnf install cowsay
|
|||
Error: This command has to be run with superuser privileges (under the root user on most systems).
|
||||
```
|
||||
|
||||
You can see that you get an error resulted by a lack of priviliges for running this command.
|
||||
You can see that you get an error resulted by a lack of privileges for running this command.
|
||||
|
||||
Any action that might modify the system needs adminstrative priviliges. Installing a package (system-wide) is one of these actions.
|
||||
Any action that might modify the system needs administrative privileges. Installing a package (system-wide) is one of these actions.
|
||||
|
||||
Sometimes, an action might not modify the system, but a user might be restricted through the permissions system to not be able to access a file for example. In this case, you would also need to use `sudo`.
|
||||
|
||||
Linux has a superuser, one user that exists on every Linux system and is able to do anything! This user is the `root` user. For security reasons (and also to not do something distructive by a mistake), this user is often locked. `sudo` allows you as a non root user to run your command as a `root` user.
|
||||
Linux has a superuser, one user that exists on every Linux system and is able to do anything! This user is the `root` user. For security reasons (and also to not do something destructive by a mistake), this user is often locked. `sudo` allows you as a non root user to run your command as a `root` user.
|
||||
|
||||
You are not alway allowed to use `sudo`. If you don't own the machine you are using and just share it with others, then there is a high chance that only adminstrators of the machine have `sudo` access.
|
||||
You are not always allowed to use `sudo`. If you don't own the machine you are using and just share it with others, then there is a high chance that only administrators of the machine have `sudo` access.
|
||||
|
||||
If you don't have access to `sudo` and try to use it, then you get an output like this:
|
||||
|
||||
|
|
|
@ -399,7 +399,7 @@ You might think that you don't need autocompletion at all. But you should use it
|
|||
|
||||
When you type `cat hapy_house/ru` and then press `Tab`, you don't get any autocompletion although you would expect it. But did you notice the missing `p` in `happy`?
|
||||
|
||||
This is what is ment by verification. If you don't get an autocompletion although you think that you should, then check what you have typed so far. It is much easier to correct things this way that having to correct them after trying to run the command.
|
||||
This is what is meant by verification. If you don't get an autocompletion although you think that you should, then check what you have typed so far. It is much easier to correct things this way that having to correct them after trying to run the command.
|
||||
|
||||
But what if you did run a command with a mistake and you have to correct it? Or what if you want to run the same command with small modifications? Do you have type the whole command again?
|
||||
|
||||
|
|
Loading…
Reference in a new issue