---

How to create and edit files on a Linux VPS

Creating or editing files is one of the most common tasks that system admins perform every day. In this tutorial we are going to show you how to create and edit files on a Linux VPS.

Before we start, connect to your server via SSH and make sure that you are familiar with your environment. For that purpose, you can use the basic shell commands which were explained in one of our earlier blog posts. For example, you can create a new directory using the mkdir command and navigate to that directory. Once you are navigated to the newly created directory, create your first file using the touch command.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis