Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


HP-UX v1 shutdown command

Posted on 2008-10-28
Medium Priority
Last Modified: 2013-12-06
I need some suggestions.  My office mate suggests that the best thing to use to shut down is the cmd repeat 10 sync;repeat 10 rehash;repeat 10 sync;shutdown -y.  He says he has had great luck with it.  It seems to make me wait 60 seconds for user to log-off before it will shut down.  This just 'seems' improper and I am a total novice.  Any suggestions are greatly appreciated.
Question by:verpit
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 40

Accepted Solution

omarfarid earned 2000 total points
ID: 22833537
try to use shutdown command with time to shutdown. Please see

man shutdown

Author Comment

ID: 22854669
what do

1. repeat
2. rehash
3. sync


I can tell sync from the HP cmd references.  Repeat seems self-explanatory until closer examination.  Does anyone have any specific information?
LVL 40

Expert Comment

ID: 22854694
I think he wants you to sync (several times ) the memory content to the disks and wait enough time before shutting down
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 22854838
yes, i understand that one.  what about rehash and repeat.  I don't see any hp page describing those two commands?
LVL 40

Expert Comment

ID: 22854869
I can't understand that as well
LVL 40

Expert Comment

ID: 23063985
answer was given

Author Closing Comment

ID: 31510962
sorry omar... you are correct

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question