Create an empty file

Creates a file without any content


Libraries

Code Snippet
touch filename.fileextension


Implementation

Just execute it in a bash console





Comments
  • mode_editWrite a comment



  • forumComments

    Notice: Undefined index: username in /var/www/snip/includes/comments.php on line 40

    Notice: Undefined index: admin in /var/www/snip/includes/comments.php on line 40
    • Profile Image

      Awesome! by Thorolus at 2016-10-02 20:28:39

    Great snippet, thanks a lot!




Embed Code

We provide special containers which include the full snippet and a link to this site. So for example when you make a tutorial and you are using code from this site, you can use one of the following snippet embeddings:

Load Preview Get Code Close Preview







    Share
    Rating
    thumb_up 1 thumb_down
    Author
    R3fresh_

    I'm the CEO and co-founders of GlovilGames Studios and other platforms GlovilGames created, like vsnippets.com and many mobile apps and games.

    Tags
    Bash
    Empty File



    Informations

    posted on 2016-09-13 14:11:58

    viewed 96 times

    snippet's UUID is 57d7ed0e09741

    Similar Snippets