Salut si bun gasit la un nou tutorial video despre linux, acesta este videoul cu numarul 3 in care am sa va arat cum arhivam si cum dezarhivam anumite arhive de pe serverul nostru, pentru a vedea alte tutoriale video despre comenzi in linux puteti sa da-ti click aici
[root@localhost ~]# tar -cf arhiva.tar fisier/ [root@localhost ~]# ls -a . anaconda-ks.cfg .bash_history .bash_profile .cshrc [root@localhost ~]# tar -zcf arhiva.tar.gz fisier/ [root@localhost ~]# ls -a . anaconda-ks.cfg arhiva.tar.gz .bash_logout .bashrc fisier .. arhiva.tar .bash_history .bash_profile .cshrc index.html [root@localhost ~]# tar -jcf arhiva2.tar.gz fisier/ [root@localhost ~]# ls -all total 132 dr-xr-x---. 3 root root 4096 Jun 22 02:36 . dr-xr-xr-x. 22 root root 4096 Jun 22 2013 .. -rw-------. 1 root root 2696 Jun 21 04:51 anaconda-ks.cfg -rw-r--r--. 1 root root 112 Jun 22 02:36 arhiva2.tar.gz -rw-r--r--. 1 root root 10240 Jun 22 02:34 arhiva.tar -rw-r--r--. 1 root root 112 Jun 22 02:35 arhiva.tar.gz -rw-------. 1 root root 623 Jun 21 03:27 .bash_history -rw-r--r--. 1 root root 18 May 20 2009 .bash_logout -rw-r--r--. 1 root root 176 May 20 2009 .bash_profile -rw-r--r--. 1 root root 176 Sep 22 2004 .bashrc -rw-r--r--. 1 root root 100 Sep 22 2004 .cshrc drwxr-xr-x. 2 root root 4096 Jun 22 02:31 fisier -rw-r--r--. 1 root root 11571 Jun 22 02:32 index.html -rw-r--r--. 1 root root 40750 Jun 21 04:51 install.log -rw-r--r--. 1 root root 9154 Jun 21 04:49 install.log.syslog -rw-r--r--. 1 root root 129 Dec 3 2004 .tcshrc -rw-------. 1 root root 66 Jun 21 01:55 .xauthPjDcKz [root@localhost ~]# rm -rf fisier/ [root@localhost ~]# tar -xvf arhiva.tar fisier/ [root@localhost ~]# tar -zxvf arhiva.tar.gz fisier/ [root@localhost ~]# tar -jxvf arhiva2.tar.gz fisier/ [root@localhost ~]#
Mai sus v-am postat toate comenzile pe care le-am executat in tutorialul video mai jos.