vagrant up
Creates a new virtual machine as described in the Vagrantfile
. See the vagrant doc for more information.
vagrant ssh
Uses ssh to log you into the virtual machine you made with vagrant up. Must be run from the directory containing the vagrantfile or a subdirectory beneath it.
sudo su -
See this answer
tail -f /var/log/messages
The linux tail command prints the last 10 lines of the file. The -f flag with a filename appends data to the output as the file grows. So its a way of seeing the log output in real time as the log is being written to.
You can get help for linux system commands using man <<command>>
.
For vagrant commands you can use vagrant <COMMAND> --help