I need to move file to a directory named after a parameter.
So far im stuck on how to moving file to the directory.
mkdir "$3" cat /dev/urandom | tr -dc A-Za-z0-9 | head -c 255 > $(shuf -n 1 /usr/share/dict/french)
So far this works but now I need to move this file to the directory user has specified in parameter
$3. Ive tried with a
find command selecting files created
n seconds ago but this is really not efficient as it can select other files too.