How do i know what type of command I am typing at the shell prompt?



  • Commands typed at the shell prompt can come in various forms, i.e could be a binary file, could be called from an alias, function, keyword or built-in.

    To find the type of command, run the following.

    $ type md     
    md is an alias for mkdir -p
    $ type cat
    cat is /bin/cat
    

Log in to reply
 

© Lightnetics 2024