About 26,200,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 usage in Bash:

  2. 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 …

  3. git - How do I access my SSH public key? - Stack Overflow

    On terminal cat ~/.ssh/id_rsa.pub explanation cat is a standard Unix utility that reads files and prints output ~ Is your Home User path /.ssh - your hidden directory contains all your ssh certificates …

  4. 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.

  5. Bash: redirect `cat` to file without newline - Stack Overflow

    cat file1 | tr -d '\n' but that discards all the newlines in the file, also not desirable. So, to repeat my question: How do I cat file1 into the new file and add user input without adding the newline between …

  6. 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.

  7. How to retrieve a single file from a specific revision in Git?

    Using low-level git plumbing commands Before git1.5.x, this was done with some plumbing: git ls-tree <rev> show a list of one or more 'blob' objects within a commit git cat-file blob <file-SHA1> cat a file …

  8. Linux command (like cat) to read a specified quantity of characters

    Is there a command like cat in linux which can return a specified quantity of characters from a file? e.g., I have a text file like: Hello world this is the second line this is the third line And I

  9. How to Install Driver with a cat file? - Stack Overflow

    In Windows Vista and Windows 7 there a new utility for handling drivers setup call PnPUtil. It handles exactly this kind of work. Just copy all your driver relevant files (*.inf, *.cat, *.sys) to a directory on the …

  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...