<?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: problem with command df -h in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-command-df-h/m-p/4189822#M689409</link>
    <description>Hi Hector:&lt;BR /&gt;&lt;BR /&gt;The '-h' switch isn't valid on 11.11 either.  It appears that someone has created a command (script) that accepts the '-h' switch as an "alias" for 'bdf'.  In GNU/Linux, 'df -h' is valid.&lt;BR /&gt;&lt;BR /&gt;What does this show?&lt;BR /&gt;&lt;BR /&gt;# whereis df&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Wed, 30 Apr 2008 17:12:51 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2008-04-30T17:12:51Z</dc:date>
    <item>
      <title>problem with command df -h</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-command-df-h/m-p/4189820#M689407</link>
      <description>I need execute the command df -h at HPUX 11.31, but Igot the following error: &lt;BR /&gt;&lt;BR /&gt;[12:54:59] monitor1:~$ df -h&lt;BR /&gt;df: illegal option -- h&lt;BR /&gt;usage : df [-F FStype] [-V] [-egiklnvfb] [-t|-P] [-o specific_options]&lt;BR /&gt;           [special | directory ...]&lt;BR /&gt;&lt;BR /&gt;HPUX 11.11 with this version there is no problem:&lt;BR /&gt;[12:56:28] monitor2:~$ df -h&lt;BR /&gt;Filesystem            Size  Used Avail Use% Mounted on&lt;BR /&gt;/dev/vg00/lvol3       2.0G  218M  1.7G  11% /&lt;BR /&gt;/dev/vg00/lvol1       500M  109M  341M  25% /stand&lt;BR /&gt;/dev/vgaxis02/wrk     6.0G  5.3G  740M  88% /wrk&lt;BR /&gt;/dev/vg00/lvol5       8.0G  6.6G  1.4G  82% /var&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Apr 2008 16:57:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-command-df-h/m-p/4189820#M689407</guid>
      <dc:creator>Hector Flores_1</dc:creator>
      <dc:date>2008-04-30T16:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: problem with command df -h</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-command-df-h/m-p/4189821#M689408</link>
      <description>Are you sure you're running HP's version of df on the 11.11 system? The -h option is available on Linux so it seems like you might be using the GNU version of df on the 11.11 box. The HP version in 11.11 doesn't have that option either.</description>
      <pubDate>Wed, 30 Apr 2008 17:03:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-command-df-h/m-p/4189821#M689408</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2008-04-30T17:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: problem with command df -h</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-command-df-h/m-p/4189822#M689409</link>
      <description>Hi Hector:&lt;BR /&gt;&lt;BR /&gt;The '-h' switch isn't valid on 11.11 either.  It appears that someone has created a command (script) that accepts the '-h' switch as an "alias" for 'bdf'.  In GNU/Linux, 'df -h' is valid.&lt;BR /&gt;&lt;BR /&gt;What does this show?&lt;BR /&gt;&lt;BR /&gt;# whereis df&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 30 Apr 2008 17:12:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-command-df-h/m-p/4189822#M689409</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-04-30T17:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: problem with command df -h</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-command-df-h/m-p/4189823#M689410</link>
      <description>this appear with #wheris df:&lt;BR /&gt;&lt;BR /&gt;[13:18:37] monitor-pgcaxis:/$ whereis df&lt;BR /&gt;df: /usr/bin/df /usr/local/bin/df /usr/old/bin/df /usr/local/man/man1/df.1 /usr/share/man/man1m.Z/df.1m&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Apr 2008 17:18:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-command-df-h/m-p/4189823#M689410</guid>
      <dc:creator>Hector Flores_1</dc:creator>
      <dc:date>2008-04-30T17:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: problem with command df -h</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-command-df-h/m-p/4189824#M689411</link>
      <description>dear Hector&lt;BR /&gt;&lt;BR /&gt;whereis df &lt;BR /&gt;whereis ls &lt;BR /&gt;etc... this way u have to use&lt;BR /&gt;not whereis ls -a whereis df -k etc...&lt;BR /&gt;&lt;BR /&gt;thanks and regards&lt;BR /&gt;&lt;BR /&gt;sajjad</description>
      <pubDate>Wed, 30 Apr 2008 18:10:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-command-df-h/m-p/4189824#M689411</guid>
      <dc:creator>Sajjad Sahir</dc:creator>
      <dc:date>2008-04-30T18:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: problem with command df -h</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-command-df-h/m-p/4189825#M689412</link>
      <description>&lt;BR /&gt;dear hector&lt;BR /&gt;if u are using &lt;BR /&gt;whereis xntpd &lt;BR /&gt;then will display&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/xntpd that means i can understand &lt;BR /&gt;&lt;BR /&gt;xntpd is under /usr/sbin directory ok&lt;BR /&gt;&lt;BR /&gt;thanks and regards&lt;BR /&gt;&lt;BR /&gt;sajjad</description>
      <pubDate>Wed, 30 Apr 2008 18:13:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-command-df-h/m-p/4189825#M689412</guid>
      <dc:creator>Sajjad Sahir</dc:creator>
      <dc:date>2008-04-30T18:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: problem with command df -h</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-command-df-h/m-p/4189826#M689413</link>
      <description>dear &lt;BR /&gt;/usr/bin/df &lt;BR /&gt;/usr/local/bin/df &lt;BR /&gt;&lt;BR /&gt;u command is present in /usr/bin/df and /usr/local/bin/df&lt;BR /&gt;&lt;BR /&gt;thanks &lt;BR /&gt;&lt;BR /&gt;sajjad</description>
      <pubDate>Wed, 30 Apr 2008 18:15:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-command-df-h/m-p/4189826#M689413</guid>
      <dc:creator>Sajjad Sahir</dc:creator>
      <dc:date>2008-04-30T18:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: problem with command df -h</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-command-df-h/m-p/4189827#M689414</link>
      <description>Hi (again) Hector:&lt;BR /&gt;&lt;BR /&gt;Examine your PATH to see which is first: '/usr/bin' or '/usr/local/bin'.  If it is the 'local' path, then when you do 'df' you are targeting the version therein, which must be a non-standard 'df'.&lt;BR /&gt;&lt;BR /&gt;Otherwise, you may have an alias set in your '.profile' like:&lt;BR /&gt;&lt;BR /&gt;# alias df='/usr/local/bin/df -h'&lt;BR /&gt;&lt;BR /&gt;TO see if this is the case, do:&lt;BR /&gt;&lt;BR /&gt;# whence -v df&lt;BR /&gt;&lt;BR /&gt;If you have an alias this will return something like:&lt;BR /&gt;&lt;BR /&gt;df is an alias for /usr/local/bin/df -h&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 30 Apr 2008 18:28:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-command-df-h/m-p/4189827#M689414</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-04-30T18:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: problem with command df -h</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-command-df-h/m-p/4189828#M689415</link>
      <description>You have two versions of df but HP-UX has only one which is located in /usr/bin. Someone has installed another version in /usr/local/bin. For OS utilities, that is a bad thing since your PATH may select the wrong one. You can try the what command to see if one is a GNU version:&lt;BR /&gt; &lt;BR /&gt;what /usr/bin/df /usr/local/bin/df&lt;BR /&gt; &lt;BR /&gt;NOTE: Make sure that /usr/local directories are 755 permission. The default value has been 777 (a very bad thing) for many years) as anyone can create anything in a 777 directory. If someone decided to install GNU utilities, there is a very important step to rename duplicate programs (ie, df should be called gdf). Using other versions of OS commands can cause a lot of problems with scripts and other tools.&lt;BR /&gt; &lt;BR /&gt;The whereis command is not very useful as it does not tell you which version you are running. Always use the "type" command (or whence -v which is aliased to type):&lt;BR /&gt; &lt;BR /&gt;type df&lt;BR /&gt; &lt;BR /&gt;This will change whenever your $PATH variable is modified.</description>
      <pubDate>Thu, 01 May 2008 02:20:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-command-df-h/m-p/4189828#M689415</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-05-01T02:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: problem with command df -h</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-command-df-h/m-p/4189829#M689416</link>
      <description>&lt;BR /&gt;dear &lt;BR /&gt;please assign points&lt;BR /&gt;&lt;BR /&gt;sajjad</description>
      <pubDate>Thu, 01 May 2008 06:39:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-command-df-h/m-p/4189829#M689416</guid>
      <dc:creator>Sajjad Sahir</dc:creator>
      <dc:date>2008-05-01T06:39:38Z</dc:date>
    </item>
  </channel>
</rss>

