Top 5 and Important Instructions that Linux Beginner Users Should Know

Using Terminal in Linux is one of the fastest and most practical ways users can use it to achieve their goals. Sometimes you need to use the terminal, but it does not seem as scary and daunting as it may seem.

In this regard, we have introduced 5 important and practical commands for Linux beginner users.

For those who have just arrived in the Linux world, viewing the Terminal Blues, which is used as a replacement for the graphical interface, looks very scary. It should be said that this is not the case.

The GUI makes it more fun and easy to perform calculations in most cases. However, the use of a text browser in a terminal to check the price of a product on the Amazon website is only used as a workout for interested individuals.

We all enjoy working with the user interface and graphical browsers, but when it comes to command line commands, you will have to.

As you need to take advantage of new tools and features, learning a few basic and basic commands can be very useful in cases where you are not able to use the graphical interface or want to fix the problems.

To continue, 5 commands that you need to know as Linux users are introduced.

۱- Sudo

sudo-in-action-100691653-large

If we want to talk about a very important and important point, it’s definitely worth saying that it is sudo.

The execution of the sudo command is very simple; this command executes all commas that are written afterwards with the privileges of a particular user.

Commands running with the sudo command are important when you want to do things like system updates or configuration changes to files.

The execution of Sudo’s command allows the user to erase a system or violate the privacy of other users.

 For this reason, when you first use this command, the following text is displayed to you:

sudo

If you are looking for editing or modifying a file that is outside of your directory, you can use the sudo command.

To use sudo, your username must be in the sudoers file or part of the sudoers group (usually a wheel or sudo).

  For more information on using this command, see the help file for SudoSer files provided by Ubuntu.

sudoers-file-100691654-large

Since the sudo command is a powerful command, you do not need to type the sequence commands without knowing the next effects.

For example, in some of the online instructions for this command for beginners, write / sudo rm -R (do not execute this command!).

This command will reclaim all files on your system and your operating system will delete all files without any additional activity.

As described in the sudo command text, when using this command, “Think of what you are typing and check its consequences.”

2- (package manager tools (yum, apt, or clean)

The reason for the number one that makes you use sudo is to add or remove your personal computer programs by the package manager.

Although all of the three main package managers mentioned in this article have their own command reasoning as well as a different grammar, all of them are capable of performing all three basic operations, namely installing packages, removing packages, and upgrading all packages on the system. .

(Note: Unless you are logged in as root, you must add these commands to the sudo command.)

pacman-syu-100691656-large

(yum (Red Hat / Fedora / CentOS

Command to install a package:

yum install <package>

Recipient to a package:

yum remove <package>

 Order upgrade and upgrade system:

yum update

(apt (Debian / Ubuntu / Mint

Install a package:

apt install <package>

Delete a package:

apt remove <package>

Upgrade and update the system:

apt update

apt upgrade

(Pacman (Arch / Manjaro

Install a package:

<pacman -S <package

Delete a package:

<pacman-R <package

Upgrade and update the system:

Pacman -Syu

All of these management packages have more features than those mentioned, but these three functions are the functions that you will often deal with.

By choosing each of the Linux distributions you can easily use the package manager and find out where you can find the relevant documentation.

3- (systemctl (Systemd

For a long time, secondary applications were called daemon with a set of scripts called initscripts. It was difficult for novice users to read, interpret, or modify initscripts.

Recently, a service management software called Systemd has been replaced by initscripts. If you use one of the new Linux distributions, you can run the services you need using SystemD.

systemctl-enable-networkmanager-100691658-large

One of the main complaints about using SystemD is the over-abilities of this app.

(Unix programs are usually created to perform the task as best as possible.) However, there are several key words to use for Systemd:

The following key word can be used to run a service:

systemctl start <service name>

In addition, you can re-run a service if not executed using the following keyword:

systemctl restart <service name>

To stop the running service also from the phrase

systemctl stop <service name>

use.

To access a service at boot time, the term

systemctl enable <service name>

Type in. Finally, by using the following command, you can disable a service and reboot it at boot time:

systemctl disable <service name>

4- ls

Using the Is command is very simple, but it is simpler, more practical than you think.

Commands ls show a list of files and folders that appear on the specified path. By default, this command specifies a list of files and folders in the current directory (usually the user home directory).

 You can also access the list of files and folders by specifying a new path.

systemctl-enable-networkmanager-100691658-large

There are different forms for the Is command, but its most common form is -l, which specifies the permissions and owners of the files.

What makes this linux version of Windows dir more useful? One of the things that can be answered in answering this question is to use this command to configure the files in the subcategories.

Additionally, when you search for file names in a non-graphical environment, you can use it.

Since the names of the Linux and KMDs are highly sensitive, you need to know the correct spelling.

In a short time, the Is command will be converted to one of your primary commands and you can use it to monitor your system.

5. Man

Sometimes you need help and you do not have access to the Internet. In these cases, the man command can help you.

Comand man is a short, short term, and provides “online” access to stored (stored in the computer) stored information.

If you forget that what is a command like chmod, you can easily read the information by entering the man phrase in your terminal.

You can also scroll up and down on the man page using the PgUp and PgDn keys.

When you get the information you need, close the page by pressing the Q key.

man-ls-100691662-large

Although the use of the man command can be useful when it’s not accessible to the Internet, but when it comes to the Internet, Google will be a much more useful resource.

It is not bad to know that the early results of a search for a chmod like a web version of the man page.

Conclusion:

There are many more commands and lessons you need to learn, but learning the diameters of this great sea and getting into the world of commands and texts, in addition to helping you better understand your system, reduce your anxiety and fear. With these commands will also be.

While there are many ways to do things on a graphical desktop, Kamandan is still the fastest way to update your system.

Another benefit of using the full console is to display errors when an error occurs. For example, when the update is fixed and stop, if you do not have access to the Internet, you can easily find out about the problems that were creating for the package.

With a little practice, everyone can use the terminal commands and use their full confidence and full professionalism of sudo.

For more information about Linux Kamsha, click on the link to the Pixelbeat.org site’s Linux Comms section.

Leave a Reply

Your email address will not be published. Required fields are marked *