acac2007-02-21 05:07:39
I created a file named "-123.index" in a folder within my application. Now I tried to open this file with all the tools(commands) I can think of without success. Can anyone tell me how I can view it in Linux/Unix shell?
The commands "cat" and "vi" all treated the file name as an option.

[root@app01 /]# cat "-123.index"
cat: invalid option -- 1
Try `cat --help' for more information.
butdie2007-02-21 07:25:50
cat -- "-123.index"
yahoocc2007-02-21 08:29:34
你太有才了。
acac2007-02-23 00:13:44
Thanks! On my system: cat -- '-123.index'