Uninstall Vagrant on Ubuntu

Uninstall just vagrant

This will remove just the vagrant package itself.

sudo apt-get remove vagrant

Uninstall vagrant and its dependencies

To remove the vagrant package and any other dependant package which are no longer needed from Ubuntu.

sudo apt-get remove --auto-remove vagrant

Purging vagrant (your config/data too)

If you also want to delete your local/config files for vagrant then this will work.

sudo apt-get purge vagrant

To delete configuration and/or data files of vagrant and it's dependencies from Ubuntu then execute.

sudo apt-get purge --auto-remove vagrant

Bash Shortcuts

CTRL + AMove to the start of the line.
CTRL + EMove to the end of the line.
CTRL + BMove back one character.
CTRL + FMove forward one character.
CTRL + DDelete one character after cursor.
CTRL + HDelete one character after cursor.
CTRL + UDelete from the cursor to the beginning of the line.
CTRL + KDelete from the cursor to the end of the line.
CTRL + WDelete from the cursor to the start of the word.
!!Execute last command in history.
!nExecute nth command in history.
!$Last argument of last command.
!^First argument of last command.

C# and RabbitMQ PubSub Example

Before you run the following C# code, run the below docker code to have a RabbitMQ applicaton locally.

docker run -d –hostname my-rabbit –name some-rabbit -p 8080:15672 -p 5672:5672 rabbitmq:3-management

After run Docker RabbitMQ container, you can reach from http://localhost:8080/ as shown in following picture.