<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: can't grep file in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/can-t-grep-file/m-p/4125218#M31245</link>
    <description>did u try ll|grep argument?</description>
    <pubDate>Mon, 07 Jan 2008 09:16:28 GMT</pubDate>
    <dc:creator>Jeeshan</dc:creator>
    <dc:date>2008-01-07T09:16:28Z</dc:date>
    <item>
      <title>can't grep file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/can-t-grep-file/m-p/4125217#M31244</link>
      <description>when I use grep , it pop the below message , &lt;BR /&gt;&lt;BR /&gt;"bash: /bin/grep: Argument list too long"&lt;BR /&gt;&lt;BR /&gt;I know this is because there are too many files in directory, except use the command "find" , how to fix it ? is it because the memory is not enough to list all files ? if yes , how to change the parameter to increase the memory ? thx</description>
      <pubDate>Mon, 07 Jan 2008 09:08:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/can-t-grep-file/m-p/4125217#M31244</guid>
      <dc:creator>ust3</dc:creator>
      <dc:date>2008-01-07T09:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: can't grep file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/can-t-grep-file/m-p/4125218#M31245</link>
      <description>did u try ll|grep argument?</description>
      <pubDate>Mon, 07 Jan 2008 09:16:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/can-t-grep-file/m-p/4125218#M31245</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2008-01-07T09:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: can't grep file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/can-t-grep-file/m-p/4125219#M31246</link>
      <description>thx reply ,&lt;BR /&gt;&lt;BR /&gt;this error not only happen when use grep , sometimes it happens when I use ls , ll etc, so is there any method to fix it ? thx</description>
      <pubDate>Mon, 07 Jan 2008 10:25:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/can-t-grep-file/m-p/4125219#M31246</guid>
      <dc:creator>ust3</dc:creator>
      <dc:date>2008-01-07T10:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: can't grep file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/can-t-grep-file/m-p/4125220#M31247</link>
      <description>As far as i know there are no memory-settings you can change to make it work.&lt;BR /&gt;&lt;BR /&gt;What i do is to use find to reduce the numbers of files to work on.&lt;BR /&gt;Ex:&lt;BR /&gt;find . -name 'filename*' -exec grep text {} \;&lt;BR /&gt;&lt;BR /&gt;this would search for text in all files starting with filename in the current directory.&lt;BR /&gt;Her you can combine the different arguments for find like mtime ctime etc etc..</description>
      <pubDate>Mon, 07 Jan 2008 10:53:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/can-t-grep-file/m-p/4125220#M31247</guid>
      <dc:creator>Stoner</dc:creator>
      <dc:date>2008-01-07T10:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: can't grep file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/can-t-grep-file/m-p/4125221#M31248</link>
      <description>This happens when you have too many files in your directory. You can't avoid this. Use find and xargs commands to solve your problem.</description>
      <pubDate>Mon, 07 Jan 2008 12:00:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/can-t-grep-file/m-p/4125221#M31248</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2008-01-07T12:00:31Z</dc:date>
    </item>
  </channel>
</rss>

