How to create and edit files on a Linux VPS | Linux Today

How to create and edit files on a Linux VPS

Written By
R
RoseHosting
Aug 11, 2016

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.

R

RoseHosting

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.