ssh username@ip
Example:
scp -r /path/to/local/dir user@remotehost:/path/to/remote/dir
Example:
scp -r /Users/suma/Downloads [email protected]:~/home
Manage hard disk
sudo fdisk /dev/sda
Remove directory
sudo rmdir /media/nextcloud/
Remove directory & data
sudo rm -r /media/nextcloud/
Move directory & data
sudo mv /var/snap/nextcloud/common/nextcloud/data /media/nextcloud/
Show hard disks