Top "Cat" questions

The cat command is a standard Unix program used to concatenate and display files.

BASH: Global variables aren't updateable in a function only when that function is piped (simple example)

This smells buggy, but probably, someone can explain it: The following script doesn't work, the output is below: #!/bin/bash …

linux bash variables cat
Writing my own Cat function in C

Hi i don't know how to simulate my own Cat function in C, i know how it works when no …

c function eof cat fgetc
Single line create file with content

The OS is Ubuntu. I want to create file.txt in /home/z/Desktop where the content of the file …

command-line cat nano
Merging multiple log files by date including multilines

I have several logs containing lines all starting with a timestamp, so that the following works as expected to merge …

sorting logging command-line cat log-files
Shell script to join 5 or more json files together

I am working on a project that has a lot of json documents in a large file lets call it …

json linux shell cat
How to read a file backwards on Linux?

I know that I can use cat to print all content from a file from beginning to end on Linux. …

linux cat
How to pass command line parameters from a file

I have a C program that reads command line arguments from argv. Is it possible to make a pipe to …

linux pipe command-line-arguments cat argv
find command to find files and concatenate them

I am trying to find all the files of type *.gz and cat them to total.gz and I think …

linux bash find cat
How to merge files in bash in alphabetical order

I need to merge a bunch of mp3 files together. I know that simply doing cat file1.mp3 >> …

bash ls cat
zenity input file with several lines

I have a problem with zenity I cannot work out. Could you guys help me? I have a 7 line long …

bash input line cat zenity