About 7,290,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. Is there replacement for cat on Windows - Stack Overflow

    Windows type command works similarly to UNIX cat. Example 1: type file1 file2 > file3 is equivalent of: cat file1 file2 > file3 Example 2: type *.vcf > all_in_one.vcf This command will …

  3. linux - How can I copy the output of a command directly into my ...

    May 25, 2017 · cat file | xclip. Paste the text you just copied into a X application: xclip -o. To paste somewhere else other than an X application, such as a text area of a web page in a browser …

  4. How does an SSL certificate chain bundle work? - Stack Overflow

    Unix: cat cert2.pem cert1.pem root.pem > cert2-chain.pem Windows: copy /A cert1.pem+cert1.pem+root.pem cert2-chain.pem /A 2.2 Run this command. openssl verify …

  5. linux - Retrieve last 100 lines logs - Stack Overflow

    You can simply use the following command:-tail -NUMBER_OF_LINES FILE_NAME. e.g tail -100 test.log. will fetch the last 100 lines from test.log

  6. How to append output to the end of a text file - Stack Overflow

    Oct 23, 2018 · printf "hello world" >> read.txt cat read.txt hello world However if you were to replace printf with echo in this example, echo would treat \n as a string, thus ignoring the …

  7. Encode to Base64 a specific file by Windows Command Line

    Jan 5, 2021 · cat <file_name>| base64 to obtain the file's contents encoded as base64. On Windows I'm not able to have the same result. I have found this solution: certutil -encode -f …

  8. How to get .pem file from .key and .crt files? - Stack Overflow

    cat otherfilegodaddygivesyou.crt gd_bundle-g2-g1.crt > name.crt Then I used these instructions from Trouble with Google Apps Custom Domain SSL , which were: openssl rsa -in …

  9. Reproduce the Unix cat command in Python - Stack Overflow

    $ python cat.py command.info fort.13 > command.fort.13 Or to allow arbitrary large lines:

  10. bash - What does " 2>&1 " mean? - Stack Overflow

    @dbr cmd 2>&1 >>file does not redirect stderr to the file, but cmd >> file 2>&1 does. Order matters. In the first case, stderr is redirected to the stdout of the shell (possibly a tty if the …