To receive LPIC 101, you must remember the commands and their options and subcommands. Most of the option subcommands are hijacked in English, so it's not difficult if you get the hang of it.
Example: -i → Abbreviation for information. Display information. Abbreviation for -l → list. List display. etc
However, there are option subcommands that are difficult to think of with such ordinary English rules, and it seems that LPIC is likely to be asked as a problem. This time, I would like to pick up and post commands that I find particularly easy to make mistakes and difficult to remember.
(I personally thought it was easy to make a mistake and it was hard to remember. Some people don't think it's easy to make a mistake, and it may be easier to make a mistake with another command option than the one posted. Please note that.)
cp
option | content |
---|---|
-i | If there is a file with the same name in the copy destination, check whether to overwrite it |
-d | When copying a symbolic link, copy the entity |
-a | Copy the original file attributes and directory structure as much as possible |
cut
option | content |
---|---|
-c | Specify the character position to extract |
-d | Specify the delimiter |
egrep
option | content |
---|---|
-v | Show unmatched lines |
fdisk
subcommand | content |
---|---|
m | List of available commands |
n | Create partition |
p | Display partition table |
find
option | content |
---|---|
type -l | Search for symbolic links |
fsck
option | content |
---|---|
-N | Only the content to be executed is displayed without actually executing it. |
grep
option | content |
---|---|
-c | Show only the number of matching rows |
-v | Show unmatched lines |
-i | Search case-insensitive |
mkdir
option | content |
---|---|
-m | Create a directory with permissions |
-p(--parents) | Created if the described directory does not exist without displaying an error |
rpm
option (suboption) | content |
---|---|
-e(--erase) | Uninstall package |
-c(--configfiles) | Show only configuration file |
I am studying LPIC, so I will add it if necessary.
https://eng-entrance.com/linux-command-mkdir https://eng-entrance.com/linux-command-cut https://eng-entrance.com/linux-command-grep https://xtech.nikkei.com/it/article/COLUMN/20060227/230775/ https://qiita.com/kyohmizu/items/923844999018fd456d44
Recommended Posts