1. $sudo apt-get install vim
2. Navigation when in VIM editor
Hit escape before executing any of the below:
Once the environment variable are set.
Source the .bashrc file and check whether environment variables are set or not.
(How to source : Go to your application folder and enter
source ~/.bashrc
The above sources your .bashrc file.)
For instance if you have set LDAP_HOST.
Then enter
$echo $LDAP_HOST
The above command should return the value you applied to it.
e.g. it would give. (in .bashrc you have, export LDAP_HOST=anyhost)
anyhost
2. Navigation when in VIM editor
Hit escape before executing any of the below:
:q
to quit:q!
to quit without saving:wq
to write and quit:qa
to quit all
Once the environment variable are set.
Source the .bashrc file and check whether environment variables are set or not.
(How to source : Go to your application folder and enter
source ~/.bashrc
The above sources your .bashrc file.)
For instance if you have set LDAP_HOST.
Then enter
$echo $LDAP_HOST
The above command should return the value you applied to it.
e.g. it would give. (in .bashrc you have, export LDAP_HOST=anyhost)
anyhost
No comments:
Post a Comment