Created
September 7, 2019 20:32
-
-
Save thatisuday/1365d0e0be1d086799697db4bd18a62c to your computer and use it in GitHub Desktop.
Bash type command values
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Command | Output | Description | |
---|---|---|---|
type -t type | builtin | `type` is a command provided by the shell itself (shell built-in) | |
type -t nano | file | `nano` is a binary file executable as command (located at `/usr/bin/nano`) | |
type ls | ls is hashed (/bin/ls) | `ls` is a binary file but hashed (https://unix.stackexchange.com/a/105878) | |
type -t ll | alias | A shell alias (to `ls -al`) | |
type -t case | keyword | `case` is a keyword in shell programming language | |
type -t my_fake_ip | function | `my_fake_ip` is a function defined in the current terminal session |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment