Hier könnte man allgemein ein paar Tipps und Tricks für doe Konsole posten...
Zum entpacken verschiedenster Archive kann man folgenden Trick anwenden um nicht jedesmal den vollständigen Befehl eingeben zu müssen:
Dazu bearbeitet ihr die .bashrc Datei in eurem Homedir: nano ~/.bashrc
Und fügt ans Ende folgendes ein:
Code
ent() {
if [ -f $1 ]; then
case $1 in
*.tar.bz2) tar xvjf $1 ;;
*.tar.gz) tar xvzf $1 ;;
*.tar.xz) tar Jxvf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) unrar x $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xvf $1 ;;
*.tbz2) tar xvjf $1 ;;
*.tgz) tar xvzf $1 ;;
*.zip) unzip $1 ;;
*.Z) uncompress $1 ;;
*.7z) 7z x $1 ;;
*) echo "don't know how to extract '$1'..." ;;
esac
else
echo "'$1' is not a valid file!"
fi
}
Alles anzeigen
Anschließend meldet/loggt ihr euch neu an oder die ~/.bashrc neu einlesen lassen:
Und dann braucht ihr künftig, zum entpacken eines Archives, nur noch folgendes eingeben:
Noch eine weitere nützliche Angelegenheit für Anfänger -> http://linuxwiki.de/UnDelete -> http://wiki.linux-club.de/opensuse/Verlo…ellen_ext3_ext4
Nützliche Tools Erweiterung durch das Paket moreutils
Code
Description: additional Unix utilities
This is a growing collection of the Unix tools that nobody thought
to write long ago, when Unix was young.
.
So far, it includes the following utilities:
- chronic: runs a command quietly unless it fails
- combine: combine the lines in two files using boolean operations
- errno: look up errno names and descriptions
- ifdata: get network interface info without parsing ifconfig output
- ifne: run a program if the standard input is not empty
- isutf8: check if a file or standard input is utf-8
- lckdo: execute a program with a lock held
- mispipe: pipe two commands, returning the exit status of the first
- parallel: run multiple jobs at once
- pee: tee standard input to pipes
- sponge: soak up standard input and write to a file
- ts: timestamp standard input
- vidir: edit a directory in your text editor
- vipe: insert a text editor into a pipe
- zrun: automatically uncompress arguments to command
Alles anzeigen
Beispiel: