I have 100 names no passwords and i have to create accounts for them under directory /home/top100
how do I do this? Because using useradd 100 times does not sound fun, and even if i did, I have no clue how o make the accounts appear under /home/top100/ directory.
useradd -d /home/top100 ${user}assuming this directory already exists – MelBurslan Feb 10 '16 at 23:25