[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: something about rm



On 16/05/12 17:49, lina wrote:
> Today I made some mistake,
> I mount the remote server my home directory into local laptop.
> when I tried to umount it, I justed type the rm -r remote_mount_dir
> after I realize it, seems some directoy under ~/home has removed,
Whoops...

> one is .ssh, obviously.
So now you can't login using keys.

> -bash-3.2$ firefox
> Error: no display specified
> -bash-3.2$ xterm
> xterm Xt error: Can't open display:
> xterm:  DISPLAY is not set
These look more like environment variable problems.  Perhaps caused by a
missing .bashrc file.

> what's the sequence of rm-ing do?  I mean, based on which order it
> removes file.
As far as I know, files are removed alphabetically.  I'm sure someone
will correct me if I'm wrong.

> are there some history records those romove process.
Unless you did a 'rm -v' and saved the output, I believe the record does
not exist.

Hope your luck changes,
elbbit

-- 
elbbit@gmail.com


Reply to: