xxxxxxxxxx
vi filename.extension
//press i to insert into file
//press ESC to enter menu
//Type :wq to save data
xxxxxxxxxx
1. nano filepath.extension // to view and edit the file
2. vim filepath.extesion
2.a press i //for edit mode
2.b Enter Esc
2.c :wq // write this at the end of file to save the edited part
2.d :q! // without save and quite
3. ls -lh //to view all data of files present in directory with size