About 25,500,000 results
Open links in new tab
  1. unix - How to pipe list of files returned by find command to cat to ...

    May 14, 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. …

  2. Is there replacement for cat on Windows - Stack Overflow

    Is there replacement for cat on Windows [closed] Asked 17 years, 4 months ago Modified 10 months ago Viewed 553k times

  3. LINUX Shell commands cat and grep - Stack Overflow

    Jun 6, 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 …

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

  5. Windows equivalent for "cat - Stack Overflow

    May 26, 2021 · Can someone please shed some light on an equivalent method of executing something like "cat file1 -" in Linux ? What I want to do is to give control to the …

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

  7. cat - How to display contents of all files under a directory on the ...

    Jan 22, 2014 · cat file1 file2 file3 But in a directory if there are more than 20 files and I want content of all those files to be displayed on the screen without using the cat command as …

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

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

    Oct 18, 2016 · //This file is intended for //blah blah purposes 123 Using cat command, how can I get only the last line of the file ?

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

    May 24, 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