Ongeveer 50 resultaten
Koppelingen in nieuw tabblad openen
  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 usage in Bash:

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

    1 apr. 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 instead adds a …

  3. LINUX Shell commands cat and grep - Stack Overflow

    6 jun. 2013 · cat countryInfo.txt | grep -v "^#" >countryInfo-n.txt After some research i found that cat is for concatenation and grep is for regular exp search (don't know if i am right) but what will the above …

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

    10 mrt. 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 the command. …

  5. What does `cat-file` stand for in git? - Stack Overflow

    4 jul. 2016 · While cat does stand for "concatenate", what it actually does is simply display one or multiple files, in order of their appearance in the command line arguments to cat. The common …

  6. How to get the last line of a file using cat command

    18 okt. 2016 · How to get the last line of a file using cat command Asked 9 years, 2 months ago Modified 4 years, 5 months ago Viewed 133k times

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

    14 mei 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. The simplest is …

  8. How do I read the first line of a file using cat? - Stack Overflow

    24 mei 2011 · How do I read the first line of a file using cat? Asked 14 years, 7 months ago Modified 5 years, 2 months ago Viewed 415k times

  9. dataframe - cat function in R - Stack Overflow

    26 sep. 2021 · cat function in R Asked 4 years, 3 months ago Modified 4 years, 3 months ago Viewed 525 times

  10. 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. Specifically interested …