Questions tagged [cat]
A UNIX utility for concatenating files or input streams together. Do not use for questions about the animal.
27
questions with no upvoted or accepted answers
3
votes
0
answers
11k
views
CMD equivalent of cat >> text.txt
type >> text.txt doesn't work on Windows. I want it to prompt me to enter text into the document and then allow me to finish by entering control + d.
3
votes
1
answer
2k
views
What is the "next cell character" when coping and pasting from a table?
You know when you copy a row from a table and paste it into another one it is in the correct place. So what is the character that is between cell values when this operation is performed.
Eg. I have ...
2
votes
0
answers
44
views
Cat with gun parallel does not continue as expected
Here is my code.
file_name="all_parts"
find parts/ -type f > ${file_name}
while read part
do
echo processing ${part}
cat ${part} | parallel -j 100 'wget {} -o logs/...
2
votes
0
answers
3k
views
the hash for the file is not present in the specified catalog file- Creating a .cat file for an edited .inf?
I got a rock candy xbox360 controller today and its not plug and play as an xbox 360 controller on pc. I edited the .inf file and now the driver may work, but i dont know how to make the .bat file ...
2
votes
3
answers
4k
views
add new line after every end of file's contents while merging multiple files
I have written shell script to merge different file's contents I have created directories f1,f2,d1,d2 and files under them , I need to merge all files's contents : comand is
(find /home/ah5024331/f1 ...
2
votes
0
answers
546
views
Linux: cat /dev/video0 TS into some kind of ring puffer
I want to cat a /dev/video0 device output (Transport Stream) into a temporary ring buffer. In fact i do not want that the file is growing over the time. Simultaneously access is not possible.
So the ...
1
vote
0
answers
720
views
cat through ssh does not work, it hangs on "debug2: exec request accepted on channel 0" and scp never finishes
I trying to print a file through ssh on CentOS7 but it does not work somehow :
$ time timeout 60s ssh -vvv SERVER-01 cat /etc/yum.repos.d/CentOS-Base.repo
OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan ...
1
vote
1
answer
1k
views
Is there a way to pass an ffmpeg command from a text file in Windows?
I was wondering if there was a way to pass one (or multiple) arguments from a text file for ffmpeg.
I tried a bit here with this in powershell (expecting it to work like linux but to no avail
ffmpeg -...
1
vote
1
answer
460
views
cat files from pipe
I have to join files to one original file, which was split. There is a catalog, in which there are a lot of files,but no every is necessary. I have file with md5sum, which contain md5sum files I have ...
1
vote
0
answers
75
views
Cat playing with mouse broke my Windows/Explorer :( Cannot click buttons in most of standard apps/menus
My mouse was laying on a sofa (I was going to clean it a bit) and my cat suddenly decided to play with the mouse (while the start menu was opened). Nothing serious happened with it during these 10 ...
1
vote
1
answer
179
views
Empty line appears while merging different file contents in shell script
I have written shell script to merge different file's contents I have created directories f1,f2,d1,d2 and files under them , I need to merge all files's contents : comand is
find /home/ah5024331/f1 /...
1
vote
1
answer
2k
views
head and cat don't recognize Microsoft Excel text files
I have a large .xls file with 53760 rows and 19 columns. I saved it as Tab Delimited Text in order to pre-process it through command line tools and load it into R later. However, when I run
head ...
1
vote
2
answers
3k
views
Terminal is Stuck in "cat"
A while back I recall attempting to install an updated version of Ruby on my Mac. I had an interest in the language and thought I would give it a go. I followed detailed instructions that lead me ...
1
vote
3
answers
2k
views
Move multiple files from filename list to a new folder
I have a list of filename in list.txt, which have 'abc1.png, abc2.png, abc3.png....'.
However, I don't know the directories where the files are.
I want to find all files in the txt file, and move ...
0
votes
1
answer
613
views
How to cat a local file to a remote printer using Linux
On DOS we can:
NET USE LPT1: \\remote-pc\shared_printer
COPY file.txt > LPT1
I know on Linux I can print to local usb printer:
cat file.txt > /dev/usb/lp2
But how to print to a remote (Linux ...