Я вошел в систему с ssh, в компьютер в нашей лаборатории. Я хотел бы скопировать .txt оттуда, к моему ноутбуку дома. Итак, я сделал:
root@hostname:/home/gsamaras/konstantis/cholesky# scp gsamaras@hostname.gr:konstantis/cholesky/o_755.txt /
o_755.txt 100% 23KB 22.6KB/s 00:00
root@hostname:/home/gsamaras/konstantis/cholesky# scp gsamaras@hostname.gr:konstantis/cholesky/o_755.txt /home/gsamaras
o_755.txt 100% 23KB 22.6KB/s 00:00
С помощью обеих попыток я не смог найти файл. Куда он пошел? Более того, теперь я думаю, что два из них должны существовать, и я не хочу оставлять остатки.
Вот что я проверил:
gsamaras@gsamaras:~$ pwd
/home/gsamaras
gsamaras@gsamaras:~$ ls
Desktop Music Templates
Documents Pictures ubuntu_May_2015.zip
Downloads Public Videos
examples.desktop skype-ubuntu-precise_4.3.0.37-1_i386.deb
gsamaras@gsamaras:~$ ls /
bin dev initrd.img lib64 mnt root srv usr vmlinuz.old
boot etc initrd.img.old lost+found opt run sys var
cdrom home lib media proc sbin tmp vmlinuz
gsamaras@gsamaras:~$