> For the complete documentation index, see [llms.txt](https://ploegert.gitbook.io/til/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ploegert.gitbook.io/til/os/unix/alias/ignore-the-alias-when-running-a-command.md).

# Ignore The Alias When Running A Command

I have a number of shell aliases set up to override one command with another. For instance, I want to run `bat` anytime I type `cat`, so I have `alias cat=bat` in my shell configuration.

But what if I were to ever want to run `cat` instead of `bat`?

Aliases can be ignored several ways:

1. Precede the command with a backslash.

```bash
$ \cat
```

1. Wrap the command in quotes.

```bash
$ 'cat'
```

1. Pass the command to `command`.

```bash
$ command cat
```

[source](https://unix.stackexchange.com/questions/39291/run-a-command-that-is-shadowed-by-an-alias)
