For Linux Web Hosting packages and Managed Dedicated Servers with shell (SSH) access
Learn how to create and edit files with the vi Editor via SSH.
For example, you can create an .htaccess file or change the configuration file of your CMS.
Use the following command to navigate to the desired directory (e.g. the joomla folder).
Use the following command to create a file (e.g. an .htaccess file). You can also edit an existing file with the same command.
Press i on your keybord to switch to input mode.
Insert the required content or make the required changes.
Press the ESC key on your keyboard to exit the input mode.
Save the new file or changes with the following command: