Forrest logo
back to context overview

cat

List of commands for cat:

  • cat:ai:0b65c Can espeak be used to show scrolling of a text file while reading it aloud?
    $ cat ${text_file} | espeak -s ${scroll_speed}
    try on your machine
    explain this command
  • cat:ai:2c9d7 show me the scheduled shutdown time
    $ cat /etc/systemd/system.conf | grep -E '^#?DefaultTimeoutStopSec='
    try on your machine
    explain this command
  • cat:ai:402c6 write a shell script that can take each line of a text file and output a new file containing the line.
    $ cat input.txt | while read line; do echo $line >> output.txt; done
    try on your machine
    explain this command
  • cat:ai:708e9 Display the contents of the /opt/scripts/sleep.sh script
    $ cat /opt/scripts/sleep.sh
    try on your machine
    explain this command
  • cat:ai:c8ff3 cat all files named status
    $ cat status.*
    try on your machine
    explain this command
  • cat:ai:eff39 Displays the contents of the verify_passwd.sh script for examination
    $ cat /opt/scripts/verify_passwd.sh
    try on your machine
    explain this command
  • cat:tldr:0522f cat: Concatenate several files into an output file.
    $ cat ${filename1 filename2 ---} > ${path-to-output_file}
    try on your machine
    explain this command
  • cat:tldr:1d41f cat: Copy the contents of a file into an output file without buffering.
    $ cat -u ${-dev-tty12} > ${-dev-tty13}
    try on your machine
    explain this command
  • cat:tldr:346b1 cat: [n]umber all output lines.
    $ cat -n ${filename}
    try on your machine
    explain this command
  • cat:tldr:4b4b4 cat: Display non-printable and whitespace characters (with `M-` prefix if non-ASCII).
    $ cat -v -t -e ${filename}
    try on your machine
    explain this command
  • cat:tldr:f21eb cat: Append several files to an output file.
    $ cat ${filename1 filename2 ---} >> ${path-to-output_file}
    try on your machine
    explain this command
back to context overview