The cat
command can be used to print the contents of a file to the Terminal.
$ cat fake_file.txt
cat
dog
fish
elephant
The similar command, tac
, will print the lines in reverse.
$ tac fake_file.txt
elephant
fish
dog
cat
The cat
command can be used to print the contents of a file to the Terminal.
$ cat fake_file.txt
cat
dog
fish
elephant
The similar command, tac
, will print the lines in reverse.
$ tac fake_file.txt
elephant
fish
dog
cat