---
title: "When String Becomes Dangerous"
canonical: "/2016/10/13/when-string-becomes-dangerous/"
date: "2016-10-13"
author: "Alok Singh"
tags: []
---


Try this command:

```sh
mkdir -p "$HOME/tmp/tmp" && cd "$HOME/tmp/tmp"
touch echo stuff
*
```

If your results are anything like mine, the terminal should print
`stuff`. The shell expands `*` as `echo stuff`, which is a valid
command.

This is what happens when the only native data type for the shell is
**String**.
