Hallo,
Ich habe es irgendwie geschafft mir das Verzeichnis /root in meinen /opt/fhem Ordner zu bringen. Im Hauptpfad ist das Verzeichnis /root vorhanden, aber in /opt/fhem/ gibt es jetzt ein Verzeichnis namens ~. Wenn ich in das Verzeichnis wechseln möchte lande ich im /root Verzeichnis.
Wie kann ich das wieder loswerden ohne ggf. meine Installation zu gefährden ?
Kann ich einfach rmdir ~
ausführen oder folgt das Löschkommando dann den Befehl und löscht dann auch /root ?
Google hat mir leider nicht besonders weitergeholfen, und entschuldigt diesen blöden Anfängerfehler von mir.
bis denne
Jörg
Mach mal bitte ein "ls -al /opt/fhem" und poste die Ausgabe. So einfach wie Deine Frage läßt sich eine funktionierende Antwort nämlich nicht formulieren.
Hallo betateilchen,
Das bekomme ich als Ausgabe:
root@cubie:~# ls -al /opt/fhem
total 1470056
drwxr-xr-x 2 fhem dialout 4096 Oct 3 16:38 ~
drwxrwxrwx 14 fhem root 4096 Oct 4 13:32 .
drwxr-xr-x 3 root root 4096 Aug 16 12:46 ..
drwxr-xr-x 2 fhem dialout 4096 Oct 3 14:14 backup
drwx--x--x 2 fhem root 4096 May 28 16:51 certs
-rw-r--r-- 1 fhem dialout 78880 Sep 26 16:10 CHANGED
-rw-r--r-- 1 root root 881 Sep 3 15:31 configDB.conf
-rw-rw-rw- 1 fhem root 2785280 Oct 4 13:32 configDB.db
-rw-r--r-- 1 fhem dialout 31059 Sep 5 15:25 configDB.pm
drwxrwxrwx 26 fhem root 4096 Dec 1 2013 contrib
-rwxrwxrwx 1 fhem root 92 Sep 3 16:24 db.conf
drwxrwxrwx 2 fhem root 4096 Dec 1 2013 demolog
drwxrwxrwx 4 fhem root 4096 Sep 26 16:11 docs
drwxrwxrwx 5 fhem root 12288 Sep 26 16:11 FHEM
-rw-rw-rw- 1 fhem root 75640 Sep 3 08:00 fhem.cfg
-rw-r--r-- 1 root root 44336 May 5 17:31 fhem.cfg_bak
-rw-rw-rw- 1 fhem root 5123 Oct 6 2013 fhem.cfg.demo
-rw-rw-rw- 1 fhem root 1501017088 Oct 4 13:42 fhem.db
-rw-rw-rw- 1 fhem dialout 32768 Oct 4 13:42 fhem.db-shm
-rw-rw-rw- 1 fhem dialout 1058512 Oct 4 13:43 fhem.db-wal
-rw-r--r-- 1 fhem dialout 102277 Sep 26 16:11 fhem.pl
drwxr-xr-x 3 root root 4096 May 31 19:37 home
drwxrwxrwx 2 fhem root 4096 Sep 7 13:10 log
-rw-rw-rw- 1 fhem root 761 Oct 6 2013 README_DEMO.txt
drwxr-xr-x 5 fhem dialout 4096 Sep 26 16:10 restoreDir
-rw-r--r-- 1 fhem dialout 410 Apr 30 19:47 Tiefkuehler.log
drwxr-xr-x 2 fhem dialout 4096 Dec 5 2013 unused
drwxrwxrwx 9 fhem root 4096 Apr 19 09:21 www
root@cubie:~#
rmdir \~
oder rmdir ./~
sollte beides gehen.
gruss
andre
Hallo,
Entschuldigt für die verspätete Antwort.
Es hat geklappt wie Beschrieben - das Verzeichnis ~ ist gelöscht.
Vielen Dank
Jörg