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