Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
How to exit vi??
Name: wolf60s Date: August 19, 2002 at 19:29:11 Pacific
Comment:
Hi, I often hit a problem to exit vi when it won't let me write or modify due to without write permission. For example I need use vi to edit a file XYZ, and I forgot to chmod from 555 to 777 before edit. I typed vi XYZ and made some changes, and then I type ^:x and obiviously it won't let me save and exit. But I type ^:q, ctl-c, or ctl-s, and none of cmds let me exit vi. It hangs. I have to kill the session by close the window session. How to solve the problem? Thanks.
Summary: Hi, I wish to exit the console which was used to start an application in Solaris(like in Windows). I tried the following in my script file.. but the console still exists. my script file startConsole.s...
Summary: I'm trying to get the script to prevent people update /etc/hosts file simultaneously. Later on, if the script work, it will be put in system cron, but I have no idea how to get the script to detect v...
Summary: CDE menu on the bottom (usually) there's a personal settings type button two to the right of the exit tab, brings up a menu ad you want mouse settings. Openwin right click on background, properties, m...