About 20,400,000 results
Open links in new tab
  1. linux - How does "cat << EOF" work in bash? - Stack Overflow

    The cat <<EOF syntax is very useful when working with multi-line text in Bash, eg. when assigning multi-line string to a shell variable, file or a pipe. Examples of cat <<EOF syntax …

  2. unix - How to pipe list of files returned by find command to cat to ...

    May 14, 2009 · 46 There are a few ways to pass the list of files returned by the find command to the cat command, though technically not all use piping, and none actually pipe directly to cat. …

  3. python - `stack ()` vs `cat ()` in PyTorch - Stack Overflow

    Apr 1, 2022 · xnew_from_cat = torch.cat((x, x, x), 1) print(f'{xnew_from_cat.size()}') print() # stack serves the same role as append in lists. i.e. it doesn't change the original # vector space but …

  4. How to open a "-" dashed filename using terminal? [closed]

    I tried gedit, nano, vi, leafpad and other text editors , it won't open, I tried cat and other file looking commands, and I ensure you it's a file not a directory!

  5. How to cat <<EOF >> a file containing code? - Stack Overflow

    1 cat with <<EOF>> will create or append the content to the existing file, won't overwrite. whereas cat with <<EOF> will create or overwrite the content.

  6. Can linux cat command be used for writing text to file?

    cat "Some text here." > myfile.txt Possible? Such that the contents of myfile.txt would now be overwritten to: Some text here. This doesn't work for me, but also doesn't throw any errors. …

  7. What is the difference between cat and print? - Stack Overflow

    An essential difference between cat and print is the class of the object they return. This difference has practical consequences for what you can do with the returned object.

  8. Is there replacement for cat on Windows - Stack Overflow

    Is there replacement for cat on Windows [closed] Asked 17 years, 4 months ago Modified 10 months ago Viewed 553k times

  9. What does "cat -" mean? Linux operators - Stack Overflow

    Mar 10, 2021 · If cat - doesn't stop it's because the symbol "-" is for parameter. And you run cat with no parameter. Actually, it didn't run indefinitely; the shell waits for you to enter the end of …

  10. PowerShell equivalent to grep -f - Stack Overflow

    I'm looking for the PowerShell equivalent to grep --file=filename. If you don't know grep, filename is a text file where each line has a regular expression pattern you want to match. Maybe I'm mis...