Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What would you use to edit contents of the file in Linux? Describe some of the important commands mode in vi editor?

Answer Posted / Md Hasan Ahmad

In Linux, a common editor for editing files is `vi`. To start editing a file with `vi`, use the command `vi <file_name>`. Here are some important commands in `vi`:
- `i`: Enter insert mode to add or edit text
- `Esc`: Exit insert mode and return to command mode
- `:wq`: Write the changes and quit
- `:q!`: Quit without saving changes
- `/<search_term>`: Search for a specific term in the file

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the Splunk latest version?

282