Page is a Work in progress
The purpose of this page is to reflect all useful commands I have come across and have used as a one off or has become a staple.
Copying one file into many files
At one point I had to replace 600 symbolic links which all had the same contents of one file but it was 600 unique filenames. First command tee.
What does tee do?
TEE(1) User Commands TEE(1)
tee - read from standard input and write to standard output and files
tee [OPTION]... [FILE]...
Copy standard input to each FILE, and also to standard output.
append to the given FILEs, do not overwrite
ignore interrupt signals
--help display this help and exit
output version information and exit
If a FILE is -, copy again to standard output.
How its used. Lets say you have a file called test.txt and you need to make 10 copies.
Now that the files are made, its time to rename every single file but how?