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
€48.03
List Price:  €67.24
You save:  €19.21
£39.77
List Price:  £55.68
You save:  £15.91
CA$71.90
List Price:  CA$100.66
You save:  CA$28.76
A$79.87
List Price:  A$111.82
You save:  A$31.95
S$67.76
List Price:  S$94.88
You save:  S$27.11
HK$388.39
List Price:  HK$543.79
You save:  HK$155.39
CHF 44.76
List Price:  CHF 62.67
You save:  CHF 17.91
NOK kr565.88
List Price:  NOK kr792.28
You save:  NOK kr226.40
DKK kr358.23
List Price:  DKK kr501.55
You save:  DKK kr143.32
NZ$88.36
List Price:  NZ$123.71
You save:  NZ$35.35
د.إ183.61
List Price:  د.إ257.07
You save:  د.إ73.45
৳5,948.35
List Price:  ৳8,328.16
You save:  ৳2,379.81
₹4,255.48
List Price:  ₹5,958.01
You save:  ₹1,702.53
RM224.45
List Price:  RM314.25
You save:  RM89.80
₦77,307.03
List Price:  ₦108,236.03
You save:  ₦30,929
₨13,855.41
List Price:  ₨19,398.69
You save:  ₨5,543.27
฿1,710.05
List Price:  ฿2,394.21
You save:  ฿684.16
₺1,760.62
List Price:  ₺2,465.01
You save:  ₺704.39
B$304.36
List Price:  B$426.13
You save:  B$121.77
R921.37
List Price:  R1,290
You save:  R368.62
Лв93.78
List Price:  Лв131.30
You save:  Лв37.52
₩72,554.44
List Price:  ₩101,582.03
You save:  ₩29,027.58
₪181.80
List Price:  ₪254.54
You save:  ₪72.73
₱2,927.63
List Price:  ₱4,098.92
You save:  ₱1,171.28
¥7,833.39
List Price:  ¥10,967.38
You save:  ¥3,133.98
MX$1,004.59
List Price:  MX$1,406.50
You save:  MX$401.91
QR181.46
List Price:  QR254.06
You save:  QR72.59
P688
List Price:  P963.25
You save:  P275.25
KSh6,466.20
List Price:  KSh9,053.20
You save:  KSh2,587
E£2,548.98
List Price:  E£3,568.78
You save:  E£1,019.79
ብር6,205.09
List Price:  ብር8,687.63
You save:  ብር2,482.53
Kz45,890.82
List Price:  Kz64,250.82
You save:  Kz18,360
CLP$49,495.04
List Price:  CLP$69,297.02
You save:  CLP$19,801.98
CN¥364.88
List Price:  CN¥510.87
You save:  CN¥145.98
RD$3,031.17
List Price:  RD$4,243.89
You save:  RD$1,212.71
DA6,739.39
List Price:  DA9,435.69
You save:  DA2,696.29
FJ$115.74
List Price:  FJ$162.05
You save:  FJ$46.30
Q383.54
List Price:  Q536.99
You save:  Q153.44
GY$10,414.16
List Price:  GY$14,580.66
You save:  GY$4,166.49
ISK kr6,969.10
List Price:  ISK kr9,757.30
You save:  ISK kr2,788.20
DH500.98
List Price:  DH701.41
You save:  DH200.43
L922.32
List Price:  L1,291.33
You save:  L369
ден2,953.66
List Price:  ден4,135.36
You save:  ден1,181.70
MOP$398.49
List Price:  MOP$557.92
You save:  MOP$159.43
N$916.42
List Price:  N$1,283.07
You save:  N$366.64
C$1,831.73
List Price:  C$2,564.57
You save:  C$732.84
रु6,771
List Price:  रु9,479.94
You save:  रु2,708.94
S/185.35
List Price:  S/259.51
You save:  S/74.15
K201.85
List Price:  K282.61
You save:  K80.75
SAR187.83
List Price:  SAR262.99
You save:  SAR75.15
ZK1,377.58
List Price:  ZK1,928.73
You save:  ZK551.14
L239
List Price:  L334.62
You save:  L95.62
Kč1,207.24
List Price:  Kč1,690.23
You save:  Kč482.99
Ft19,915.06
List Price:  Ft27,882.67
You save:  Ft7,967.61
SEK kr551.56
List Price:  SEK kr772.23
You save:  SEK kr220.66
ARS$51,102.27
List Price:  ARS$71,547.27
You save:  ARS$20,445
Bs343.97
List Price:  Bs481.59
You save:  Bs137.61
COP$218,480.73
List Price:  COP$305,890.51
You save:  COP$87,409.77
₡25,114.53
List Price:  ₡35,162.35
You save:  ₡10,047.82
L1,263.58
List Price:  L1,769.11
You save:  L505.53
₲388,143.81
List Price:  ₲543,432.39
You save:  ₲155,288.58
$U2,236.96
List Price:  $U3,131.93
You save:  $U894.96
zł204.70
List Price:  zł286.59
You save:  zł81.89
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.