To restart your machine :
sudo reboot
To see a list of files and folders in Directory simple:
ls
To see a list of files and folders in Directory with complete detail as list :
ls -la
To see a list of files and folders in Directory with complete detail as list :
ls -la