How to create list file in unix

    how to create file in unix
    how to create file in unix shell script
    how to create file in unix using cat
    makefile unix
  • How to create file in unix
  • How to create a file in unix using cat!

    How to Create a File in the Linux Using the Terminal?

    In this article, we will learn to create a file in the Linux/Unix system using the terminal.

    How to create a file in linux command

  • How to create a file in unix using vi command
  • How to create a file in unix using cat
  • Unix create empty file
  • How to edit a file in unix
  • In the Linux/Unix system, there are the following ways available to creating files. 

    1. Using the touch command
    2. Using the cat command
    3. Using redirection operator
    4. Using the echo command
    5. Using the heredoc
    6. Using the dd command

    1.

    Create a file in the Linux/Unix system using the touch command. 

    The touch command is used to create file/files without any content and update the access date or modification date of a file or directory in the Linux system.

    This is the simplest way to create a file in Linux/Unix using the terminal. 

    Syntax:

    The general syntax of the touch command is as follows:

    $ touch [option] ... FILE...

    A brief description of options available in the touch command.

      how to create text file in unix
      how to create empty file in unix
    OptionDescription
    -aChange the access time of a file
    -c, –no-createCheck file is available or not, if not available then prevent creating a file 
    -fignored
    -mChange the modification time of a file