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

something about rm



Hi,

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,

one is .ssh, obviously.

others I couldn't tell, like:

-bash-3.2$ firefox
Error: no display specified
-bash-3.2$ xterm
xterm Xt error: Can't open display:
xterm:  DISPLAY is not set

what's the sequence of rm-ing do?  I mean, based on which order it
removes file.
are there some history records those romove process.

Thanks,

Best regards,


Reply to: