The Tech Edvocate

Top Menu

  • Advertisement
  • Apps
  • Home Page
  • Home Page Five (No Sidebar)
  • Home Page Four
  • Home Page Three
  • Home Page Two
  • Home Tech2
  • Icons [No Sidebar]
  • Left Sidbear Page
  • Lynch Educational Consulting
  • My Account
  • My Speaking Page
  • Newsletter Sign Up Confirmation
  • Newsletter Unsubscription
  • Our Brands
  • Page Example
  • Privacy Policy
  • Protected Content
  • Register
  • Request a Product Review
  • Shop
  • Shortcodes Examples
  • Signup
  • Start Here
    • Governance
    • Careers
    • Contact Us
  • Terms and Conditions
  • The Edvocate
  • The Tech Edvocate Product Guide
  • Topics
  • Write For Us
  • Advertise

Main Menu

  • Start Here
    • Our Brands
    • Governance
      • Lynch Educational Consulting, LLC.
      • Dr. Lynch’s Personal Website
      • Careers
    • Write For Us
    • The Tech Edvocate Product Guide
    • Contact Us
    • Books
    • Edupedia
    • Post a Job
    • The Edvocate Podcast
    • Terms and Conditions
    • Privacy Policy
  • Topics
    • Assistive Technology
    • Child Development Tech
    • Early Childhood & K-12 EdTech
    • EdTech Futures
    • EdTech News
    • EdTech Policy & Reform
    • EdTech Startups & Businesses
    • Higher Education EdTech
    • Online Learning & eLearning
    • Parent & Family Tech
    • Personalized Learning
    • Product Reviews
  • Advertise
  • Tech Edvocate Awards
  • The Edvocate
  • Pedagogue
  • School Ratings

logo

The Tech Edvocate

  • Start Here
    • Our Brands
    • Governance
      • Lynch Educational Consulting, LLC.
      • Dr. Lynch’s Personal Website
        • My Speaking Page
      • Careers
    • Write For Us
    • The Tech Edvocate Product Guide
    • Contact Us
    • Books
    • Edupedia
    • Post a Job
    • The Edvocate Podcast
    • Terms and Conditions
    • Privacy Policy
  • Topics
    • Assistive Technology
    • Child Development Tech
    • Early Childhood & K-12 EdTech
    • EdTech Futures
    • EdTech News
    • EdTech Policy & Reform
    • EdTech Startups & Businesses
    • Higher Education EdTech
    • Online Learning & eLearning
    • Parent & Family Tech
    • Personalized Learning
    • Product Reviews
  • Advertise
  • Tech Edvocate Awards
  • The Edvocate
  • Pedagogue
  • School Ratings
  • Trader Joe’s March 2026 Arrivals: Affordable Gems and Customer Favorites

  • Mark Sprague Takes the Helm as Director of St. Pete-Clearwater International Airport

  • Consumer Attitudes Toward Editing Claim Images: A Growing Concern for Insurers

  • ProstaVive: A Comprehensive Review of the Prostate Health Supplement in 2026

  • Discover Trader Joe’s Top Picks for 2026: Customer Choice Awards Highlights

  • U.S. Stock Market Faces Uncertainty Amid Rising Oil Prices and Geopolitical Tensions

  • Asian Markets Show Mixed Results Amid Rising Oil Prices and U.S. Futures Decline

  • Stability in Fuel Prices Amidst Global Crude Market Turmoil: An Analysis

  • Crude Oil Prices Surge Amid Tensions in the Strait of Hormuz

  • Indian Stock Market Opens Flat Amid Geopolitical Tensions and Oil Price Fluctuations

Assistive Technology
Home›Assistive Technology›How to Create a New File in Linux

How to Create a New File in Linux

By Matthew Lynch
August 5, 2023
0
Spread the love

Creating a new file in Linux is a basic task that is often required by users. Whether you want to write a script file, create a configuration file, or generate a log file, the process of creating a new file in Linux is pretty straightforward. In this article, we will guide you on how to create a new file in Linux.

Step 1: Open terminal

To create a new file in Linux, you need to open the terminal. The terminal is the command-line interface provided by the Linux operating system. You can access the terminal by pressing the Ctrl+Alt+T key combination or by searching for “terminal” in the applications menu.

Step 2: Go to the directory where you want to create a new file

Once you have opened the terminal, you need to navigate to the directory where you want to create the new file. You can use the cd command to change the current directory. For instance, if you want to create a new file in the home directory, type ”cd ~” in the terminal and press enter.

Step 3: Create a new file

To create a new file in Linux, you can use the touch command. The touch command creates a new file if the file does not exist, or it will update the modification time of the file if it already exists. To create a new file, simply type “touch” followed by the filename and press enter. For instance, if you want to create a new file called “test.txt”, type ”touch test.txt” and press enter.

Step 4: Edit the file (optional)

After creating a new file, you can edit the file using a text editor. There are many text editors available for Linux, such as Nano, Vim, and Emacs. To open a file in a text editor, simply type the name of the text editor followed by the filename. For instance, if you want to open the “test.txt” file in the Nano editor, type “nano test.txt” and press enter.

Step 5: Save the file

After editing the file, you need to save the changes. To save the file, press Ctrl+X, followed by Y, and then enter in the Nano editor. Or, use the Esc key, followed by :wq and press enter in the Vim editor. The command to save the file in the Emacs editor is Ctrl+X, followed by Ctrl+S.

Previous Article

What Is a Mouse Polling Rate, and ...

Next Article

How to Install Manjaro Linux on PC

Matthew Lynch

Related articles More from author

  • Assistive Technology

    How to Watch Hulu on Chromecast

    June 10, 2023
    By Matthew Lynch
  • Assistive Technology

    How to Save Images as PNGs in GIMP

    June 10, 2023
    By Matthew Lynch
  • Assistive Technology

    How to Change your iPad Keyboard Settings

    June 15, 2023
    By Matthew Lynch
  • Assistive Technology

    How to Change the Scrolling Direction in Windows 11

    June 15, 2023
    By Matthew Lynch
  • Assistive Technology

    The Best High DPI Gaming Mice

    June 5, 2023
    By Matthew Lynch
  • Assistive Technology

    How to Turn Off the Narrator on the Xbox Series X or S

    June 10, 2023
    By Matthew Lynch

Search

Login & Registration

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Newsletter

Signup for The Tech Edvocate Newsletter and have the latest in EdTech news and opinion delivered to your email address!

About Us

Since technology is not going anywhere and does more good than harm, adapting is the best course of action. That is where The Tech Edvocate comes in. We plan to cover the PreK-12 and Higher Education EdTech sectors and provide our readers with the latest news and opinion on the subject. From time to time, I will invite other voices to weigh in on important issues in EdTech. We hope to provide a well-rounded, multi-faceted look at the past, present, the future of EdTech in the US and internationally.

We started this journey back in June 2016, and we plan to continue it for many more years to come. I hope that you will join us in this discussion of the past, present and future of EdTech and lend your own insight to the issues that are discussed.

Newsletter

Signup for The Tech Edvocate Newsletter and have the latest in EdTech news and opinion delivered to your email address!

Contact Us

The Tech Edvocate
910 Goddin Street
Richmond, VA 23231
(601) 630-5238
[email protected]

Copyright © 2025 Matthew Lynch. All rights reserved.