Logging into Different Consoles

Red Hat Linux Essentials Logging into Different Consoles
10 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$49.99
List Price:  $69.99
You save:  $20
€46.64
List Price:  €65.30
You save:  €18.66
£39.89
List Price:  £55.85
You save:  £15.96
CA$68.25
List Price:  CA$95.55
You save:  CA$27.30
A$76.15
List Price:  A$106.62
You save:  A$30.46
S$67.98
List Price:  S$95.18
You save:  S$27.19
HK$391.26
List Price:  HK$547.80
You save:  HK$156.53
CHF 45.56
List Price:  CHF 63.79
You save:  CHF 18.23
NOK kr549.77
List Price:  NOK kr769.72
You save:  NOK kr219.95
DKK kr347.88
List Price:  DKK kr487.07
You save:  DKK kr139.18
NZ$83.68
List Price:  NZ$117.16
You save:  NZ$33.47
د.إ183.60
List Price:  د.إ257.06
You save:  د.إ73.45
৳5,493.12
List Price:  ৳7,690.80
You save:  ৳2,197.68
₹4,172.34
List Price:  ₹5,841.61
You save:  ₹1,669.27
RM238.42
List Price:  RM333.81
You save:  RM95.39
₦66,243.24
List Price:  ₦92,745.84
You save:  ₦26,502.60
₨13,934.07
List Price:  ₨19,508.81
You save:  ₨5,574.74
฿1,850.39
List Price:  ฿2,590.69
You save:  ฿740.30
₺1,617.84
List Price:  ₺2,265.11
You save:  ₺647.26
B$255.79
List Price:  B$358.13
You save:  B$102.34
R936.97
List Price:  R1,311.83
You save:  R374.86
Лв91.24
List Price:  Лв127.74
You save:  Лв36.50
₩68,826.74
List Price:  ₩96,362.95
You save:  ₩27,536.20
₪188.13
List Price:  ₪263.40
You save:  ₪75.26
₱2,884.49
List Price:  ₱4,038.52
You save:  ₱1,154.02
¥7,792.89
List Price:  ¥10,910.67
You save:  ¥3,117.78
MX$856.20
List Price:  MX$1,198.75
You save:  MX$342.54
QR182.49
List Price:  QR255.51
You save:  QR73.01
P688.94
List Price:  P964.58
You save:  P275.63
KSh6,748.65
List Price:  KSh9,448.65
You save:  KSh2,700
E£2,392.02
List Price:  E£3,349.02
You save:  E£957
ብር2,872.52
List Price:  ብር4,021.76
You save:  ብር1,149.23
Kz41,694.65
List Price:  Kz58,375.85
You save:  Kz16,681.20
CLP$47,530.99
List Price:  CLP$66,547.19
You save:  CLP$19,016.20
CN¥362.03
List Price:  CN¥506.87
You save:  CN¥144.84
RD$2,934.22
List Price:  RD$4,108.14
You save:  RD$1,173.92
DA6,720.10
List Price:  DA9,408.68
You save:  DA2,688.58
FJ$112.74
List Price:  FJ$157.85
You save:  FJ$45.10
Q389.28
List Price:  Q545.03
You save:  Q155.74
GY$10,471.17
List Price:  GY$14,660.48
You save:  GY$4,189.30
ISK kr7,010.59
List Price:  ISK kr9,815.39
You save:  ISK kr2,804.80
DH505.57
List Price:  DH707.84
You save:  DH202.26
L884.78
List Price:  L1,238.76
You save:  L353.98
ден2,871.74
List Price:  ден4,020.67
You save:  ден1,148.92
MOP$403.59
List Price:  MOP$565.05
You save:  MOP$161.46
N$944.34
List Price:  N$1,322.15
You save:  N$377.81
C$1,841.99
List Price:  C$2,578.94
You save:  C$736.94
रु6,672.93
List Price:  रु9,342.64
You save:  रु2,669.70
S/188.02
List Price:  S/263.24
You save:  S/75.22
K193.20
List Price:  K270.50
You save:  K77.29
SAR187.49
List Price:  SAR262.50
You save:  SAR75.01
ZK1,326.34
List Price:  ZK1,856.98
You save:  ZK530.64
L232.07
List Price:  L324.92
You save:  L92.85
Kč1,174
List Price:  Kč1,643.69
You save:  Kč469.69
Ft18,283.73
List Price:  Ft25,598.69
You save:  Ft7,314.95
SEK kr545.79
List Price:  SEK kr764.15
You save:  SEK kr218.36
ARS$43,729
List Price:  ARS$61,224.11
You save:  ARS$17,495.10
Bs347.11
List Price:  Bs485.98
You save:  Bs138.87
COP$197,925.35
List Price:  COP$277,111.33
You save:  COP$79,185.97
₡25,432.40
List Price:  ₡35,607.40
You save:  ₡10,174.99
L1,235.97
List Price:  L1,730.46
You save:  L494.48
₲372,674.68
List Price:  ₲521,774.38
You save:  ₲149,099.69
$U1,931.55
List Price:  $U2,704.33
You save:  $U772.77
zł201.70
List Price:  zł282.40
You save:  zł80.69
Already have an account? Log In

