---
title: "Discussion on \"Different ways to create a file in *nix\" | Hashnode"
description: "Discussion on \"Different ways to create a file in *nix\". You can create files in many ways, and we will go through most common ones.\necho\necho 'muffins!' > file\n\nThis method creates a file containing whatever echo outputted (in our case, it's muffins!). It works well, but be wary, it will overwrite an exis..."
url: "https://hashnode.com/posts/different-ways-to-create-a-file-in-nix/64c06c3df0aaaa6323790f5c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Different ways to create a file in \*nix](https://nerd-blogging.hashnode.dev/different-ways-to-create-a-file-in-nix?utm_source=hashnode&utm_medium=feed)

You can create files in many ways, and we will go through most common ones. echo echo 'muffins!' > file This method creates a file containing whatever echo outputted (in our case, it's muffins!). It works well, but be wary, it will overwrite an exis...

Jul 26, 2023 · 2 min read · nerd-blogging.hashnode.dev  
Read the article

-   [#shell](https://hashnode.com/tag/shell)
-   [#linux](https://hashnode.com/tag/linux)
-   [#linux-for-beginners](https://hashnode.com/tag/linux-for-beginners)
-   [#linux-basics](https://hashnode.com/tag/linux-basics)
-   [#linux-commands](https://hashnode.com/tag/linux-commands)

## Written by

[Alex Mozaidze](https://hashnode.com/@VanStabHolme)

@VanStabHolme · Tbilisi, Georgia

  
[View profile](https://hashnode.com/@VanStabHolme)

Software and web developer with extreme passion for configuration.

I am a software and web developer from Georgia (country) that seeks his first job in IT. I am interested in new tech and program correctness, in addition to being addicted to ricing.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
