continuous reading from named pipe (cat or tail -f)
I have configured rsyslog to log certain log events to /dev/xconsole:
I have configured rsyslog to log certain log events to /dev/xconsole:
Is there a variant of cat that outputs syntax-highlighted lines of code when used on a source file?
I can do the following to see if some word is available in the output of “cat”: cat filename | grep word This filters the output and shows only those lines which contain “word”. Now, is it possible to only highlight the “word” in the output, without dropping other lines? Answers: Thank you for visiting … Read more
If I want to make the contents of file2 match the contents of file1, I could obviously just run cp file1 file2.
How can I read a dash file from the terminal other than delimiting it with ./
Is there a command to show the directory/file name when cat files?
A file is being sequentially downloaded by wget.
I’ve got 10k+ files totaling over 20GB that I need to concatenate into one file.
How can I write the same content to many text files by using cat or echo in only one command?
From reading this, it seems that when copying data to a different hard drive, cat automatically uses the optimum block size (or very near it).