More on the above and maybe a little solution (in bash):
# make a file
[~]$ touch some_folder
# make a folder with the same name (won't work)
[~]$ mkdir some_folder
mkdir: can't create directory 'some_folder': File exists
# okay so instead make a _tmp folder, move the file(s) in there, then rename the _tmp folder to intended name
[~]$ mkdir _tmp; mv some* $_; mv $_ some_folder
# here's the folder
[~]$ ls
some_folder
# here's the contents of it
[~]$ ls some_folder/
some_folder
$_ in bash is the last parameter given to the previous command.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
More on the above and maybe a little solution (in bash):
$_
in bash is the last parameter given to the previous command.