09-04-2014
When you relogin, all your envirnment is reset to YOUR values... Not just some
and executing a file like the one you are trying is not the thing to do unless you know what is inside for it will if same variable exists as in your environment replace them with the latter... Explaining the mess you get in...
You should read carefully its content and try to understand what you want you dont already have and which ones affect your env and if you can comment them out...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
When I run a bash script in the customer system, it throws the warning and script exits
Exec '/root/sample.sh' @ hostname-- OK
(warn) /root/sample.sh: pipe error: Too many open files in system
/root/sample.sh: n + : syntax error: operand expected (error token is " ")
Exec... (5 Replies)
Discussion started by: vidhyamirra
5 Replies
2. Solaris
I downloaded vim.7.2 and compiled the vim source .
Added the vim binary path to PATH (Because iam not the root of the box)
when i load the file using vim it throws me an error
Error detected while processing /home2/e3003091/.vimrc:
line 2:
E185: Cannot find color scheme darkblue
line... (0 Replies)
Discussion started by: girija
0 Replies
3. UNIX for Dummies Questions & Answers
Is there a way to use Vim or Ex to rename all files in a folder? For example if i have a folder with Apples1.txt, Apples2.txt, Apples3.txt, could I rename all files so they are Oranges1.txt, Oranges2.txt, Oranges3.txt ?
I know with :bufdo %s/apples/oranges/g|update you can do this for inside... (5 Replies)
Discussion started by: VimNewUser
5 Replies
4. Shell Programming and Scripting
Dear Unix user,
I'm using putty 0.60 (on Windows Vista) to connect by ssh protocol to other Linux computer.
I have a problem with VI/VIM. When I key button "n" or "b", it returns me n^Z or b^Z.
What could the problem be?!
Thanx a lot,
Maria Elena (0 Replies)
Discussion started by: mesana
0 Replies
5. Linux
Dear Unix user,
I'm using putty 0.60 (on Windows Vista) to connect by ssh protocol to other Linux computer.
I have a problem with VI/VIM. When I key button "n" or "b", it returns me n^Z or b^Z.
What could the problem be?!
Thanx a lot,
Maria Elena (0 Replies)
Discussion started by: mesana
0 Replies
6. UNIX for Dummies Questions & Answers
Dear Unix user,
I'm using putty 0.60 (on Windows Vista) to connect by ssh protocol to other Linux computer.
I have a problem with VI/VIM. When I key button "n" or "b", it returns me n^Z or b^Z.
What could the problem be?!
Thanx a lot,
Maria Elena (7 Replies)
Discussion started by: mesana
7 Replies
7. OS X (Apple)
I have MacOSX 10.6, I cannot open this more than 24hours, Google is also not helpful.
pubxx-xxx:~ xxx$ cd ~/.vim
-bash: cd: /Users/xxx/.vim: No such file or directory
pubxx-xxx:~ xxx$
PLEASE HELP!!!
Thanks (1 Reply)
Discussion started by: c_lady
1 Replies
8. UNIX for Dummies Questions & Answers
Hello, I have a problem comparing two files, both .csv. One file, let's call it files.csv, contains a list of thousands of file names for models of molecules that have made it through an optimization process. The other file, formulas.csv, contains file names for the same kind of models, and has... (2 Replies)
Discussion started by: Stuart Ness
2 Replies
9. UNIX for Beginners Questions & Answers
Hi Friends,
Every I try to open a vi window vim help.txt automatically opens evertime.
After doing ZZ or :q! also the same page opens automatically.
How to stop this? Is it machine specific ? Other users who are opening the same servers and files are not facing this issue.
Thanks... (1 Reply)
Discussion started by: sudiptabhaskar
1 Replies
10. Shell Programming and Scripting
Hi Friends,
Every I try to open a vi window, vim help.txt automatically opens evertime.
After doing ZZ or :q! also the same page opens automatically.
How to stop this? Is it machine specific ? Other users who are opening the same servers and files are not facing this issue.
Thanks... (3 Replies)
Discussion started by: sudiptabhaskar
3 Replies
VIMTUTOR(1) General Commands Manual VIMTUTOR(1)
NAME
vimtutor - the Vim tutor
SYNOPSIS
vimtutor [-g] [language]
DESCRIPTION
Vimtutor starts the Vim tutor. It copies the tutor file first, so that it can be modified without changing the original file.
The Vimtutor is useful for people that want to learn their first Vim commands.
The optional argument -g starts vimtutor with gvim rather than vim, if the GUI version of vim is available, or falls back to Vim if gvim is
not found.
The optional [language] argument is the two-letter name of a language, like "it" or "es". If the [language] argument is missing, the lan-
guage of the current locale will be used. If a tutor in this language is available, it will be used. Otherwise the English version will
be used.
Vim is always started in Vi compatible mode.
FILES
/usr/local/lib/vim/tutor/tutor[.language]
The Vimtutor text file(s).
/usr/local/lib/vim/tutor/tutor.vim
The Vim script used to copy the Vimtutor text file.
AUTHOR
The Vimtutor was originally written for Vi by Michael C. Pierce and Robert K. Ware, Colorado School of Mines using ideas supplied by
Charles Smith, Colorado State University. E-mail: bware@mines.colorado.edu.
It was modified for Vim by Bram Moolenaar. For the names of the translators see the tutor files.
SEE ALSO
vim(1)
2001 April 2 VIMTUTOR(1)