<?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: little used favorite commands... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602739#M233232</link>
    <description>Not really a command this:&lt;BR /&gt;&lt;BR /&gt;man tunefs&lt;BR /&gt;&lt;BR /&gt;Which I'm sure you're all aware of already.&lt;BR /&gt;&lt;BR /&gt;I like it.</description>
    <pubDate>Fri, 12 Aug 2005 10:41:07 GMT</pubDate>
    <dc:creator>Gavin Clarke</dc:creator>
    <dc:date>2005-08-12T10:41:07Z</dc:date>
    <item>
      <title>little used favorite commands...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602732#M233225</link>
      <description>Okay, I am curious once more to find out what little used commands you have that are interesting and handy...&lt;BR /&gt;&lt;BR /&gt;Basically my goal is to make us all aware of great little commands that most of us don't use on a daily basis...&lt;BR /&gt;&lt;BR /&gt;I recently took a Posix coding class and learned of a few...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;One I found very useful strangely interesting is "getopts" used in managing script command options and for formatting error messages for usage and such.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Aug 2005 09:42:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602732#M233225</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2005-08-12T09:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: little used favorite commands...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602733#M233226</link>
      <description>I frequently use getprpw &amp;amp; modprpw to deal with expired/locked out accounts.&lt;BR /&gt;The biggest pain with these is the lack of man entries in the OS itself - although you can get man pages online a &lt;A href="http://www.docs.hp.com" target="_blank"&gt;www.docs.hp.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Jeff</description>
      <pubDate>Fri, 12 Aug 2005 09:47:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602733#M233226</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2005-08-12T09:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: little used favorite commands...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602734#M233227</link>
      <description>the rad command. &lt;BR /&gt;&lt;BR /&gt;useful for looking at hardware information. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Aug 2005 09:56:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602734#M233227</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2005-08-12T09:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: little used favorite commands...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602735#M233228</link>
      <description>Bind version:&lt;BR /&gt;&lt;BR /&gt;dig CHAOS TXT version.bind @some.dns.server&lt;BR /&gt;&lt;BR /&gt;But you can change it in named.conf in the options section:&lt;BR /&gt;&lt;BR /&gt;version "Wild DNS 1.0";&lt;BR /&gt;&lt;BR /&gt;Sendmail version:&lt;BR /&gt;&lt;BR /&gt;sendmail -v -d0.1 &amp;lt; /dev/null&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Aug 2005 09:58:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602735#M233228</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-08-12T09:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: little used favorite commands...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602736#M233229</link>
      <description>getip, grget, pwget, pwstat&lt;BR /&gt;quot, expand_alias, sendmail -v&lt;BR /&gt;df -g&lt;BR /&gt;UNIX95= ps -C&lt;BR /&gt;may more there.</description>
      <pubDate>Fri, 12 Aug 2005 10:14:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602736#M233229</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-08-12T10:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: little used favorite commands...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602737#M233230</link>
      <description>The old favourite to find the size of processes:&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -e -o vsz=Kbytes -o ruser -o pid,args=Command-Line | sort -rnk1 | grep -v Kbytes</description>
      <pubDate>Fri, 12 Aug 2005 10:17:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602737#M233230</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2005-08-12T10:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: little used favorite commands...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602738#M233231</link>
      <description>Also tput, useful for making "pretty" output.&lt;BR /&gt;&lt;BR /&gt;eg: -&lt;BR /&gt;&lt;BR /&gt;clear&lt;BR /&gt;tput cup 5 10&lt;BR /&gt;tput smso&lt;BR /&gt;echo "Main Menu"&lt;BR /&gt;tput cup 6 10&lt;BR /&gt;tput sgr0&lt;BR /&gt;echo "Option 1"&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Aug 2005 10:23:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602738#M233231</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2005-08-12T10:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: little used favorite commands...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602739#M233232</link>
      <description>Not really a command this:&lt;BR /&gt;&lt;BR /&gt;man tunefs&lt;BR /&gt;&lt;BR /&gt;Which I'm sure you're all aware of already.&lt;BR /&gt;&lt;BR /&gt;I like it.</description>
      <pubDate>Fri, 12 Aug 2005 10:41:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602739#M233232</guid>
      <dc:creator>Gavin Clarke</dc:creator>
      <dc:date>2005-08-12T10:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: little used favorite commands...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602740#M233233</link>
      <description>To checking machine status for whole day;&lt;BR /&gt;&lt;BR /&gt;usr/sbin/sar -u -M &amp;gt; /logging/perf/`date +%b%Y`/cpu`date +%d` 2&amp;gt; /dev/null&lt;BR /&gt;/usr/sbin/sar -b &amp;gt; /logging/perf/`date +%b%Y`/buffer`date +%d` 2&amp;gt; /dev/null&lt;BR /&gt;/usr/sbin/sar -d &amp;gt; /logging/perf/`date +%b%Y`/disk`date +%d` 2&amp;gt; /dev/null&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Aug 2005 10:41:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602740#M233233</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2005-08-12T10:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: little used favorite commands...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602741#M233234</link>
      <description>And for those who haven't seen it already, here's the link to your original thread on this one;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=406126" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=406126&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Here's a new one to go on the list&lt;BR /&gt;&lt;BR /&gt;rev - reverses the lines in a file.&lt;BR /&gt;&lt;BR /&gt;eg:&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; cat file1&lt;BR /&gt;one&lt;BR /&gt;two&lt;BR /&gt;three&lt;BR /&gt;four&lt;BR /&gt;five&lt;BR /&gt;six&lt;BR /&gt;&lt;BR /&gt;=&amp;gt;rev file1&lt;BR /&gt;eno&lt;BR /&gt;owt&lt;BR /&gt;eerht&lt;BR /&gt;ruof&lt;BR /&gt;evif&lt;BR /&gt;xis&lt;BR /&gt;&lt;BR /&gt;I'm sure there are endless applications for this, but personally, I used it to write a fake shell for April Fools Day :)</description>
      <pubDate>Fri, 12 Aug 2005 10:57:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602741#M233234</guid>
      <dc:creator>Chris Wilshaw</dc:creator>
      <dc:date>2005-08-12T10:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: little used favorite commands...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602742#M233235</link>
      <description>Thanks Chris... my sanity or lack thereof is being exposed yet again!!!&lt;BR /&gt;&lt;BR /&gt;Heh well that was 18 months ago so I'm due a repeat!!</description>
      <pubDate>Fri, 12 Aug 2005 11:00:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602742#M233235</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2005-08-12T11:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: little used favorite commands...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602743#M233236</link>
      <description>vg problems I love this one...&lt;BR /&gt;&lt;BR /&gt;echo "0x2008?4D"| adb /dev/dsk/c-t-d-&lt;BR /&gt;&lt;BR /&gt;the output gives you for each field, if I can ready my old notes:&lt;BR /&gt;&lt;BR /&gt;1=address of lvm data&lt;BR /&gt;2=system/cpu id&lt;BR /&gt;3=pvid&lt;BR /&gt;4=system/cpu id&lt;BR /&gt;5=vgid&lt;BR /&gt;&lt;BR /&gt;...I compare a disk that is in the vg and one that is reporting error (but should be in same vg)...if field 5 don't match that confirms the problem...&lt;BR /&gt;&lt;BR /&gt;Rgrds,&lt;BR /&gt;Rita&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Aug 2005 11:09:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602743#M233236</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2005-08-12T11:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: little used favorite commands...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602744#M233237</link>
      <description>usually forgottoen steps when repairing a failed root disk mirror:&lt;BR /&gt;&lt;BR /&gt;rawdevice=/dev/rdsk/cXtXdX&lt;BR /&gt;mkboot -l ${rawdevice}&lt;BR /&gt;mkboot -a "hpux -lq (;0)/stand/vmunix" ${rawdevice}&lt;BR /&gt;cd /usr/sbin/diag/lif&lt;BR /&gt;width=`getconf KERNEL_BITS`&lt;BR /&gt;if [ $width -eq 64 ]&lt;BR /&gt;then&lt;BR /&gt;mkboot -b updatediaglif2 -p ISL -p AUTO -p HPUX -p LABEL ${rawdevice}&lt;BR /&gt;else&lt;BR /&gt;mkboot -b updatediaglif -p ISL -p AUTO -p HPUX -p LABEL ${rawdevice}&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;lvlnboot -r /dev/vg00/lvol3 # root fs /&lt;BR /&gt;lvlnboot -s /dev/vg00/lvol2 #swap&lt;BR /&gt;lvlnboot -d /dev/vg00/lvol2 #swap/dump&lt;BR /&gt;lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;lvlnboot -R&lt;BR /&gt;lvlnboot -v&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Aug 2005 11:16:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602744#M233237</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-08-12T11:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: little used favorite commands...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602745#M233238</link>
      <description>display command used for filesystem creation:&lt;BR /&gt;&lt;BR /&gt;# mkfs -m /dev/vgXX/lvolY&lt;BR /&gt;&lt;BR /&gt;display contents of the superblock:&lt;BR /&gt;&lt;BR /&gt;# fstyp -v /dev/vgXX/rlvolY&lt;BR /&gt;&lt;BR /&gt;Moving all "*.arc" files to "*.old" in current dir:&lt;BR /&gt;&lt;BR /&gt;# ls *.arc | awk -F"arc" '{system("cp "$0" "$1"old")}'         &lt;BR /&gt;</description>
      <pubDate>Fri, 12 Aug 2005 12:09:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602745#M233238</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2005-08-12T12:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: little used favorite commands...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602746#M233239</link>
      <description>One I use almost every day:  It shows the most recent files in a directory.  I put it in my .kshrc file:&lt;BR /&gt;&lt;BR /&gt;alias -x llast='ll -t | head -23'       # ll most recent files`&lt;BR /&gt;</description>
      <pubDate>Sat, 13 Aug 2005 18:53:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602746#M233239</guid>
      <dc:creator>Michael D. Zorn</dc:creator>
      <dc:date>2005-08-13T18:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: little used favorite commands...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602747#M233240</link>
      <description>Actually, this is a command I use a lot. It's the option for it that I don't use as frequently anymore. For the lp command, I always repeated the -o option each time. I discovered that I could put everything in single quotes.&lt;BR /&gt;&lt;BR /&gt;So instead of&lt;BR /&gt;lp -dprinter -oduplex -otray3 -o3hole -onb&lt;BR /&gt;I do&lt;BR /&gt;lp -dprinter -o'duplex tray3 3hole nb'&lt;BR /&gt;&lt;BR /&gt;Also, printing out man pages so that they paginate correctly&lt;BR /&gt;man man | lp -dprinter -on&lt;BR /&gt;&lt;BR /&gt;Marlou</description>
      <pubDate>Thu, 18 Aug 2005 17:03:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602747#M233240</guid>
      <dc:creator>Marlou Everson</dc:creator>
      <dc:date>2005-08-18T17:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: little used favorite commands...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602748#M233241</link>
      <description>I like the command&lt;BR /&gt;# strings /etc/lvmtab &lt;BR /&gt;to see the volumegroup entry in the lvmtab file.&lt;BR /&gt;thanks&lt;BR /&gt;Dp</description>
      <pubDate>Thu, 18 Aug 2005 17:43:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602748#M233241</guid>
      <dc:creator>Devesh Pant_1</dc:creator>
      <dc:date>2005-08-18T17:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: little used favorite commands...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602749#M233242</link>
      <description>Here's a few favorites:&lt;BR /&gt; &lt;BR /&gt;whence (you'll never use which or whereis again)&lt;BR /&gt;type (even better than whence)&lt;BR /&gt; &lt;BR /&gt;logins -d (a great security check)&lt;BR /&gt; &lt;BR /&gt;ioscan -k (ultra-fast option)&lt;BR /&gt;ioscan -kfC lan (or disk or tape..)&lt;BR /&gt; &lt;BR /&gt;addqueue (for JetDirect printers)&lt;BR /&gt; &lt;BR /&gt;setboot (especially the SpeedyBoot options in 11.11)&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Thu, 18 Aug 2005 18:36:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602749#M233242</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-08-18T18:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: little used favorite commands...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602750#M233243</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I dont know any of this group have tried the command "yes"...this can be used to generate repeated outputs in a shell script. But I havent seen this used by any one yet. I think this is very rarely used.&lt;BR /&gt;&lt;BR /&gt;eg:&lt;BR /&gt;#yes " How are you??"&lt;BR /&gt; How are you??&lt;BR /&gt; How are you??&lt;BR /&gt; How are you??&lt;BR /&gt; How are you??&lt;BR /&gt; How are you??&lt;BR /&gt; How are you??&lt;BR /&gt; How are you??&lt;BR /&gt; How are you??&lt;BR /&gt; How are you??&lt;BR /&gt; How are you??&lt;BR /&gt; How are you??&lt;BR /&gt; How are you??&lt;BR /&gt; How are you??&lt;BR /&gt; How are you??&lt;BR /&gt; How are you??&lt;BR /&gt; How are you??&lt;BR /&gt; How are you??&lt;BR /&gt; How are you??&lt;BR /&gt; How are you??&lt;BR /&gt; How are you??&lt;BR /&gt; How are you??&lt;BR /&gt; How are you??&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Syam</description>
      <pubDate>Thu, 18 Aug 2005 21:49:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602750#M233243</guid>
      <dc:creator>Ranjith_5</dc:creator>
      <dc:date>2005-08-18T21:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: little used favorite commands...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602751#M233244</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;what about the following commands.&lt;BR /&gt;These are rarely used and can do special functions.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;lock locks the screen ( try this :-)&lt;BR /&gt;doscp dos copy&lt;BR /&gt;split split a bigger file into small pieces.&lt;BR /&gt;ftpwho shows the ftp user info&lt;BR /&gt;fold formating the colum width. ( try fold -30 /etc/issue)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Syam</description>
      <pubDate>Thu, 18 Aug 2005 21:58:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/little-used-favorite-commands/m-p/3602751#M233244</guid>
      <dc:creator>Ranjith_5</dc:creator>
      <dc:date>2005-08-18T21:58:56Z</dc:date>
    </item>
  </channel>
</rss>

