Announcement

Collapse
No announcement yet.

"... being used by another person or program."

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Code:
    louai@Gondolin louai $ mkdir test
    louai@Gondolin louai $ cd test/
    louai@Gondolin test $ ls
    louai@Gondolin test $ touch file1 file2 file3
    louai@Gondolin test $ ls
    file1  file2  file3
    louai@Gondolin test $ gvim file1 
    louai@Gondolin test $ gedit file2 &
    [1] 7070
    louai@Gondolin test $ xedit file3 &
    [2] 7094
    louai@Gondolin test $ ls
    file1  file2  file3
    louai@Gondolin test $ rm *
    louai@Gondolin test $ ls
    louai@Gondolin test $
    Well?
    -Slougi

    Comment


    • #17
      User Friendly

      AZ
      There's an Opera in my macbook.

      Comment


      • #18
        what slougi demonstrated is that linux does not lock you out from deleting a file even it's been used at the time you want to delete it.
        no matrox, no matroxusers.

        Comment


        • #19
          On his machine, under his circumstances, yes.

          On my machine, on many machines, under many circumstances... not so.

          - Gurm
          The Internet - where men are men, women are men, and teenage girls are FBI agents!

          I'm the least you could do
          If only life were as easy as you
          I'm the least you could do, oh yeah
          If only life were as easy as you
          I would still get screwed

          Comment


          • #20
            *can't decide whether to get Wholockme or Sysinternals*

            Comment


            • #21
              I tried both.

              wholockme suffers from two diseases...

              1. The "right click menu corruption disease". Picaview used to do this too. Bleh.

              2. The "I only work when I feel like it disease".

              It's more convenient, to be sure, but Sysinternals has a search function, so...

              - Gurm
              The Internet - where men are men, women are men, and teenage girls are FBI agents!

              I'm the least you could do
              If only life were as easy as you
              I'm the least you could do, oh yeah
              If only life were as easy as you
              I would still get screwed

              Comment


              • #22
                I have seen the linux rm thing.

                When you rm somthing thats locked it will just return with no message.
                But if its not locked and it does delete it, it will say that "xxx has been deleted"

                So if does nothing it says nothing, if it does delete it tells you, I can deal with that

                Comment


                • #23
                  rm has never returned any message when it has deleted something... And I have never seen a locked file in Linux, since UNIX locks are very different from windows locks. Basically what it does is set a flag that the file is in use, but you can still remove it (use -f).
                  -Slougi

                  Comment

                  Working...