- [webs@webshop ~]$ vim ssh_banner
- -bash: vim: command not found
- [webs@webshop ~]$ yum list installed vim*
- Loaded plugins: fastestmirror
- Loading mirror speeds from cached hostfile
- * base: mirror.yourwebhoster.eu
- * extras: centos.mirror.transip.nl
- * updates: centos.mirror.transip.nl
- Installed Packages
- vim-common.i686 2:7.2.411-1.8.el6 @base
- vim-minimal.i686 2:7.2.411-1.8.el6 @base
- [webs@webshop ~]$ echo $PATH
- /usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/webs/bin
- [webs@webshop ~]$ sudo less /var/log/messages
- [sudo] password for webs:
- [webs@webshop ~]$ whereis vim
- vim: /usr/share/vim /usr/share/man/man1/vim.1.gz
- [webs@webshop ~]$ sudo ln -s /usr/share/vim /usr/bin/vim -v
- `/usr/bin/vim' -> `/usr/share/vim'
- [webs@webshop ~]$ vim ssh_banner
- -bash: vim: command not found
wat
Posted by Anonymous on Fri 24th Jan 2014 00:10
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.