Display File in Shell

Level 114 keystrokes

cat displays the contents of a file to the terminal.

Shell code

# cat = concatenate: prints the files it is given, one after another
# With one file it simply prints the whole content of readme.txt
1cat readme.txt

Output

Welcome to the project!
Please read the documentation.
Practice typing this code

Practice typing this code. Results are not recorded in the rankings.

Symbols in this code

The symbols you type in this Shell code and how often they appear.

  • .× 1

More Shell examples at level 1

← Shell typing practice