find . -type f -exec cat {} \;To access VM from your local machine in Virtual Machine
vim /etc/ssh/sshd_config- edit the line
PermitRootLogin yes- check VM ip address
ip addr showon your machine
ssh root@{vm-ip-address}To know the distribution of the machine
cat /etc/os-releaseto remove all files and directories but one
shopt -s extglob
rm -rf !("filename")