how to move file with same name as folder
#ls total 2 . .. -rwxr-xr-x 1 root root 230 Jan 16 10:39 food <file to move> drwx--x--x 12 root root 4096 Jan 16 11:25 food <directory>
i want to move food into food directory.
final output should be
when i use
#mv food food/food.ini there an error
mv: cannot move `food' to a subdirectory of itself, `food/food.ini'
this file created using following commands:
cp foods1 ../food
where food folder is available at parent directory.
i can move using webmin. but the file not exists when trying to edit using vi editor.