WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Internet

Internet Rat & Tat bei Internetproblemen

Microsoft KARRIERECAMPUS

Antwort
 
Themen-Optionen Ansicht
Alt 24.07.2002, 10:33   #1
WebtoolMaster
Veteran
 
Registriert seit: 10.03.2001
Beiträge: 401


Standard Verzeichnis mit Unterverzeichnisen löschen, Platz von UV

Hallo,

Per SSH. Wie kann ich alle Unterverzeichnisse auf einmal löschen.
Auch .htaccess und geschützte?

Wie kann ich den verwendeten Platz für alle Unterverzeichnisse auflisten?
____________________________________
MFG
WebtoolMaster

EXE Tools für Entwickler - Backlinks für mehr Besucher auf der Webseite.
WebtoolMaster ist offline   Mit Zitat antworten
Alt 24.07.2002, 13:36   #2
ripper
Senior Member
 
Registriert seit: 15.01.2001
Beiträge: 103


ripper eine Nachricht über ICQ schicken
Standard

1. rm -rf

2. kA
ripper ist offline   Mit Zitat antworten
Alt 24.07.2002, 14:04   #3
WebtoolMaster
Veteran
 
Registriert seit: 10.03.2001
Beiträge: 401


Standard

Hallo,

Beim Löschen folgendes Problem.

Cann´t remove ........ Permmision denied
WebtoolMaster ist offline   Mit Zitat antworten
Alt 24.07.2002, 14:16   #4
Tarjan
Quantensingularität
 
Registriert seit: 28.09.2000
Alter: 55
Beiträge: 8.336


Tarjan eine Nachricht über ICQ schicken
Standard

Dann hast du keine Berechtigung für diese Ordner. Entweder lässt du dir diese geben, oder jemand mach chmod -R 777 * für diesen Ordner.
____________________________________
Was ist klein, grün und dreieckig?
Ein kleines grünes Dreieck!


Bahnübergänge sind die härtesten Drogen der Welt! Ein Zug und du bist weg!
Tarjan ist offline   Mit Zitat antworten
Alt 24.07.2002, 14:17   #5
Tarjan
Quantensingularität
 
Registriert seit: 28.09.2000
Alter: 55
Beiträge: 8.336


Tarjan eine Nachricht über ICQ schicken
Standard

ad 2: du -s *
____________________________________
Was ist klein, grün und dreieckig?
Ein kleines grünes Dreieck!


Bahnübergänge sind die härtesten Drogen der Welt! Ein Zug und du bist weg!
Tarjan ist offline   Mit Zitat antworten
Alt 24.07.2002, 14:26   #6
pc.net
Aussteiger
 
Benutzerbild von pc.net
 
Registriert seit: 07.10.2001
Ort: Nettistan
Beiträge: 12.997

Mein Computer

Standard

ibm documentation library
ibm documentation library - rmdir command
Zitat:
rmdir Command
Purpose
Removes a directory.

Syntax
rmdir [ -p ] Directory ...


Description
The rmdir command removes the directory, specified by the Directory parameter, from the system.
The directory must be empty before you can remove it, and you must have write permission in its parent directory.
Use the ls -al command to check whether the directory is empty.

Note: The rmdir command supports the -- (dash, dash) parameter as a delimiter that indicates the end of the flags.
Flags
-p Removes all directories along the path name specified by the Directory parameter.
Parent directories must be empty and the user must have write permission in the parent directories before they can be removed.

Exit Status
This command returns the following exit values:

0 Each directory entry specified by a Directory parameter was removed successfully.
>0 An error occurred.

Examples
To empty and remove a directory, enter:
rm mydir/* mydir/.*
rmdir mydir

This command removes the contents of the mydir file and then removes the empty directory. The rm command
displays an error message about trying to remove the directories . (dot) and .. (dot, dot), and
then the rmdir command removes them.
Note that the rm mydir/* mydir/.* command first removes files with names that do not begin with a dot,
and then removes those with names that do begin with a dot. You may not realize that the directory
contains file names that begin with a dot because the ls command does not normally list them unless you use the -a flag.

To remove the /home, /home/demo, and /home/demo/mydir directories, enter:
rmdir -p /home/demo/mydir
This command removes first the /mydir directory and then the /demo and /home directories, respectively.
If a directory is not empty or does not have write permission when it is to be removed, the command terminates.
____________________________________
Praktizierender Eristiker

No hace falta ser un genio para saber quién dijo eso.
Der wirklich faule Mensch ist oft extrem fleißig, denn er will möglichst schnell wieder faul sein.
pc.net ist offline   Mit Zitat antworten
Antwort


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.

Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 01:12 Uhr.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
© 2009 FSL Verlag