To pass (export) the value of a variable in bash: $ export MYPROJECT=$RCAC_SCRATCH/myproject You may create or overwrite an environment variable. To list the values of all environment variables: $ env To find the value of any environment variable: $ echo $RCAC_SCRATCH You may use them on the command line or in any scripts in place of and in combination with hard-coded values: $ ls $HOME Some of the environment variables you should have are: Nameīy convention, environment variable names are all uppercase. Use environment variables instead of actual paths whenever possible to avoid problems if the specific paths to any of these change. Several environment variables are automatically defined for you to help you manage your storage. Link to section 'Environment Variables' of 'Environment Variables' Environment Variables There are several other, less commonly used, options available as well: (uncompress file somefile.bz2 - also removes compressed file) Strong, lossless data compressor based on the Burrows-Wheeler transform. See the official documentation for bzip for more information. Link to section ' bzip2' of 'Archive and Compression' bzip2 (uncompress file somefile.gz - also removes compressed file) (compress file somefile - also removes uncompressed file) The standard compression system for all GNU software. Link to section ' gzip' of 'Archive and Compression' gzip Other arguments for tar can be explored by using the man tar command.
CYBERDUCK PURDUE ARCHIVE
(archive and bzip2-compress all files in a directory into one archive file) (archive and gzip-compress all files in a directory into one archive file) (archive all ".c" files in current directory into one archive file)
CYBERDUCK PURDUE FULL
Includes automatic archive compression/decompression options and special features for incremental and full backups. Saves many files together into a single archive file, and restores individual files from the archive. See the official documentation for tar for more information.
The mostly commonly used options are: Link to section ' tar' of 'Archive and Compression' tar There are several options for archiving and compressing groups of files or directories on ITaP research systems. Link to section 'File Storage and Transfer for Data Workbench' of 'File Storage and Transfer' File Storage and Transfer for Data Workbench Link to section 'Archive and Compression' of 'Archive and Compression' Archive and Compression