Skip to main content

Thread: mv command deletes file


when i'm trying move file new location file disappears.

code:
ras@ras-vostro-1015:~/desktop$ ls -a .  ..  randomfile.txt ras@ras-vostro-1015:~/desktop$ sudo mv randomfile.txt /documents  ras@ras-vostro-1015:~/desktop$ cd ras@ras-vostro-1015:~$ cd documents/ ras@ras-vostro-1015:~/documents$ ls -a .  .. ras@ras-vostro-1015:~/documents$
the file not in desktop, documents or in trash

by looks of moving /document not ~/documents sudo command might moving /root/documents if files don't need use sudo

--edit--

tried command , did move /documents not /home/user/documents

file in root filesystem


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] mv command deletes file


Ubuntu

Comments

Popular posts from this blog

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

Multilanguage infinite redirect loop error. - Joomla! Forum - community, help and support

trim media limit reached