Top "Cat" questions

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

download files using bash script using wget

I've been trying to create a simple script that will take a list of file to be downloaded from a .…

bash loops wget cat
is there a way to see the actual contents of a symlink?

When you do cat some-symlink-to-some-real-file it shows the contents of the real file, not what is within the symlink itself. …

linux shell filesystems symlink cat
How do you redirect standard input to a file in the Windows command line?

On Unix I would do something like: cat > file.txt How can I do this on the Windows command …

batch-file cmd stdin cat
Useless use of cat?

This is probably in many FAQs - instead of using: cat file | command (which is called useless use of cat), …

shell command-line cat
Fastest way to print a single line in a file

I have to fetch one specific line out of a big file (1500000 lines), multiple times in a loop over multiple …

bash sed benchmarking head cat
echo from lines of a file

i have a file "myfile.txt" that have the next content: hola mundo hello word and i want work with …

bash echo cat
Filenames and linenumbers for the matches of cat and grep

My code $ *.php | grep google How can I print the filenames and linenumbers next to each match?

unix grep cat
launch a CAT command unix into Dockerfile

I would like to launch this vagrant command cat(run perfectly!) to provisionning my container with a Dockerfile : # Configure Virtualenvwrapper. …

unix docker dockerfile cat
Execute a cat command within a sed command in Linux

I have a file.txt that has some content. I want to search for a string in file1.txt, if …

linux sed cat
Grep all instances of strings that start with certain characters

I would like to grep out all instances of strings that start with the characters 'rs' (from just one file) …

linux bash grep cat