I tried to summarize the commands often used in business

Introduction

Since I will be doing log surveys in my business, I have summarized the commands that I often use at that time.

grep command

This command searches for a character string in a file.

Basic usage

grep option"Search string"file name

option

Option name Description
-v Search for inconsistencies
-e Use the specified regular expression for match processing

cut command

This command splits a text file horizontally.

Basic usage

You can specify the required number of bytes or get the contents of the file with the delimiter.

cut option filename

option

Option name Description
-v You can specify the delimiter
-e You can specify the required items by the number of items

sort command

A command that allows you to sort the data in ascending order.

Basic usage

sort filename

uniq command

This command allows you to delete duplicate rows in a pre-sorted state with sort.

Basic usage

uniq filename

scp command

This command is used to copy files between a remote machine and a local machine, or between remote machines.

Basic usage

scp username@Remote host name:Remote files you want to copy Local copy destination

Recommended Posts

I tried to summarize the commands often used in business
I tried to summarize the code often used in Pandas
I tried to summarize the commands used by beginner engineers today
I tried to summarize the Linux commands used by beginner engineers today-Part 1-
I tried to summarize the methods that are often used when implementing basic algo in Quantx Factory
I tried to summarize the umask command
I tried to summarize the graphical modeling.
I tried to summarize the frequently used implementation method of pytest-mock
LeetCode I tried to summarize the simple ones
[Python] I tried to summarize the set type (set) in an easy-to-understand manner.
I tried to summarize SparseMatrix
I tried to graph the packages installed in Python
I tried to summarize the basic form of GPLVM
I tried to summarize how to use pandas in python
I tried to summarize the string operations of Python
I tried to organize the evaluation indexes used in machine learning (regression model)
I tried to summarize the operations that are likely to be used with numpy-stl
I tried to summarize all the Python plots used in the research by active science graduate students [Basic]
[First COTOHA API] I tried to summarize the old story
Commands often used in the development environment during Python implementation
I tried to illustrate the time and time in C language
I tried to summarize the new coronavirus infected people in Ichikawa City, Chiba Prefecture
I tried to implement the mail sending function in Python
[Machine learning] I tried to summarize the theory of Adaboost
I tried to summarize all the Python visualization tools used in research by active science graduate students [Application]
I tried to move the ball
I tried to estimate the interval.
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
I tried to describe the traffic in real time with WebSocket
[Linux] I tried to summarize the command of resource confirmation system
I tried to process the image in "sketch style" with OpenCV
I tried to process the image in "pencil style" with OpenCV
I tried to summarize Python exception handling
I tried to implement PLSA in Python
I tried to implement permutation in Python
Disk-related commands often used in Ubuntu (memories)
I tried to recognize the wake word
I tried to implement PLSA in Python 2
I tried to implement ADALINE in Python
I tried to estimate the pi stochastically
I tried to touch the COTOHA API
I tried to implement PPO in Python
I tried to summarize Ansible modules-Linux edition
I tried to summarize the contents of each package saved by Python pip in one line
I tried to summarize until I quit the bank and became an engineer
I tried transcribing the news of the example business integration to Amazon Transcribe
I tried to summarize the general flow up to service creation by self-education.
Commands often used in the terminal (EC2 server) (for your own viewing)
I tried to summarize Cpaw Level1 & Level2 Write Up in an easy-to-understand manner
I tried to summarize various sentences using the automatic summarization API "summpy"
I tried to summarize the logical way of thinking about object orientation.
I tried to summarize Cpaw Level 3 Write Up in an easy-to-understand manner
I tried to display the altitude value of DTM in a graph
I implemented the VGG16 model in Keras and tried to identify CIFAR10
I tried to train the RWA (Recurrent Weighted Average) model in Keras
I tried to put PyCharm in Ubuntu 16.04 LTS (PPA cannot be used)
I tried web scraping to analyze the lyrics.
I tried to optimize while drying the laundry
I tried to save the data with discord
I tried to integrate with Keras in TFv1.1