5 Terminal Commands You Think Every Linux User Should Know

0

Use Terminal in Linux is one of the fastest and most practical ways that users can use to achieve your objectives.

Sometimes you need to use the terminal, but it is not as it seems scary and daunting. In this regard, the introduction of five major command functional for beginner Linux users have made.

For those who have recently entered the world of Linux, black and white screen viewing terminal that is used as an alternative to the graphical interface, very scary look. It must be said that this is not the case.

The graphical user interface makes calculations in most cases, more enjoyable and easier. However, in a terminal using a text browser to check the price of a product on Amazon, just as an exercise, for those interested to apply. All of us enjoy working with the user interface and graphical browsers, but the time comes that you have to use the command line.

To continue, 5 commands as the user to be familiar with Linux have been introduced.

1 – Sudo

 Sudo
Sudo

If there’s a main command and talk very important, certainly have to say that it is the sudo command. Implementation is very simple sudo command; this command, all Kamndhayy which is then written to run with the privileges of a specific user. Run the command with the command sudo, which is important when you want to do things like updating the system or configuration file changes.

Sudo command for the user, allowing destroy a system or violate the privacy of other users creates. That’s why when you first use this command you are shown the following text:

If you are looking to edit or modify files outside of your directory, you can use the sudo command. To be able to use sudo, sudoers or username You have to be part of the group sudoers file (usually wheel or sudo). For more information regarding the use of this command can be used to guide the sudoers file provided by Ubuntu, please visit.

Since the sudo command is a powerful command should sequel commands without being aware of its consequent impact type. For example, some online instructions contained on this instruction for beginners, command / sudo rm -R (do not run this command!) Written. This command will recursively delete all files on your system and your operating system will delete all files without any extra work. As also mentioned in the text of the command sudo when using the command “Think of a phrase that you type check and its consequences.”

2 – package manager tools (yum, apt, or pacman)

Reason number one is that you use sudo, add or remove programs to your PC via the package manager. . (Note: unless you as the main user (root) to be signed. In this case you need these commands to add sudo command.)

(Yum (Red Hat / Fedora / CentOS
OEM orders a package:

yum install <package>

Ordered the removal of a package:

yum remove <package>

Enhance and upgrade the system command:

yum update

(Apt (Debian / Ubuntu / Mint
Install a package:

apt install <package>

Remove a package:

apt remove <package>

Upgrade and update the system:

apt update

apt upgrade

(Pacman (Arch / Manjaro
Install a package:

<Pacman -S <package

Remove a package:

<Pacman -R <package

Upgrade and update the system:

pacman -Syu

All of these management packs features more than what is outlined; however, three functions, functions that you often have to deal with them. By selecting any of the Linux distributions released Feel free to use the package manager to know where you can find documents related to it.

3-  systemctl  (Systemd )

The long-secondary programs daemon called named initscripts used along with a set of scripts. For beginners, Read, interpret or change initscripts- was difficult. Recently, a service management software initscripts- has been replaced with the name Systemd. If you are a new Linux distributions, you can use the app Systemd, run your required services.

One of the main complaints that have been raised regarding the use of Systemd capabilities too this application. (Unix programs usually are created to do one thing and doing as best as possible.) However, there are a few key words to use Systemd:

To run a service can easily use the following key words:

systemctl start <service name>

Plus, you can not run a service in the event of re-run using the following key words:

systemctl restart <service name>

To stop the service running from the

systemctl stop <service name>

use.

To access a service at boot time, the

systemctl enable <service name>

Type. Finally, using the following command can disable a service and run it again at boot time:

systemctl disable <service name>

4- ls

Is this command is very simple but very useful Despite the simplicity of it is what you think. Command ls, list of files and folders that are specified in the path, displays. By default this command, a list of files and folders in the current directory (usually the directory user home) specifies. In addition, you can specify a new path, the list of files and folders achieve it.

Is there a variety of ways to order, the most common form is -l, which defines the permissions and owner of the file.

The Linux version of Windows dir practical thing is, what is? In addition, when searching for file names without a GUI environment, you can use this command. Because Linux file names and command, has high sensitivity, it is necessary to correct spelling them.

5- Man

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

Command man, and will brief word “online” access to information stored Kamndhay (PC) provides. If you’ve forgotten, such as chmod command What does it do, simply just by entering a man in your terminal, please read the information about it. PgUp and PgDn keys can also use the up and down movement in the man page. Once you’ve learned the information they need just by pressing Q, close the page.

You might also like More from author

Leave A Reply

Your email address will not be published.