I am working in Embedded domain. While creating file system for one project i kept file system name as ~
. It was write protected. Then tried to remove that whole file system by command rm -rf ~
in the directory of where file system(embedded project) is present. But, this command removed my system home directory files,Because of ~
is refers to home directory in ubuntu. It was taking more times. Then i stopped and came to know that it was deleting my system home directory files.
So, How can get all deleted files again..?? Please give me an exact solution.My system details are
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
I dont have any partition in HDD.i am using it as a single drive. My disk details
*-disk
description: ATA Disk
product: ST500LM012 HN-M5
vendor: Seagate
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: 2BA3
serial: S316J90F200261
size: 465GiB (500GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 sectorsize=512 signature=0002c421
Give me the most favorable solutions......