Operating systems : Linux
Extracting tar.gz files in Linux, command line:
tar zxvf file.tar.gz
- z : filter the archive through gzip [ 1 ]
- x : extract files from an archive
- v : list the files processed
- f : use archive file
The command extracts the contents of a compressed archive to the current directory.
Tar creates an archive of one or several files. Then gzip is used to compress it. Or both processes are made at once by tar only, with corresponding options employed. The duality of nature - archived and compressed after - is reflected in the extension of the file ("tar.gz") and requires two procedures to be performed while extracting: decompressing and unpacking. Hence both z (decompress it) and x (unpack it) in the command.
Aliosque subditos et thema
Selecting all files and folders in a directory viewed in a panel of Midnight Commander. Achieving the same effect a does Ctrl - A under Microsoft Windows or Cmd - A in Mac OS X: Open a directory --> Ctrl - Shift - = --> Enter * [asterisk] --> Enter A directory with files and folders Selection options prompt Entering * [asterisk] All files and folders has been selected The keyboard shortcut of Ctrl - Shift - = is meant to type plus symbol. So just Shift - = may also happen to be enough. The "Using shell patterns" option in selection options prompt has to be checked on in order to make asterisk to work as the symbol for "all" or "any".