About 3,380,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

    Is there replacement for cat on Windows [closed] Asked 16 years, 9 months ago Modified 3 months ago Viewed 549k times

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

    May 25, 2017 · How can I pipe the output of a command into my clipboard and paste it back when using a terminal? For instance: cat file | clipboard

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

    Aug 6, 2018 · I need to retrieve last 100 lines of logs from the log file. I tried the sed command sed -n -e '100,$p' logfilename Please let me know how can I change this command ...

  5. Decoding facebook's blob video url - Stack Overflow

    Jan 16, 2020 · This method will get the video and its audio AS SEPARATE FILES. The downloaded video will have no sound, but you will be able to download its audio file and …

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

    The original order is in fact backwards. Certs should be followed by the issuing cert until the last cert is issued by a known root per IETF's RFC 5246 Section 7.4.2 This is a sequence (chain) …

  7. How to obtain the number of CPUs/cores in Linux from the …

    Jun 26, 2011 · I have this script, but I do not know how to get the last element in the printout: cat /proc/cpuinfo | awk '/^processor/{print $3}' The last element should be the number of CPUs, …

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

    Oct 23, 2018 · You can use the >> operator. This will append data from a command to the end of a text file. To test this try running: echo "Hi this is a test" >> textfile.txt Do this a couple of times …

  9. "No such file or directory" but it exists - Stack Overflow

    Oct 16, 2010 · I think that something was wrong with the file. what I've done: open a ssh session to the server cat filename copy the output to the clipboard rm filename touch filename vi …

  10. Looping through the content of a file in Bash - Stack Overflow

    Oct 6, 2009 · My "cat" method is similar, sending the output of a command into the while block for consumption by 'read', too, only it launches another program to get the work done.

Refresh