About 18,000,000 results
Open links in new tab
  1. 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

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

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

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

  4. How to use echo command to print out content of a text file?

    cat command will display the file with CR or return: $ cat names.txt Homer Marge Bart Lisa Maggie you could use echo command with cat as command substitution. However, it will replace CR or return …

  5. Comparison of cat pipe awk operation to awk command on a file

    cat fname | slows things down a little as it has to copy the file from the disk to the kernel then to cat's buffer, then to a pipe, which goes to the kernel again, and then to another process. It's not by a lot, …

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

  7. Tomcat: How to find out running Tomcat version? - Stack Overflow

    I'm trying to get Appfuse + Tomcat + jRebel working. Appfuse by default uses Cargo to download tomcat (ver. 7.0.33) and deploy the application to it. I wish to use an already installed tomcat (ver....

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

  9. How can I split a large text file into smaller files with an equal ...

    I've got a large (by number of lines) plain text file that I'd like to split into smaller files, also by number of lines. So if my file has around 2M lines, I'd like to split it up into 10 files t...

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