Transcript

Welcome back friends. Here in this part we are going to learn about logging and some basic Linux commands and utilities. So let's start. So logging in rail comes in two types, command line interface and graphical user interface. CLA mg UI for short. You can log in with a CLA mode that are in redhead we have six virtual consoles or command line mode that can be switched by pressing the command control or f1 f2 f3 f4 f5 ns f6 six versal virtual consoles by changing the f1 to f6 and Ctrl Alt you can switch to graphical console by typing Ctrl or f7.

So in total, it has seven countries Close six virtual or command line and one graphical console. If you're interested in switching to graphical console, but it is a inactive, you can start it manually by just typing a start x sta RT x in any of the Virtual Console, the graphical mode, the default genome mode will start. So logging is simply by providing username and password and accessing your next up. graphical mode comes in two types, the genome and KD genome is default in real or Red Hat Enterprise Linux. And these two are covered under the concept of X Window. These are X Window options, which is usually associated with graphical or bitmap display.

Which can be configured. By using any of the two, you can install kte in place of genome. Actually, when you are using Mac or Windows, you get by default in G y mode which you cannot change. But with Linux, you can change it or even delete the graphical mode that's on you. To access a genome terminal, you can move to applications, accessories and terminal application is visible. On the screen the first screen on the desktop the homepage, on the top left corner, application is their move to application.

Hit the SSRS option and go to terminal or you can either type the word terminal or T or it will pop up on the screen Ctrl Shift t creates a new tab new session for terminal a new terminal control page up or page down switches new or previous tabs Ctrl Shift c copies selected text Ctrl Shift v paste a text on the prompt. It is different from Ctrl C and Ctrl V in Windows you need to type Ctrl Shift C and Ctrl Shift v shift plus page up or page down this calls you up and down I screen at a time. So these are the few shortcuts. When you are using terminal or Command Prompt. You can say on Windows. When you are logged in, you can change a user's password by simply writing password command p A SS WD no RS In between, or Oh in between.

When you type pa SS WD password command on the screen, it asks you the user name, the user name is actually whatever user you are logged in, that user is cached by default. You need to provide the old password a new password or with the GI mode, you can go to System Preferences about me and click on the Change Password. These are the two options. The very basic thing is that when you see a Linux terminal, there are two different signs which may appear to you on the screen. When you see $1 symbol, starting with every session on the every line starting at every line of the commands you execute, it is denoted that you are a non root user root is super admin or a special administrative account that is called super user, which is denoted by pound symbol or hash. When hash is there, you can know that root is being running the system.

When dollar is there, you have limited access to this system, limited rights, but route has all the rights. So, route has a near complete control over the system almost every control which is good if you are required, requiring certain facilities if you are a database administrator, or a system engineer or expert root user would be your preference, but it has nearly unlimited capacity to damage the system. Don't allow every user the root access access create multiple accounts Non root and allow them limited access, you can change the permissions and allow them only limited permissions. The permissions could be read write and execute permissions, which we will learn later, we will be setting permissions to various files for various users. It is very interesting. We can switch user for example.

Currently, I'm logged in as my name that is not a root user and a harsher account. And I want to change it to root or some other account. We don't need to log out from this session, we just simply need to open a terminal and type a command as you switch user. Just simply type Su, if you want a root access and just provide a password for the root and you will be logged in, or your session would change as root access. But if you want to access other users account, just write the name of other users. Press Enter, and then provide the password for that user.

When you are root and you want to access other users account, you don't need to provide password at all. However, it may ask you the sudo command is used to execute a certain command as root. Suppose I am logged in with non root account, say Andrew and I want to execute certain command that requires root access or root permission. So I don't need to log in with root I simply write su do sudo before that command, for example, I interested in running ls command. So sudo LS would be my syntax It will execute as root, but it has certain restrictions, root could block certain commands that could not be run from the client side. from other users.

There is another command called ID, which shows information of the current user. You can use that thing. Here comes three more command. One more command that has a history. History is useful when you want to learn about the previously tagged commands on your terminal. It creates a list of all the commands that were executed.

You can use it for proof, proof of work. For example, if you if you assign other person, your duty, for say, 10 minutes, you need to go to washroom. After 10 minutes when you arrive on the system, you suspect that he may have executed written explicit content or not writing you can press the history command and see a list of commands that is executed. If you want to check our last n number of commands say last 10 commands, just simply type history is paste the number. History seven would list seven commands history five will place five commands, or just typing history will list all the commands pressed from the installation of the computer or device. in Linux, or RTL, we get three default editors text editors, like the G editor, g edit, WAV, V, I am vi RGB, I am No graphical editor.

Here you can create your files, edit those file. And you could also execute that thing. Vi M is an advanced Full Feature editor, it is more advanced than g edit and GBM, the graphical versions, g vi m allows you regular expression and various things that you can access right from your terminal. Mostly next users use this utility. We will be trying all the commands we are learning here in the practical sessions. So, clearly was those practical sessions and try it yourself on your own Red Hat environment.

And if you have any doubt, you can ask it keep learning and keep moving ahead and implement your the concept you're learning here.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.