i am using vi editor but when i open file through vi and press i(insert mode),i am unable to type #,$,@...and it is displaying E348 no string under cursor.what do i do,please help me.

That error is not related to insert mode it appears during edit mode. Try using vim instead of vi (you may have to install a package) and then you should see when you are in insert mode by the status at the bottom of the edit window (you should see -- INSERT --).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.