<?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 Profile question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/5151793#M454883</link>
    <description>How would one go about setting his profile, so that when the command ll was ran, it would show in megs instead of bytes? Is this easily possible?</description>
    <pubDate>Wed, 21 Jan 2009 19:12:13 GMT</pubDate>
    <dc:creator>Adam W.</dc:creator>
    <dc:date>2009-01-21T19:12:13Z</dc:date>
    <item>
      <title>Profile question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/5151793#M454883</link>
      <description>How would one go about setting his profile, so that when the command ll was ran, it would show in megs instead of bytes? Is this easily possible?</description>
      <pubDate>Wed, 21 Jan 2009 19:12:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/5151793#M454883</guid>
      <dc:creator>Adam W.</dc:creator>
      <dc:date>2009-01-21T19:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Profile question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/5151794#M454884</link>
      <description>Hi Adam:&lt;BR /&gt;&lt;BR /&gt;I assume that you mean Bill Hassell's 'bdf' script?&lt;BR /&gt;&lt;BR /&gt;Regardless, you can create an 'alias' in your '.profile' as for example:&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;alias cp='cp -ip'&lt;BR /&gt;alias du='du -k'&lt;BR /&gt;alias bdf='/usr/local/bin/bdfmegs.sh'&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;See Bill's latest here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1291639" target="_blank"&gt;http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1291639&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jan 2009 19:26:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/5151794#M454884</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-01-21T19:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Profile question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/5151795#M454885</link>
      <description>That is not easily done.  You would have to create your own 'll'.  The HP-UX 'ls' program does not have an option to output size in MB.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jan 2009 19:32:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/5151795#M454885</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-01-21T19:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Profile question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/5151796#M454886</link>
      <description>ll doesn't support output in megabytes by default.  You'd have to create a script to display the output in megabytes, then create an alias in your .profile to the script.</description>
      <pubDate>Wed, 21 Jan 2009 19:33:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/5151796#M454886</guid>
      <dc:creator>Autocross.US</dc:creator>
      <dc:date>2009-01-21T19:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Profile question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/5151797#M454887</link>
      <description>I thought so, but I though maybe some of the gods/powers that be, would know an easier way. Thanks everyone.</description>
      <pubDate>Wed, 21 Jan 2009 19:41:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/5151797#M454887</guid>
      <dc:creator>Adam W.</dc:creator>
      <dc:date>2009-01-21T19:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Profile question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/5151798#M454888</link>
      <description>Hi (again) Adam:&lt;BR /&gt;&lt;BR /&gt;Oh, if you mean the output of 'ls' a crude but simple solution might be:&lt;BR /&gt;&lt;BR /&gt;# cat /usr/local/bin/myls&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;ls -l | awk '{$5=(sprintf "%2.2f",$5/1024/1024);print}'&lt;BR /&gt;&lt;BR /&gt;Now, in your '.profile':&lt;BR /&gt;&lt;BR /&gt;alias ls='/usr/local/bin/myls'&lt;BR /&gt;&lt;BR /&gt;...The format is preserved and the output calculated in MB.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 21 Jan 2009 19:45:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/5151798#M454888</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-01-21T19:45:42Z</dc:date>
    </item>
  </channel>
</rss>

