Labels

algorithms (22) Design Patterns (20) java (19) linux (14) Snippet (13) service mix (6) soa (4)

Cloudizza

Cloudizza

Linux Set and Tar commands

SET

shows the list of environment variables

[trainee@localhost purna]$ set
BASH=/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="1" [2]="17" [3]="1" [4]="release" [5]="i686-redhat-linux-gnu")
BASH_VERSION='3.1.17(1)-release'
COLORS=/etc/DIR_COLORS.xterm
COLUMNS=80

tar

to tar

tar –cvf <file.tar> input files list

untar

tar –xvf <file.tar>

tar –zxvf will unzip and untar it.

No comments:

Post a Comment

Search 24 Bytes