The tee command works like the shape of the capital alphabet 'T' that takes input from one source and can store the output in the multiple locations.