Attach words horizontally using shell scripting

To paste contents of two files horizontally, paste command can be used.
Create a file called cmd with the following content:
# cat cmd

Create another file called newusers
# cat newusers

Now run the following command
# paste -d ” ” cmds newusers >

The -d ” ” seperates the contents by single space insetad of a tab. Check the final output
# cat
/usr/sbin/useradd tom
/usr/sbin/useradd dick
/usr/sbin/useradd harry