---
title: "#magic-file articles | Hashnode"
description: "Explore 2 articles tagged #magic-file on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/magic-file"
---

Tag

# #magic-file

2 posts · 0 followers

[Samuel](https://hashnode.com/@codestree) · [Aug 6, 2023](https://hashnode.com/posts/magic-files/64cfbd84a011b9a76782feef)

### [Magic files](https://codetree3.hashnode.dev/magic-files?utm_source=hashnode&utm_medium=feed)

Normally, to determine the file type, we use the file command. The way it works is that it uses a file /etc/magic to determine the type of file. Now if you have a custom file type, and you want to determine if a file is of that type, a magic file can...

3 min read · [codetree3.hashnode.dev](https://codetree3.hashnode.dev/magic-files?utm_source=hashnode&utm_medium=feed)

[Gideon Bature](https://hashnode.com/@GideonBature) · [May 11, 2023](https://hashnode.com/posts/how-to-create-a-magic-file/645cbc3b0fdcdb7a48d2bc4f)

### [How to Create a Magic File](https://gideonbature.hashnode.dev/how-to-create-a-magic-file?utm_source=hashnode&utm_medium=feed)

Using the file command to create a magic file that shows all files type in a directory

6 min read · [gideonbature.hashnode.dev](https://gideonbature.hashnode.dev/how-to-create-a-magic-file?utm_source=hashnode&utm_medium=feed)
