{"id":54,"description":"bash: display information about a command type","tags":["shell","bash","programming"],"contents":["type arg # arg can be a command, function, aliases an built-ins","type -a arg # display all locations containing an executable named NAME","type -t arg # output a single word which is one of alias, keyword, function, builtin, file","# e.g.","ubuntu@ubuntu-lts:~$ os_release()","\u003e {","\u003e     cat /etc/os-release","\u003e }","ubuntu@ubuntu-lts:~$ type -t os_release","function","ubuntu@ubuntu-lts:~$ type -a os_release","os_release is a function","os_release ()","{","   cat /etc/os-release","}"]}
