Easily generate cat commands with this tool. Select options below and see the command in real-time!
cat
cat command| Purpose | Command |
|---|---|
| Display a file contents | cat test.txt |
| Mutiple files contents | cat test1.txt test2.txt |
| Make a new file and add contents | cat > new_file.txt |
| Add content to an existing file without overwriting | cat >> existing_file.txt |
| Display line numbers in a file | cat -n test.txt |
| Merge mutiple files into one | cat test1.txt test2.txt > combine.txt |