dimanche 4 janvier 2015

Remove all the contents from /root ( /~ )directory


I wanted a software to be installed and its default directory to install was /root. But the software could not get installed. Now I want to do it again from scratch. But there are some files in /root directory. I am not sure whether they are of the software that I installed or system files. In short I wanted to ask whether the /root directory is empty when we install ubuntu or has it any system files?


here is the output of the ls -la command



root@rnt-U410:~# ls -la
total 84
drwx------ 13 root root 4096 Jan 4 23:24 .
drwxr-xr-x 25 root root 4096 Dec 23 21:16 ..
drwxr-xr-x 4 root root 4096 Dec 23 19:44 .android
drwxr-xr-x 3 root root 4096 Dec 23 19:05 Android
drwxr-xr-x 4 root root 4096 Dec 23 19:01 .AndroidStudio
-rw------- 1 root root 6955 Jan 3 23:30 .bash_history
-rw-r--r-- 1 root root 3133 Jan 1 16:53 .bashrc
-rw-r--r-- 1 root root 3106 Feb 20 2014 .bashrc~
drwx------ 3 root root 4096 Dec 23 21:28 .cache
drwxr-xr-x 5 root root 4096 Dec 23 21:28 .config
drwx------ 3 root root 4096 Dec 23 21:28 .dbus
-rw-r--r-- 1 root root 68 Dec 23 22:24 .gitconfig
drwx------ 2 root root 4096 Dec 23 21:28 .gvfs
drwxr-xr-x 3 root root 4096 Dec 23 19:01 .java
drwxr-xr-x 3 root root 4096 Dec 23 21:28 .local
-rw-r--r-- 1 root root 256 Dec 26 20:47 .profile
-rw-r--r-- 1 root root 194 Dec 26 20:46 .profile~
drwxr-xr-x 3 root root 4096 Dec 23 22:21 .repoconfig
-rw-r--r-- 1 root root 116 Dec 23 22:24 .repopickle_.gitconfig
drwxr-xr-x 3 root root 4096 Dec 25 04:26 .swt
root@rnt-U410:~#


Thanks



Aucun commentaire:

Enregistrer un commentaire