TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

Linux commands

touch Linux Command

Overview

In this tutorial, we will learn about touch Linux command. This command is often used in shell scripts to create files and to modify the timestamps of the file.

touch command

touch Linux command is used to create and modify timestamps of a file on Linux systems. This command creates an empty file.

To know more about the command line switches of the command, issue the man command in the Terminal.

$ man touch

Examples

$ touch sample.txt 

This command will create an empty sample.txt file. The file would be created in the present working directory. We can specify the file path in the command.

 

–

Linux Basic Commands Tutorial page:

https://www.testingdocs.com/linux-basic-commands-tutorial/

More Information on Ubuntu Linux:
https://ubuntu.com/

Related Posts

Linux commands /

sudo Linux Command with Examples

Linux commands /

Common File Commands in Linux

Linux commands /

su Linux Command

Linux commands /

ls Linux Command with Examples

Linux commands /

cd(Change Directory) Linux Command with Examples

‹ cd(Change Directory) Linux Command with Examples› ls Linux Command with Examples

Recent Posts

  • Scaler Academy – An Online Learning Platform
  • Difference between PHP and JavaScript?
  • MS Access Data Types
  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Build & Run CLion Project
  • Create New CLion C Project on Windows
  • Configure CLion Toolchains on Windows
  • Launch CLion IDE on Windows

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com