This article will guide you on how to easily shut down your #Ubuntu 20.04 system. Here you will learn different methods will eventually cause your Ubuntu 20.04 #system to shut down.
There's nothing different in running sudo #reboot in a instance versus on your own server. This action shouldn't cause any problems. I believe the author was worried if the disk is persistent or not. Yes you can shutdown/start/reboot the instance and your data will persist.
If your system fails to boot for whatever reason, it may be useful to boot it into recovery mode. This mode just loads some basic services and drops you into command line mode. You are then logged in as root (the superuser) and can repair your system using command line tools.
To remove all #files from a directory in #Linux:
1. Open the terminal #application.
2. To delete everything in a #directory run: rm /path/to/dir/*
3. To remove all sub-directories and files: rm -r /path/to/dir/*