Kali Linux live system does not have any persistent file system as default. If you would like to store the data on the live system, you may need external storage such as NAS(Network Attached Storage). The following mount.cifs command mounts a NAS file system to /mnt directory.
$sudo mount.cifs //192.168.0.10/home /mnt -o username=share-user Password for share-user@//192.168.0.10/home: *******
where //192.168.0.10/home is the NAS IP address and shared directory, /mnt is the mounting point, and “share-user” is the NAS account name.
Since kali account does not have the write permission to /mnt, The write access to mounted directory requires sudo.
$sudo cp foo.txt /mnt/
To unmount the mounted NAS shared directory, use the umount command.
$sudo umount /mnt