Using the Console
The command line is sometimes the only way to fix some tricky issues. With the console you can do a lot of admin tasks that cannot be done otherwise.
There are gazillion web pages about this topic. Here, we will only give some some tips to help you to find the infos you need to solve the problems you can encounter with your preferred OS.
Open a console
- You can open a text console named tty2 to tty6, also called virtual consoles, from the desktop with this combination of keys:
ALT CTL Fn
with n = 2, 3, 4, 5, 6
Currently, "1" is reserved for the graphical environment.
When the console is opened, you can log as a normal user or as root.
Enter the name of the user (or root) then its password.
You can now use the command line at the prompt.
- You can also open a graphical console from the desktop, either from the menu/tools or with:
There are other programs that emulate a console (also called terminal).
Using the console
By default, when you get a prompt, you are using the command interpreter called bash. There are some features that can help you in daily use.
UP or DOWN arrows
Recall the last commands
Enter some characters to see the last command in which the string was used
Copy/paste lines in konsole
Like other graphical tools, konsole lets you copy the displayed lines or paste a command at the prompt.
- copy: simply select the text with the mouse then use the menu to copy or
CTL MAJ C
Thus, you can easily show the result of a command in the forum for example.
- past: here too, you can use the menu or:
CTL MAJ V
Thus, you can past a complex command in one click :)
It's a file manager with some useful features like exploring the rpms, editing text files, ... It requires a little practice but can be a great help when the graphical desktop refuses to start.
This is the systemd tool that lets you display the system logs. The -f option monitors the system events in real time.
An improved "CTL R".