The UNIX and Linux Forums  


Go Back   De Unix-en Linux Forum > Top Forums > UNIX voor Dummies Questions & Answers
.
google unix.com



UNIX voor Dummies Questions & Answers Als u niet zeker weet waar je een Unix-of Linux vraag, post het hier. Alle UNIX-en Linux beginners van harte welkom!!

Meer UNIX en Linux Forum Onderwerpen Misschien vindt u Helpful
Draad Thread Starter Forum Antwoorden Last Post
zal dit script in werking crontab zondag 9?? thepurple SUN Solaris 2 10-05-2007 05:31
eigenschappen voor vi shriashishpatil UNIX voor Dummies Questions & Answers 2 04-20-2007 02:27 PM
Tijdelijk uitschakelen effect van set-e in ksh ugeek Programmeren en Shell Scripting 1 03-28-2007 05:21
Effect van Preemptive Kernel sriram.ec UNIX for Advanced & Expert Gebruikers 2 03-15-2006 01:43
recursieve kracht! sskb UNIX voor Dummies Questions & Answers 2 01-30-2003 12:05

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Zoeken in deze Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-21-2006
Chiefos Chiefos is offline
Geregistreerde gebruiker
  
 

Join Date: Jun 2006
Posts: 28
Hoe eigenschappen effect script?

Hoi,

Ik heb gemerkt dat rm-indien zal presteren heel anders naar rm-fi. Wat is het patroon van de manier waarop ik mijn opties aan het script met betrekking tot hoe het zal handelen.

dat wil zeggen

rm-fi behandelen verwijderen als Interative maar
rm-als behandelt het als gedwongen

Thansk, Chris.
  #2 (permalink)  
Old 06-21-2006
blowtorch's Avatar
steekvlam blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: december 2004
Locatie: Singapore
Berichten: 2350
Om eerlijk te zijn, was ik verrast dat de F-en-i-opties samenwerken. Maar op het controleren van de man pagina (op HP en Sun), vond ik het volgende:
Op HP-UX:
HTML-code:
rm recognizes the following options:

           -f   Force each file or directory to be removed without prompting
                for confirmation, regardless of the permissions of the
                entry.  This option also suppresses diagnostic messages
                regarding nonexistent operands.

                This option does not suppress any diagnostic messages other
                than those regarding nonexistent operands.  To suppress all
                error message and interactive prompts, the -f option should
                be used while redirecting standard error output to
                /dev/null.

                This option ignores any previous occurrence of the -i
                option.

 Hewlett-Packard Company            - 1 -   HP-UX Release 11i: November 2000

 rm(1)                                                                 rm(1)

           -i   Write a prompt to standard error requesting confirmation
                before removing each entry.
Op Solaris:
HTML-code:
    -f    Removes all files (whether write-protected or not)  in
           a  directory  without  prompting the user. In a write-
           protected directory, however, files are never  removed
           (whatever  their permissions are), but no messages are
           displayed. If the removal of a write-protected  direc-
           tory  is  attempted,  this option will not suppress an
           error message.

     -i    Interactive. With this option, rm prompts for  confir-
           mation  before removing any files. It overrides the -f
           option and remains in  effect  even  if  the  standard
           input is not a terminal.
Dus als u "rm-fi" op HP draaien, het is interactief, maar "rm-if" wordt gedwongen zoals gespecificeerd in de man pagina. Maar op Solaris, indien "-i" is opgegeven, dan is de "-f" is, ongeacht waar het zich voordoet genegeerd.
Closed Thread

Bladwijzers

Thread Tools Zoeken in deze Thread
Zoeken in deze Thread:

Uitgebreid zoeken
Display Modes Beoordeel deze draad
Beoordeel deze draad:

Posting Regels
Jij mag niet Post Nieuwe threads
Jij mag niet na antwoorden
Jij mag niet post attachments
Jij mag niet bewerk uw berichten

BB code is Aan
Smilies zijn Aan
[IMG] code Aan
HTML-code is Uit
Trackbacks zijn Aan
Pingbacks zijn Aan
Refbacks zijn Aan




Alle tijden zijn GMT -4. Het is nu 08:10 PM.


Powered by: vBulletin, Copyright © 2000 - 2006, Jelsoft Enterprises Limited. Vertalingen Powered by .
vBCredits v1.4 Copyright © 2007 - 2008, PixelFX Studios
De Unix-en Linux Forums Copyright © 1993-2009. Alle rechten Reserved.Ad Beheer door RedTyger

Content Relevante URL's door vBSEO 3.2.0