🐚

Shell hacks

Hacky tools and ways to do things

number of lines in a file

wc -l file.txt

split file into multiple files

split -l 1000 file.txt

append two files into one

cat file1.txt file2.txt > file3.txt