Linux commands that you often forget

Updated from time to time

How to find a file

Do not search with/etc., go to the place where the file you want to search will be included (even recursively)

find . -name  "*.log"

And. Reference Saba note | Recursive search using find or grep

Receive and execute command results one by one

If you want to run all the .py files in that directory one by one. (I don't know if that happens)


ls  *.py | xargs -I {} python {} 

Reference: [xargs] command-Create and execute command line: Linux basic command Tips (176) -@IT

Automatically check for file updates

When viewing some files

watch ls -ltr

When checking the contents of the file to be added with only one file

File name like less

After that, enter F to see the update at any time. Suspended with ctrl-C

Recommended Posts

Linux commands that you often forget
Personal notes-Memo that you often forget and look up 2016.10
Linux commands
Linux commands
linux commands
Linux commands
Linux commands
Network Linux commands
Linux user commands
New Linux commands! !!
Basic LINUX commands
Various Linux commands
Typical Linux commands (7)
A memorandum of filter commands that you might forget in an instant
An app that you must put in Linux
Summary of Linux (UNIX) commands that appeared in Progate
Frequently used Linux commands
Frequently used Linux commands
Linux commands to remember
New Linux commands! !! Part 2
python Condition extraction from a list that I often forget
A memorandum that you will often use in Python's Selenium
Studying Linux commands and frustration
Explaining the mechanism of Linux that you do not know unexpectedly
I made a LINE stamp where you can study Linux commands
Validation and verification that you forget 50,000 times a year in 3 lines.