Home
/
Advanced Site Tools
/
SSH
/
How to edit files with SSH?

How to edit files with SSH?

To create files (e.g. file named .htaccess), use the touch command as shown below:

touch .htaccess

To open the .htaccess file for editing with nano, use:

nano .htaccess

Share This Article