Welcome to the VirtuQ Forums.
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Oct 2011
    Location
    Allahabad, India
    Posts
    245

    Explicit and implicit use of commands

    Hi,

    I want to ask that what is the explicit and implicit use of commands?

    Thanks,
    Anon10020

  2. #2
    VirtuQ™ Moderator
    Join Date
    Jul 2011
    Location
    Bangalore, India
    Posts
    1,044
    Blog Entries
    2
    Anon10020,

    The question is not clear. Can you please let us know the context?

    Thanks,

    Anup

  3. #3
    Member
    Join Date
    Oct 2011
    Location
    Allahabad, India
    Posts
    245
    Hi,

    As per the slide in "4-4 File and Directory Deletion"
    it is said that
    rmdir is explicitly used to delete directories.

    So I want to ask by using a command in explicit or implicit manner,
    What does it mean?

    Thanks
    Anon10020

  4. #4
    VirtuQ™ Moderator
    Join Date
    Jul 2011
    Location
    Bangalore, India
    Posts
    1,044
    Blog Entries
    2
    Okay, there are as such no explicit or implicit commands. What that sentence means is that rm can be used to delete both files and directories but rmdir is only for directories. It is useful in scripts when you want to be explicit about what it is that is being deleted as well as careful.

    Anup


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •