[LINUX] [LPIC 101] I tried to summarize the command options that are easy to make a mistake

Introduction

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

Finally

I am studying LPIC, so I will add it if necessary.

reference

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

[LPIC 101] I tried to summarize the command options that are easy to make a mistake
I tried to summarize the umask command
I tried to make a site that makes it easy to see the update information of Azure
[Python] I tried to make a simple program that works on the command line using argparse.
I tried to summarize the operations that are likely to be used with numpy-stl
[Linux] I tried to summarize the command of resource confirmation system
I tried to make a system that fetches only deleted tweets
I tried to summarize the graphical modeling.
I tried to make a Web API
Bug that unnecessary files are created when the -i and -e options are added to the sed command.
I tried to make a skill that Alexa will return as cold
LeetCode I tried to summarize the simple ones
I tried to make a ○ ✕ game using TensorFlow
I tried to summarize the methods that are often used when implementing basic algo in Quantx Factory
[Python] I tried to make a Shiritori AI that enhances vocabulary through battles
I tried to make a translation BOT that works on Discord using googletrans
I tried to make a dictionary function that does not distinguish between cases
[Python] I tried to analyze the characteristics of thumbnails that are easy to play on YouTube by deep learning
I tried to make a "fucking big literary converter"
I tried to summarize the basic form of GPLVM
I made a command to markdown the table clipboard
I tried to summarize the string operations of Python
I tried to make something like a chatbot with the Seq2Seq model of TensorFlow
I tried to make a memo app that can be pomodoro, but a reflection record
A Python beginner made a chat bot, so I tried to summarize how to make it.
I tried to make it easy to change the setting of authenticated Proxy on Jupyter
I tried to summarize SparseMatrix
[First COTOHA API] I tried to summarize the old story
I tried to summarize the code often used in Pandas
I tried to summarize the commands often used in business
[Machine learning] I tried to summarize the theory of Adaboost
I tried to make a stopwatch using tkinter in python
I tried to make a simple text editor using PyQt
I tried to summarize how to use the EPEL repository again
I tried to summarize what python strong people are doing in the competition professional neighborhood
[1 hour challenge] I tried to make a fortune-telling site that is too suitable with Python
I tried to make a document search slack command using Kendra announced at re: Invent 2019.
I tried to make a generator that generates a C # container class from CSV with Python
I tried to make a bot that randomly acquires Wikipedia articles and tweets once a day
I tried to summarize the languages that beginners should learn from now on by purpose
I tried to make a function to judge whether the major stock exchanges in the world are daylight saving time with python
[5th] I tried to make a certain authenticator-like tool with python
I tried to make an activity that collectively sets location information
[Flask] I tried to summarize the "docker-compose configuration" that can be created quickly for web applications
[2nd] I tried to make a certain authenticator-like tool with python
I tried to make a regular expression of "amount" using Python
[Python] I tried to implement stable sorting, so make a note
I tried to make a regular expression of "time" using Python
[3rd] I tried to make a certain authenticator-like tool with python
[Python] A memo that I tried to get started with asyncio
How to make a command to read the configuration file with pyramid
I tried to make a regular expression of "date" using Python
I tried to make a periodical process with Selenium and Python
I tried to register a station on the IoT platform "Rimotte"
I tried to make a 2channel post notification application with Python
I tried to summarize the commands used by beginner engineers today
I tried to find out the difference between A + = B and A = A + B in Python, so make a note
I tried to make a todo application using bottle with python
[4th] I tried to make a certain authenticator-like tool with python
I tried to cut out a still image from the video
A story that didn't work when I tried to log in with the Python requests module