Command | Description |
# bunzip2 file1.bz2 | decompress a file called 'file1.bz2' |
# bzip2 file1 | compress a file called 'file1' |
# gunzip file1.gz | decompress a file called 'file1.gz' |
# gzip file1 | compress a file called 'file1' |
[root@server1 ~]# tar –cvf archive_name source [root@server1 ~]# cd /etc/ [root@server1 etc] # tar -cvf /bakup/resolv.tar resolv.conf [root@server1 etc]# cd /bakup/ [root@server1 bakup]# ls -l total 12 -rw-r--r-- 1 root root 10240 Dec 18 18:30 resolv.tar | Create tar extension file |
[root@server1 bakup] # tar -xvf /bakup/resolv.tar [root@server1 bakup]# ls resolv.conf resolv.tar | Extract from tar file |
[root@server1 bakup] # gzip -v /bakup/resolv.tar /bakup/resolv.tar: 98.6% -- replaced with /bakup/resolv.tar.gz [root@server1 bakup]# ls resolv.conf resolv.tar.gz | For Compress |
[root@server1 bakup] # gunzip -v /bakup/resolv.tar /bakup/resolv.tar.gz: 98.6% -- replaced with /bakup/resolv.tar [root@server1 bakup]# ls resolv.conf resolv.tar | UnCompress |
[root@server1 ~]# ps | Show current Process |
[root@server1 ~]# pstree | Show current process with tree |
[root@server1 ~]# uptime | How many times are system start |
[root@server1 ~]# top | System process monitor |
[root@server1 ~]# pstree | less | Show process with tree |
[root@server1 ~]# iostat | Show system process & Idle time |
[root@server1 ~]# hostname server1.example.com | Check Host name |
[root@server1 ~]# ntsysv | Show runlevel list |
[root@server1 ~]# setup | For network configuration,authentication |
[root@server1 ~]#chkconfig vsftpd on | Automaticaly on vsftpd on system reboot |
RHEL 6.3 ,CentOS 6.3,Scientific Linux 6.3 Archives and compressed files



Subscribe to:
Post Comments (Atom)
No Response to "RHEL 6.3 ,CentOS 6.3,Scientific Linux 6.3 Archives and compressed files"
Post a Comment
leave a comment