[Schoo] LPIC/LinuC (Level 1) Exam Preparation - 7th and 8th - [Learning Record]

lpic

Well, today I am still taking LPIC classes at schoo.

There are 35 sessions in total, so it's quite a large volume, but as you study while typing the commands, you still feel like you're learning.

I learned a lot, including the difference between environment variables and shell variables, which I only had a vague understanding of until now, and the intricate ways of using vi.

When I used Java in the past, I just set the PATH variable and it worked, so it was OK...

7th

The following commands are fun to use as practice commands for vi, as they allow you to perform normal terminal operations in a vi-like manner.
$ set -o vi

8th

Advanced usage of vi, such as searching and replacing.

About shell variables.

Shell variables are only accessible from the shell in which they are defined.

environmental variables

They are essentially the same as shell variables. Environment variables can be accessed from shells other than the one in which they were defined.
Some variables are reserved, such as the PATH variable.

The $ mark is used to indicate the value of a variable.

When you no longer use a variable, you need to remove it with unset.
The same effect can be achieved by assigning null to a defined variable.

summary

Of course, if you're just starting out, it's a good idea to type in the commands as you go.

You can create a virtual server locally, but I use a VPS. I log in to the VPS via ssh and tinker around with it.

With Digital Ocean, if you make a small mistake in your configuration, you can just delete the entire (virtual) server and recreate it, in just a few minutes.

It costs a little bit of money, but even if you keep the server running for a month, it's about 51 TP4T per month, and if you delete the server after each study, it's almost free.PlayI can study.

comment

Copied title and URL