Shell hacks
Hacky tools and ways to do things
July 23,2024
last update: 2025-03-29
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
Hacky tools and ways to do things
July 23,2024
last update: 2025-03-29
wc -l file.txt
split -l 1000 file.txt
cat file1.txt file2.txt > file3.txt