can we remove a directory from within that directory??

2005-11-21 Thread kuldeep vyas
[input][input][input][input] Hi, I'm using Redhat 9 (kernel 2.4.20-8 on i686) I logged in as k(username), then I started terminal, then I gave following commands:- kpwd /home/k kmkdir my_dir // i created a directory: my_dir kcd my_dir //

Re: can we remove a directory from within that directory??

2005-11-21 Thread Phillip Susi
It is a general design philosophy of linux, and unix in general, that the kernel will not enforce locking of files. This is why you can upgrade software without rebooting: the old file can be deleted and replaced with the new file, even though it is still in use. Of course, it isn't actually

Re: can we remove a directory from within that directory??

2005-11-21 Thread Philip Rowlands
On Mon, 21 Nov 2005, kuldeep vyas wrote: I'm using Redhat 9 (kernel 2.4.20-8 on i686) I logged in as k(username), then I started terminal, then I gave following commands:- [snip] kls /home/k/ // my_dir gone kpwd /home/k/my_dir // oops!! It's likely here that pwd is the shell's builtin