Chris Albon
    • ML/AI Notes
      Machine Learning Deep Learning Python Statistics Scala PostgreSQL Command Line Regular Expressions Mathematics AWS Computer Science
    • Articles
    • About
      About Chris GitHub Twitter Instagram
    Learning machine learning? Try my machine learning flashcards or Machine Learning with Python Cookbook.

    View A File's Type

    17 Jun 2018

    The file command allows us to view a file’s type.

    Make File

    echo "This is some text." > sales.txt

    View A File’s Type

    file LICENSE.txt
    sales.txt: ASCII text
    

    Find an error or bug?

    Everything on this site is available on GitHub. Head to and submit a suggested change. You can also message me directly on Twitter.

    This project contains 583 pages and is available on GitHub. Copyright © Chris Albon, 2018.