Archiv verlassen und diese Seite im Standarddesign anzeigen : tar.gz
(sic)maggot
26.11.01, 17:20
Hi
wenn man dateien im tar.gz format entpacken soll steht in den how-to´s immer tar xvfz archiv.tar.gz .
Jetzt wollt ich mal wissen wofür dieses xvfz ist.bei manchen how-to´s steht auch xpvfz oder xfvz und es geht trotzdem
also was bedeutet das???
und was bringt dieser chmod und wie wendet man ihn an?
Schon mal
#> tar --help
oder
#> man tar
ersucht?
x steht für extract
z für "benutze gzip"
f steht für file (default wäre stdin)
v steht für verbose, also "gesprächig"
Wie schon gesagt, commandline Optionen stehen immer in der Hilfe des jeweiligen Programms, bzw. in seiner man page.
Ciao,
_
Hallole,
micha:~# tar --help
.......
-x, --extract, --get extract files from an archive
.......
-v, --verbose verbosely list files processed
.......
-z, --gzip, --ungzip filter the archive through gzip
.......
-f, --file=ARCHIVE use archive file or device ARCHIVE
.......
-p, --same-permissions extract all protection information
......
micha:~#
Gruß micha
(sic)maggot
26.11.01, 18:03
cool danke
aber was ist mit dem chmod(oder chkmod?!?)???
Hallo,
mit chmod ändert man die Dateiberechtigungen.
Beispiel:
ths-web:/tmp # touch test.datei
ths-web:/tmp # ll test.datei
-rw-r--r-- 1 root root 0 Nov 26 19:10 test.datei
ths-web:/tmp # chmod 777 test.datei
ths-web:/tmp # ll test.datei
-rwxrwxrwx 1 root root 0 Nov 26 19:10 test.datei
ths-web:/tmp # chmod 400 test.datei
ths-web:/tmp # ll test.datei
-r-------- 1 root root 0 Nov 26 19:10 test.datei
ths-web:/tmp # chmod 644 test.datei
ths-web:/tmp # ll test.datei
-rw-r--r-- 1 root root 0 Nov 26 19:10 test.datei
ths-web:/tmp #
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.