Originally posted by suriyamohan
1)How can we list files with filenames starting with "-" ?
2)what happens when "cat xyz > xyz" is given?
3) which file is used to perform start up instructions for vi editor?
Ans 1. use the option --
with any command to deal with files starting with" -"
Ans.2. it wont let you do that !!!!! If it worked somehow then the filesize will become zero.
Ans 3. Global: /etc/vimrc or depends on your instalation
User specific: $HOME/.vimrc