Re: How do I unlock a file ? / SOLVED !




On Wed, 2008-04-09 at 12:05 +0800, SYNass IT Ubuntu / Linux wrote:

I overlooked a little dot at the begin !!!
So, my typing found no match and couldn't proceed. ;-(

BTW one more question:
MythTV is a directory !
The last file was .qt ... and something !!

All your hints tell me do remove a folder with "rm" !?
I always assumed "rm" is used to remove files !?
Isn't "rmdir" the command to remove a directory ???

rmdir will only remove an empty directory. rm -rf says remove a
directory and all its contents recursively. What the command does is
remove all the regular files in every directory in the target tree and
then remove the directories after they no longer have any file entries.

As you have probably discovered the normal file matching does not match
on any files or directories which start with a ".". This is the Unix
convention to "hide" files and directories. You can see the hidden
files and directories by running:

ls -a

The "-a" switch will print all the hidden files starting with a ".". You
will see that every directory has two entries "." and ".." which are
entries for the directory itself "." and the parent directory ".." This
is why "cd .." takes you to the parent directory and "./filename" refers
to a file in the current directory.
--
Smoot Carl-Mitchell
System/Network Architect
smoot@xxxxxxx
+1 480 922 7313
cell: +1 602 451 9005

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: How do I unlock a file ? / SOLVED !
    ... Isn't "rmdir" the command to remove a directory ??? ... Smoot Carl-Mitchell ... That overlooked "dot", a first time experience for me, and especially ...
    (Ubuntu)
  • Re: A couple of questions about updating data through a dataset
    ... >> And if I do have to use the BeginEdit() method, do I also have to issue ... > added, deleted, then it looks to the corresponding command and fires it. ... BTW, I am doing this programmatically, rather than using any wizard like the ... > Configuration wizard and deconstructing what it created. ...
    (microsoft.public.dotnet.framework.adonet)
  • MythTV: tricking external tuner command
    ... I have four PVR-250 capture cards in my MythTV box. ... then show the remote control selection of the new channel. ... The external tune command is run through ... execution to get what I want without changing the MythTV code. ...
    (comp.os.linux.misc)
  • Re: Cannot open multiple IE windows!!
    ... I have tapped all of the ideas I can readily call to my command on this one ... you are welcome BTW. ... How to make a good newsgroup post: ... > manny ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: [PATCH 03/13] scsi: unify allocation of scsi command and sense buffer
    ... command and simplifying the code. ... two slabs to start with but can't find any reason. ... Btw, we might just want to declare the sense buffer directly as a sized ... command allocation to the LLDD. ...
    (Linux-Kernel)