In this post, we will understand about the commands that are used to view, edit/modify and save the file using putty.
vi is the command that is used to view the file.
vi filename - This command opens the file in the putty window
Once opened following commands are used to modify and save the file
i to insert
a to append
x to delete
dd to delete a line
: to begin a command sequence
:w to save
:q to quit
:q! to quit without saving
:wq to save and quit
No comments:
Post a Comment