Reputation: 1045
as a fresh user in Hadoop, I found that when I connect to the virtualBox I can only use vi. If I type 'vim' it will shows that -bash: vim: command not found
. So is there anyone who can tell me that how can I use vim in the sandbox? Thank you guys.
PS: I use a Mac,vm information: Name: Hortonworks Sandbox 2.1 , OS: Red Hat(64 bit) .
Upvotes: 1
Views: 493
Reputation: 4111
You should install it first. On CentOS/Red Hat:
sudo yum install vim-X11 vim-common vim-enhanced vim-minimal
Upvotes: 3