Starting: vi filename edit filename starting at line 1 vi -r filename recover filename that was being edited when system crashed Exiting: :x<Return> quit vi, writing out modified file to file named in original invocation :wq<Return> quit vi, writing out modified file to file named in original invocation :q<Return> … Continue reading VI basic basics
Tag: cheat sheet
Unix cheat sheet
Telnet Telnet allows you to login, albeit insecurely, to any remote machine running a telnet server. Telnet will allow you to open a shell and use simple command line unix tools on the remote machine. >telnet fred In this example, imagine you are telnetting to a machine named “fred”. Sometimes you may have to use… Continue reading Unix cheat sheet