Create tar.gz file with tar command
tar -czvf filename.tar.gz /path/to/folder
Untar tar.gz file
tar -zxvf filename.tar.gz /path/to/folder
Create tar.gz file with tar command
tar -czvf filename.tar.gz /path/to/folder
Untar tar.gz file
tar -zxvf filename.tar.gz /path/to/folder
Drop all series
DROP SERIES FROM /.*/
Drop all series starting with A
DROP SERIES FROM /^A+/
Docker Logs Grep
docker logs nginx 2>&1 | grep "127."
Last 1000 entries in docker logs
docker logs -f --tail 1000 container_name
/* | |
Calculation of Floating Debris Index (FDI) | |
For more information see https://www.nature.com/articles/s41598-020-62298-z | |
*/ | |
// S-2A Central Wavelength (nm) | |
const waveLengthRed = 664.6 | |
const waveLengthNIR = 832.8 | |
const waveLengthSWIR = 1613.7 |
/* | |
Calculation of Floating Debris Index (FDI) | |
For more information see https://www.nature.com/articles/s41598-020-62298-z | |
*/ | |
// S-2A Central Wavelength (nm) | |
const waveLengthRed = 664.6 | |
const waveLengthNIR = 832.8 | |
const waveLengthSWIR = 1613.7 |
Split one file into multiple files
split -l 250000 words.csv
Too many open files
ulimit -Sn 10000