0% found this document useful (0 votes)
57 views24 pages

Curso: Sistemas Operativos Profesor: Ivan Vladimir Martinez Moran Salon: 17366 Alumno: Vasquez Chavez Jose Manuel Codigo: U19300899

The document describes the creation of a directory structure by a user named jose on their localhost system. Several subdirectories are created under the main ALUMNO directory to organize files for administration, commercial, and automobile related projects. Text files are added to each subdirectory and then compressed using tar, gzip, and zip commands to create archives of the files.

Uploaded by

Jose Vasquez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views24 pages

Curso: Sistemas Operativos Profesor: Ivan Vladimir Martinez Moran Salon: 17366 Alumno: Vasquez Chavez Jose Manuel Codigo: U19300899

The document describes the creation of a directory structure by a user named jose on their localhost system. Several subdirectories are created under the main ALUMNO directory to organize files for administration, commercial, and automobile related projects. Text files are added to each subdirectory and then compressed using tar, gzip, and zip commands to create archives of the files.

Uploaded by

Jose Vasquez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 24

CURSO:

SISTEMAS OPERATIVOS
PROFESOR:
IVAN VLADIMIR MARTINEZ MORAN
SALON:
17366
ALUMNO:
VASQUEZ CHAVEZ JOSE MANUEL
CODIGO:
U19300899

2020-I
[jose@localhost ~]$ su
Password:
[root@localhost jose]# ls
Desktop Documents Downloads Music Pictures Public Templates Videos
[root@localhost jose]# mkdir ALUMNO
[root@localhost jose]# ls
ALUMNO Documents Music Public Videos
Desktop Downloads Pictures Templates
[root@localhost jose]# cd /home/jose/ALUMNO
[root@localhost ALUMNO]# nano
[root@localhost ALUMNO]# mkdir ADMINISTRACION
[root@localhost ALUMNO]# mkdir COMERCIAL
[root@localhost ALUMNO]# ls
ADMINISTRACION Alumno.txt COMERCIAL
[root@localhost ALUMNO]# cd /home/jose/ALUMNO/ADMINISTRACION
[root@localhost ADMINISTRACION]# mkdir CONTABILIDAD
[root@localhost ADMINISTRACION]# mkdir FACTURAS
[root@localhost ADMINISTRACION]# nano
[root@localhost ADMINISTRACION]# cd ..
[root@localhost ALUMNO]# tar -cf Alumno.tar Alumno.txt
[root@localhost ALUMNO]# zip -r Alumno.zip Alumno.txt
adding: Alumno.txt (stored 0%)
[root@localhost ALUMNO]# gzip Alumno.tar
[root@localhost ALUMNO]# ls
ADMINISTRACION Alumno.tar.gz Alumno.txt Alumno.zip COMERCIAL
[root@localhost ALUMNO]# tar -cf Alumno.tar Alumno.txt
[root@localhost ALUMNO]# ls
ADMINISTRACION Alumno.tar Alumno.tar.gz Alumno.txt Alumno.zip COMERCIAL
[root@localhost ALUMNO]# cd /home/jose/ALUMNO/ADMINISTRACION
[root@localhost ADMINISTRACION]# zip -r Administracion.zip Administracion.txt
adding: Administracion.txt (stored 0%)
[root@localhost ADMINISTRACION]# gzip Administracion.tar
gzip: Administracion.tar: No such file or directory
[root@localhost ADMINISTRACION]# tar -cf Administracion.tar Administracion.txt
[root@localhost ADMINISTRACION]# gzip Administracion.tar
[root@localhost ADMINISTRACION]# tar -cf Administracion.tar Administracion.txt
[root@localhost ADMINISTRACION]# ls
Administracion.tar Administracion.txt CONTABILIDAD
Administracion.tar.gz Administracion.zip FACTURAS
[root@localhost ADMINISTRACION]# cd
/home/jose/ALUMNO/ADMINISTRACION/FACTURAS
[root@localhost FACTURAS]# nano
[root@localhost FACTURAS]# tar -cf Facturas.tar Facturas.txt
[root@localhost FACTURAS]# gzip Facturas.tar
[root@localhost FACTURAS]# tar -cf Facturas.tar Facturas.txt
[root@localhost FACTURAS]# zip -r Facturas.zip Facturas.txt
adding: Facturas.txt (stored 0%)
[root@localhost FACTURAS]# ls
Facturas.tar Facturas.tar.gz Facturas.txt Facturas.zip
[root@localhost FACTURAS]# cd
/home/jose/ALUMNO/ADMINISTRACION/CONTABILIDAD
[root@localhost CONTABILIDAD]# mkdir GASTOS
[root@localhost CONTABILIDAD]# mkdir INGRESOS
[root@localhost CONTABILIDAD]# nano
[root@localhost CONTABILIDAD]# zip -r Contabilidad.zip Contabilidad.txt
adding: Contabilidad.txt (stored 0%)
[root@localhost CONTABILIDAD]# tar -cf Facturas.tar Facturas^Cxt
[root@localhost CONTABILIDAD]# tar -cf Contabilidad.tar Contabilidad.txt
[root@localhost CONTABILIDAD]# gzip Contabilidad.tar
[root@localhost CONTABILIDAD]# tar -cf Contabilidad.tar Contabilidad.txt
[root@localhost CONTABILIDAD]# ls
Contabilidad.tar Contabilidad.txt GASTOS
Contabilidad.tar.gz Contabilidad.zip INGRESOS
[root@localhost CONTABILIDAD]# cd
/home/jose/ALUMNO/ADMINISTRACION/CONTABILIDAD/GASTOS
[root@localhost GASTOS]# nano
[root@localhost GASTOS]# tar -cf Gastos.tar Gastos.txt
[root@localhost GASTOS]# gzip gastos.tar
gzip: gastos.tar: No such file or directory
[root@localhost GASTOS]# gzip Gastos.tar
[root@localhost GASTOS]# tar -cf Gastos.tar Gastos.txt
[root@localhost GASTOS]# zip -r Gastos.zip Gastos.txt
adding: Gastos.txt (stored 0%)
[root@localhost GASTOS]# ls
Gastos.tar Gastos.tar.gz Gastos.txt Gastos.zip
[root@localhost GASTOS]# cd
/home/jose/ALUMNO/ADMINISTRACION/CONTABILIDAD/INGRESOS
[root@localhost INGRESOS]# nano
[root@localhost INGRESOS]# zip -r Ingresos.zip Ingresos.txt
adding: Ingresos.txt (stored 0%)
[root@localhost INGRESOS]# tar -cf Ingresos.tar Ingresos.txt
[root@localhost INGRESOS]# gzip Ingresos.tar
[root@localhost INGRESOS]# tar -cf Ingresos.tar Ingresos.txt
[root@localhost INGRESOS]# ls
Ingresos.tar Ingresos.tar.gz Ingresos.txt Ingresos.zip
[root@localhost INGRESOS]# cd /home/jose/ALUMNO/COMERCIAL
[root@localhost COMERCIAL]# mkdir COMPRAS
[root@localhost COMERCIAL]# mkdir VENTAS
[root@localhost COMERCIAL]# nano
[root@localhost COMERCIAL]# zip -r comercial.tar Comercial.txt
adding: Comercial.txt (stored 0%)
[root@localhost COMERCIAL]# ls
comercial.tar Comercial.txt COMPRAS VENTAS
[root@localhost COMERCIAL]# zip -r comercial.zip Comercial.txt
adding: Comercial.txt (stored 0%)
[root@localhost COMERCIAL]# gzip comercial.tar
[root@localhost COMERCIAL]# zip -r comercial.tar Comercial.txt
adding: Comercial.txt (stored 0%)
[root@localhost COMERCIAL]# ls
comercial.tar Comercial.txt COMPRAS
comercial.tar.gz comercial.zip VENTAS
[root@localhost COMERCIAL]# cd /home/jose/ALUMNO/VENTAS
bash: cd: /home/jose/ALUMNO/VENTAS: No such file or directory
[root@localhost COMERCIAL]# cd /home/jose/ALUMNO/COMERCIAL/VENTAS
[root@localhost VENTAS]# nano
[root@localhost VENTAS]# zip -r Ventas.zip Ventas.txt
adding: Ventas.txt (stored 0%)
[root@localhost VENTAS]# tar -cf Ventas.tar Ventas.txt
[root@localhost VENTAS]# gzip Ventas.tar
[root@localhost VENTAS]# tar -cf Ventas.tar Ventas.txt
[root@localhost VENTAS]# ls
Ventas.tar Ventas.tar.gz Ventas.txt Ventas.zip
[root@localhost VENTAS]# cd /home/jose/ALUMNO/COMERCIAL/COMPRAS
[root@localhost COMPRAS]# mkdir PEDIDOS
[root@localhost COMPRAS]# mkdir PROVEEDORES
[root@localhost COMPRAS]# nano
[root@localhost COMPRAS]# zip -r Compras.zip Compras.txt
adding: Compras.txt (stored 0%)
[root@localhost COMPRAS]# tar -cf Compras.tar Compras.txt
[root@localhost COMPRAS]# gzip Compras.tar
[root@localhost COMPRAS]# tar -cf Compras.tar Compras.txt
[root@localhost COMPRAS]# ls
Compras.tar Compras.txt PEDIDOS
Compras.tar.gz Compras.zip PROVEEDORES
[root@localhost COMPRAS]# cd
/home/jose/ALUMNO/COMERCIAL/COMPRAS/PEDIDOS
[root@localhost PEDIDOS]# nano
[root@localhost PEDIDOS]# zip -r Pedidos.zip Pedidos.txt
adding: Pedidos.txt (stored 0%)
[root@localhost PEDIDOS]# tar -cf Pedidos.tar Pedidos.txt
[root@localhost PEDIDOS]# gzip Pedidos.tar
[root@localhost PEDIDOS]# tar -cf Pedidos.tar Pedidos.txt
[root@localhost PEDIDOS]# ls
Pedidos.tar Pedidos.tar.gz Pedidos.txt Pedidos.zip
[root@localhost PEDIDOS]# cd
/home/jose/ALUMNO/COMERCIAL/COMPRAS/PROVEEDORES
[root@localhost PROVEEDORES]# nano
[root@localhost PROVEEDORES]# tar -cf Proveedores.zip Proveedores.txt
[root@localhost PROVEEDORES]# ls
Proveedores.txt Proveedores.zip
[root@localhost PROVEEDORES]# tar -cf Proveedores.tar Proveedores.txt
[root@localhost PROVEEDORES]# gzip Proveedores.tar
[root@localhost PROVEEDORES]# tar -cf Proveedores.tar Proveedores.txt
[root@localhost PROVEEDORES]# ls
Proveedores.tar Proveedores.tar.gz Proveedores.txt Proveedores.zip
[root@localhost PROVEEDORES]#
[root@localhost jose]# mkdir /home/jose/AUTOMOVILES
[root@localhost jose]# cd /home/jose/AUTOMOVILES
[root@localhost AUTOMOVILES]# mkdir MAZDA
[root@localhost AUTOMOVILES]# mkdir CHEVROLET
[root@localhost AUTOMOVILES]# nano
[root@localhost AUTOMOVILES]# zip -r Automoviles.zip Automoviles.txt
adding: Automoviles.txt (stored 0%)
[root@localhost AUTOMOVILES]# tar -cf Automoviles.tar Automoviles.txt
[root@localhost AUTOMOVILES]# gzip Automoviles.tar
[root@localhost AUTOMOVILES]# tar -cf Automoviles.tar Automoviles.txt
[root@localhost AUTOMOVILES]# ls
Automoviles.tar Automoviles.txt CHEVROLET
Automoviles.tar.gz Automoviles.zip MAZDA
[root@localhost AUTOMOVILES]# cd /home/jose/AUTOMOVILES/MAZDA
[root@localhost MAZDA]# mkdir IMPORTADOS
[root@localhost MAZDA]# mkdir COLOMBIANOS
[root@localhost MAZDA]# nano
[root@localhost MAZDA]# zip -r Mazda.zip Mazda.txt
adding: Mazda.txt (stored 0%)
[root@localhost MAZDA]# tar -cf Mazda.tar Mazda.txt
[root@localhost MAZDA]# gzip Mazda.tar
[root@localhost MAZDA]# tar -cf Mazda.tar Mazda.txt
[root@localhost MAZDA]# ls
COLOMBIANOS IMPORTADOS Mazda.tar Mazda.tar.gz Mazda.txt Mazda.zip
[root@localhost MAZDA]# cd /home/jose/AUTOMOVILES/MAZDA/IMPORTADOS
[root@localhost IMPORTADOS]# mkdir LUJO DEPORTIVOS
[root@localhost IMPORTADOS]# nano
[root@localhost IMPORTADOS]# zip -r Importados.zip Importados.txt
adding: Importados.txt (stored 0%)
[root@localhost IMPORTADOS]# tar -cf Importados.tar Importados.txt
[root@localhost IMPORTADOS]# gzip Importados.tar
[root@localhost IMPORTADOS]# tar -cf Importados.tar Importados.txt
[root@localhost IMPORTADOS]# ls
DEPORTIVOS Importados.tar.gz Importados.zip
Importados.tar Importados.txt LUJO
[root@localhost IMPORTADOS]# cd
/home/jose/AUTOMOVILES/MAZDA/IMPORTADOS/Lujo
bash: cd: /home/jose/AUTOMOVILES/MAZDA/IMPORTADOS/Lujo: No such file or
directory
[root@localhost IMPORTADOS]# cd
/home/jose/AUTOMOVILES/MAZDA/IMPORTADOS/LUJO
[root@localhost LUJO]# nano
[root@localhost LUJO]# zip -r Lujo.zip Lujo.txt
adding: Lujo.txt (stored 0%)
[root@localhost LUJO]# tar -cf Lujo.tar Lujo.txt
[root@localhost LUJO]# gzip Lujo.tar
[root@localhost LUJO]# tar -cf Lujo.tar Lujo.txt
[root@localhost LUJO]# ls
Lujo.tar Lujo.tar.gz Lujo.txt Lujo.zip
[root@localhost LUJO]# cd
/home/jose/AUTOMOVILES/MAZDA/IMPORTADOS/DEPORTIVOS
[root@localhost DEPORTIVOS]# nano
[root@localhost DEPORTIVOS]# zip -r Deportivos.zip Deportivos.txt
adding: Deportivos.txt (stored 0%)
[root@localhost DEPORTIVOS]# tar -cf Deportivos.tar Deportivos.txt
[root@localhost DEPORTIVOS]# gzip Deportivos.tar
[root@localhost DEPORTIVOS]# tar -cf Deportivos.tar Deportivos.txt
[root@localhost DEPORTIVOS]# ls
Deportivos.tar Deportivos.tar.gz Deportivos.txt Deportivos.zip
[root@localhost DEPORTIVOS]# cd
/home/jose/AUTOMOVILES/MAZDA/COLOMBIANOS
[root@localhost COLOMBIANOS]# mkdir FAMILIAR CAMIONES
[root@localhost COLOMBIANOS]# nano
[root@localhost COLOMBIANOS]# zip -r Colombianos.zip Colombianos.txt
adding: Colombianos.txt (stored 0%)
[root@localhost COLOMBIANOS]# tar -cf Colombianos.tar Colombianos.txt
[root@localhost COLOMBIANOS]# gzip Colombianos.tar
[root@localhost COLOMBIANOS]# tar -cf Colombianos.tar Colombianos.txt
[root@localhost COLOMBIANOS]# ls
CAMIONES Colombianos.tar.gz Colombianos.zip
Colombianos.tar Colombianos.txt FAMILIAR
[root@localhost COLOMBIANOS]# cd
/home/jose/AUTOMOVILES/MAZDA/COLOMBIANOS/FAMILIAR
[root@localhost FAMILIAR]# nano
[root@localhost FAMILIAR]# zip -r Familiar.zip Familiar.txt
adding: Familiar.txt (stored 0%)
[root@localhost FAMILIAR]# tar -cf Familiar.tar Familiar.txt
[root@localhost FAMILIAR]# gzip Familiar.tar
[root@localhost FAMILIAR]# tar -cf Familiar.tar Familiar.txt
[root@localhost FAMILIAR]# ls
Familiar.tar Familiar.tar.gz Familiar.txt Familiar.zip
[root@localhost FAMILIAR]# cd
/home/jose/AUTOMOVILES/MAZDA/COLOMBIANOS/CAMIONES
[root@localhost CAMIONES]# nano
[root@localhost CAMIONES]# zip -r Camiones.zip Camiones.txt
adding: Camiones.txt (stored 0%)
[root@localhost CAMIONES]# tar -cf Camiones.tar Camiones.txt
[root@localhost CAMIONES]# gzip Camiones.tar
[root@localhost CAMIONES]# tar -cf Camiones.tar Camiones.txt
[root@localhost CAMIONES]# ls
Camiones.tar Camiones.tar.gz Camiones.txt Camiones.zip
[root@localhost CAMIONES]# cd /home/jose/AUTOMOVILES/CHEVROLET
[root@localhost CHEVROLET]# mkdir SPORT DEPORTIVOS
[root@localhost CHEVROLET]# nano
[root@localhost CHEVROLET]# zip -r Chevrolet.zip Chevrolet.txt
adding: Chevrolet.txt (stored 0%)
[root@localhost CHEVROLET]# tar -cf Chevrolet.tar Chevrolet.txt
[root@localhost CHEVROLET]# gzip Chevrolet.tar
[root@localhost CHEVROLET]# tar -cf Chevrolet.tar Chevrolet.txt
[root@localhost CHEVROLET]# ls
Chevrolet.tar Chevrolet.txt DEPORTIVOS
Chevrolet.tar.gz Chevrolet.zip SPORT
[root@localhost CHEVROLET]# cd /home/jose/AUTOMOVILES/CHEVROLET/SPORT
[root@localhost SPORT]# mkdir TERRENO FAMILIARES
[root@localhost SPORT]# nano
[root@localhost SPORT]# zip -r Sport.zip Sport.txt
adding: Sport.txt (stored 0%)
[root@localhost SPORT]# tar -cf Sport.tar Sport.txt
[root@localhost SPORT]# gzip Sport.tar
[root@localhost SPORT]# tar -cf Sport.tar Sport.txt
[root@localhost SPORT]# ls
FAMILIARES Sport.tar Sport.tar.gz Sport.txt Sport.zip TERRENO
[root@localhost SPORT]# cd
/home/jose/AUTOMOVILES/CHEVROLET/SPORT/TERRENO
[root@localhost TERRENO]# nano
[root@localhost TERRENO]# zip -r Terreno.zip Terreno.txt
adding: Terreno.txt (stored 0%)
[root@localhost TERRENO]# tar -cf Terreno.tar Terreno.txt
[root@localhost TERRENO]# gzip Terreno.tar
[root@localhost TERRENO]# tar -cf Terreno.tar Terreno.txt
[root@localhost TERRENO]# ls
Terreno.tar Terreno.tar.gz Terreno.txt Terreno.zip
[root@localhost TERRENO]# cd
/home/jose/AUTOMOVILES/CHEVROLET/SPORT/FAMILIARES
[root@localhost FAMILIARES]# nano
[root@localhost FAMILIARES]# zip -r Familiares.zip Familiares.txt
adding: Familiares.txt (stored 0%)
[root@localhost FAMILIARES]# tar -cf Familiares.tar Familiares.txt
[root@localhost FAMILIARES]# gzip Familiares.tar
[root@localhost FAMILIARES]# tar -cf Familiares.tar Familiares.txt
[root@localhost FAMILIARES]# ls
Familiares.tar Familiares.tar.gz Familiares.txt Familiares.zip
[root@localhost FAMILIARES]# cd
/home/jose/AUTOMOVILES/CHEVROLET/DEPORTIVOS
[root@localhost DEPORTIVOS]# mkdir X-TREME SPORT
[root@localhost DEPORTIVOS]# ls
SPORT X-TREME
[root@localhost DEPORTIVOS]# nano
[root@localhost DEPORTIVOS]# zip -r Deportivos.zip Deportivos.txt
adding: Deportivos.txt (stored 0%)
[root@localhost DEPORTIVOS]# gzip -cf Deportivos.tar Deportivos.txt
gzip: Deportivos.tar: No such file or directory
��_Deportivos.txt��J/KKINW�F��
[root@localhost DEPORTIVOS]# tar -cf Deportivos.tar Deportivos.txt
[root@localhost DEPORTIVOS]# gzip Deportivos.tar
[root@localhost DEPORTIVOS]# tar -cf Deportivos.tar Deportivos.txt
[root@localhost DEPORTIVOS]# ls
Deportivos.tar Deportivos.txt SPORT
Deportivos.tar.gz Deportivos.zip X-TREME
[root@localhost DEPORTIVOS]# cd
/home/jose/AUTOMOVILES/CHEVROLET/DEPORTIVOS/X-TREME
[root@localhost X-TREME]# nano
[root@localhost X-TREME]# tar -cf X-treme.zip X-treme.txt
[root@localhost X-TREME]# tar -cf X-treme.tar X-treme.txt
[root@localhost X-TREME]# gzip X-treme.tar
[root@localhost X-TREME]# ls
X-treme.tar.gz X-treme.txt X-treme.zip
[root@localhost X-TREME]# tar -cf X-treme.tar X-treme.txt
[root@localhost X-TREME]# ls
X-treme.tar X-treme.tar.gz X-treme.txt X-treme.zip
[root@localhost X-TREME]# cd
/home/jose/AUTOMOVILES/CHEVROLET/DEPORTIVOS/SPORTY
bash: cd: /home/jose/AUTOMOVILES/CHEVROLET/DEPORTIVOS/SPORTY: No such
file or directory
[root@localhost X-TREME]# cd
/home/jose/AUTOMOVILES/CHEVROLET/DEPORTIVOS/SPORT
[root@localhost SPORT]# nano
[root@localhost SPORT]# zip -r X-treme.zip X-treme.txt
zip warning: name not matched: X-treme.txt

zip error: Nothing to do! (try: zip -r X-treme.zip . -i X-treme.txt)


[root@localhost SPORT]# zip -r Sport.zip Sport.txt
adding: Sport.txt (stored 0%)
[root@localhost SPORT]# zip -r Sport.zip Sport.txt
updating: Sport.txt (stored 0%)
[root@localhost SPORT]# tar -cd Sport.tar Sport.txt
tar: You may not specify more than one '-Acdtrux', '--delete' or '--test-label' option
Try 'tar --help' or 'tar --usage' for more information.
[root@localhost SPORT]# tar -cf Sport.tar Sport.txt
[root@localhost SPORT]# gzip Sport.tar
[root@localhost SPORT]# tar -cf Sport.tar Sport.txt
[root@localhost SPORT]# ls
Sport.tar Sport.tar.gz Sport.txt Sport.zip
[root@localhost SPORT]#
[jose@localhost ~]$ su
Password:
[root@localhost jose]# mkdir /home/jose/TrabajoFinal
[root@localhost jose]# ls
ALUMNO Desktop Downloads Pictures Templates Videos
AUTOMOVILES Documents Music Public TrabajoFinal
[root@localhost jose]# cd /home/jose/TrabajoFinal
[root@localhost TrabajoFinal]# mkdir Coordinacion Modulo1 Modulo2 Modulo3
[root@localhost TrabajoFinal]# nano
[root@localhost TrabajoFinal]# zip -r TrabajoFinal.zip Trabajofinal.txt
zip warning: name not matched: Trabajofinal.txt
zip error: Nothing to do! (try: zip -r TrabajoFinal.zip . -i Trabajofinal.txt)
[root@localhost TrabajoFinal]# zip -r TrabajoFinal.zip TrabajoFinal.txt
adding: TrabajoFinal.txt (stored 0%)
[root@localhost TrabajoFinal]# tar -cf TrabajoFinal.tar TrabajoFinal.txt
[root@localhost TrabajoFinal]# gzip TrabajoFinal.tar
[root@localhost TrabajoFinal]# tar -cf TrabajoFinal.tar TrabajoFinal.txt
[root@localhost TrabajoFinal]# ls
Coordinacion Modulo2 TrabajoFinal.tar TrabajoFinal.txt
Modulo1 Modulo3 TrabajoFinal.tar.gz TrabajoFinal.zip
[root@localhost TrabajoFinal]# cd /home/jose/TrabajoFinal/Coordinacion
[root@localhost Coordinacion]# mkdir Archivos
[root@localhost Coordinacion]# nano
[root@localhost Coordinacion]# zip -r Coordinacion.zip Coordinacion.txt
adding: Coordinacion.txt (stored 0%)
[root@localhost Coordinacion]# tar -cf Coordinacion.tar Coordinacion.txt
[root@localhost Coordinacion]# gzip Coordinacion.tar
[root@localhost Coordinacion]# tar -cf Coordinacion.tar Coordinacion.txt
[root@localhost Coordinacion]# gzip Coordinacion.tar
gzip: Coordinacion.tar.gz already exists; do you wish to overwrite (y or n)? n
not overwritten
[root@localhost Coordinacion]# ls
Archivos Coordinacion.tar.gz Coordinacion.zip
Coordinacion.tar Coordinacion.txt
[root@localhost Coordinacion]# cd /home/jose/TrabajoFinal/Coordinacion/Archivos
[root@localhost Archivos]# mkdir Formatos Presentaciones
[root@localhost Archivos]# nano
[root@localhost Archivos]# zip -r Archivos.zip Archivos.txt
adding: Archivos.txt (stored 0%)
[root@localhost Archivos]# tar -cf Archivos.tar Archivos.txt
[root@localhost Archivos]# gzip Archivos.tar
[root@localhost Archivos]# tar -cf Archivos.tar Archivos.txt
[root@localhost Archivos]# ls
Archivos.tar Archivos.txt Formatos
Archivos.tar.gz Archivos.zip Presentaciones
[root@localhost Archivos]# cd
/home/jose/TrabajoFinal/Coordinacion/Archivos/Formatos
[root@localhost Formatos]# nano
[root@localhost Formatos]# zip -r Formatos.zip Formatos.txt
adding: Formatos.txt (stored 0%)
[root@localhost Formatos]# tar -cf Formatos.tar Formatos.txt
[root@localhost Formatos]# gzip Formatos.tar
[root@localhost Formatos]# tar -cf Formatos.tar Formatos.txt
[root@localhost Formatos]# ls
Formatos.tar Formatos.tar.gz Formatos.txt Formatos.zip
[root@localhost Formatos]# cd
/home/jose/TrabajoFinal/Coordinacion/Archivos/Presentaciones
[root@localhost Presentaciones]# mkdir Captura Webquestions2
[root@localhost Presentaciones]# nano
[root@localhost Presentaciones]# zip -r Presentaciones.zip Presentaciones.txt
adding: Presentaciones.txt (stored 0%)
[root@localhost Presentaciones]# tar -cf Presentaciones.tar Presentaciones.txt
[root@localhost Presentaciones]# gzip Presentaciones.tar
[root@localhost Presentaciones]# tar -cf Presentaciones.tar Presentaciones.txt
[root@localhost Presentaciones]# ls
Captura Presentaciones.tar.gz Presentaciones.zip
Presentaciones.tar Presentaciones.txt Webquestions2
[root@localhost Presentaciones]# cd
/home/jose/TrabajoFinal/Coordinacion/Archivos/Presentaciones/Captura
[root@localhost Captura]# nano
[root@localhost Captura]# zip -r Captura.zip Captura.txt
adding: Captura.txt (stored 0%)
[root@localhost Captura]# tar -cf Captura.tar Captura.txt
[root@localhost Captura]# gzip Captura.tar
[root@localhost Captura]# tar -cf Captura.tar Captura.txt
[root@localhost Captura]# ls
Captura.tar Captura.tar.gz Captura.txt Captura.zip
[root@localhost Captura]# cd
/home/jose/TrabajoFinal/Coordinacion/Archivos/Presentaciones/Webquestions2
[root@localhost Webquestions2]# nano
[root@localhost Webquestions2]# zip -r Webquestions2.zip Webquestions2.txt
adding: Webquestions2.txt (stored 0%)
[root@localhost Webquestions2]# tar -cf Webquestions2.zip Webquestions2.txt
[root@localhost Webquestions2]# tar -cf Webquestions2.tar Webquestions2.txt
[root@localhost Webquestions2]# gzip Webquestions2.tar
[root@localhost Webquestions2]# tar -cf Webquestions2.tar Webquestions2.txt
[root@localhost Webquestions2]# ls
Webquestions2 Webquestions2.tar.gz Webquestions2.zip
Webquestions2.tar Webquestions2.txt
[root@localhost Webquestions2]# cd /home/jose/TrabajoFinal/Modulo1
[root@localhost Modulo1]# nano
[root@localhost Modulo1]# zip -r Modulo1.zip Modulo1.txt
adding: Modulo1.txt (stored 0%)
[root@localhost Modulo1]# tar -cf Modulo1.tar Modulo1.txt
[root@localhost Modulo1]# gzip Modulo1.tar
[root@localhost Modulo1]# tar -cf Modulo1.tar Modulo1.txt
[root@localhost Modulo1]# ls
Modulo1.tar Modulo1.tar.gz Modulo1.txt Modulo1.zip
[root@localhost Modulo1]# nano
[root@localhost Modulo1]# cd /home/jose/TrabajoFinal/Modulo2
[root@localhost Modulo2]# mkdir Formatos Trucos Word2003
[root@localhost Modulo2]# nano
[root@localhost Modulo2]# zip -r Modulo2.zip Modulo2.txt
adding: Modulo2.txt (stored 0%)
[root@localhost Modulo2]# tar -cf Modulo2.tar Modulo2.txt
[root@localhost Modulo2]# gzip Modulo2.tar
[root@localhost Modulo2]# tar -cf Modulo2.tar Modulo2.txt
[root@localhost Modulo2]# cd /home/jose/TrabajoFinal/Modulo2/Formatos
[root@localhost Formatos]# nano
[root@localhost Formatos]# zip -r Formatos.zip Formatos.txt
adding: Formatos.txt (stored 0%)
[root@localhost Formatos]# tar -cf Formatos.tar Formatos.txt
[root@localhost Formatos]# gzip Formatos.tar
[root@localhost Formatos]# cd /home/jose/TrabajoFinal/Modulo2/Trucos
[root@localhost Trucos]# nano
[root@localhost Trucos]# zip -r Trucos.zip Trucos.txt
adding: Trucos.txt (stored 0%)
[root@localhost Trucos]# tar -cf Trucos.tar Trucos.txt
[root@localhost Trucos]# gzip Trucos.tar
[root@localhost Trucos]# tar -cf Trucos.tar Trucos.txt
[root@localhost Trucos]# cd /home/jose/TrabajoFinal/Modulo2/Word2003
[root@localhost Word2003]# mkdir Glosario Images MyQuizzes
[root@localhost Word2003]# nano
[root@localhost Word2003]# zip -r Word2003.zip Word2003.txt
adding: Word2003.txt (stored 0%)
[root@localhost Word2003]# tar -cf Word2003.tar Word2003.txt
[root@localhost Word2003]# gzip Word2003.tar
[root@localhost Word2003]# tar -cf Word2003.tar Word2003.txt
[root@localhost Word2003]# ls
Glosario MyQuizzes Word2003.tar.gz Word2003.zip
Images Word2003.tar Word2003.txt
[root@localhost Word2003]# cd /home/jose/TrabajoFinal/Modulo2/Word2003/Glorasio
bash: cd: /home/jose/TrabajoFinal/Modulo2/Word2003/Glorasio: No such file or
directory
[root@localhost Word2003]# cd /home/jose/TrabajoFinal/Modulo2/Word2003/Glorario
bash: cd: /home/jose/TrabajoFinal/Modulo2/Word2003/Glorario: No such file or directory
[root@localhost Word2003]# nano
[root@localhost Word2003]# zip -r Glosario.zip Glosario.txt
adding: Glosario.txt (stored 0%)
[root@localhost Word2003]# tar -cf Glosario.tar Glosario.txt
[root@localhost Word2003]# gzip Glosario.tar
[root@localhost Word2003]# tar -cf Glosario.tar Glosario.txt
[root@localhost Word2003]# ls
Glosario Glosario.txt MyQuizzes Word2003.txt
Glosario.tar Glosario.zip Word2003.tar Word2003.zip
Glosario.tar.gz Images Word2003.tar.gz
[root@localhost Word2003]# cd /home/jose/TrabajoFinal/Modulo2/Word2003/Images
[root@localhost Images]# nano
[root@localhost Images]# zip -r Images.zip Images.txt
adding: Images.txt (stored 0%)
[root@localhost Images]#
[root@localhost Images]# tar -cf Images.tar Images.txt
[root@localhost Images]# gzip Images.tar
[root@localhost Images]# tar -cf Images.tar Images.txt
[root@localhost Images]# ls
Images.tar Images.tar.gz Images.txt Images.zip
[root@localhost Images]# cd /home/jose/TrabajoFinal/Modulo2/Word2003/MyQuizzes
[root@localhost MyQuizzes]# nano
[root@localhost MyQuizzes]# zip -r MyQuizzes.zip MyQuizzes.txt
adding: MyQuizzes.txt (stored 0%)
[root@localhost MyQuizzes]# tar -cf MyQuizzes.tar MyQuizzes.txt
[root@localhost MyQuizzes]# gzip MyQuizzes.tar
[root@localhost MyQuizzes]# tar -cf MyQuizzes.tar MyQuizzes.txt
[root@localhost MyQuizzes]# ls
MyQuizzes.tar MyQuizzes.tar.gz MyQuizzes.txt MyQuizzes.zip
[root@localhost MyQuizzes]# cd /home/jose/TrabajoFinal/Modulo3
[root@localhost Modulo3]# mkdir 3
[root@localhost Modulo3]# nano
[root@localhost Modulo3]# zip -r Modulo3.zip Modulo3.txt
adding: Modulo3.txt (stored 0%)
[root@localhost Modulo3]# tar -cf Modulo3.tar Modulo3.txt
[root@localhost Modulo3]# gzip Modulo3.tar
[root@localhost Modulo3]# tar -cf Modulo3.tar Modulo3.txt
[root@localhost Modulo3]# ls
3 Modulo3.tar Modulo3.tar.gz Modulo3.txt Modulo3.zip
[root@localhost Modulo3]# cd /home/jose/TrabajoFinal/Modulo3/3
[root@localhost 3]# mkdir _notes Ejerexcel Images Modificaciones Templates
[root@localhost 3]# nano
[root@localhost 3]# tar -cf 3.zip 3.txt
[root@localhost 3]# tar -cf 3.tar 3.txt
[root@localhost 3]# gzip 3.tar
[root@localhost 3]# tar -cf 3.tar 3.txt
[root@localhost 3]# ls
3.tar 3.txt Ejerexcel Modificaciones Templates
3.tar.gz 3.zip Images _notes
[root@localhost 3]# cd /home/jose/TrabajoFinal/Modulo3/3/_notes
[root@localhost _notes]# nano
[root@localhost _notes]# zip -r _notes.zip _notes.txt
adding: _notes.txt (stored 0%)
[root@localhost _notes]# tar -cf _notes.tar _notes.txt
[root@localhost _notes]# gzip _notes.tar
[root@localhost _notes]# zip -r _notes.zip _notes.txt
updating: _notes.txt (stored 0%)
[root@localhost _notes]# ls
_notes.tar.gz _notes.txt _notes.zip
[root@localhost _notes]# tar -cf _notes.tar _notes.txt
[root@localhost _notes]# ls
_notes.tar _notes.tar.gz _notes.txt _notes.zip
[root@localhost _notes]# cd /home/jose/TrabajoFinal/Modulo3/3/Ejerexcel
[root@localhost Ejerexcel]# mkdir _notes
[root@localhost Ejerexcel]# nano
[root@localhost Ejerexcel]# zip -r Ejerexcel.zip Ejerexcel.txt
adding: Ejerexcel.txt (stored 0%)
[root@localhost Ejerexcel]# tar -cf Ejerexcel.tar Ejerexcel.txt
[root@localhost Ejerexcel]# gzip Ejerexcel.tar
[root@localhost Ejerexcel]# tar -cf Ejerexcel.tar Ejerexcel.txt
[root@localhost Ejerexcel]# ls
Ejerexcel.tar Ejerexcel.tar.gz Ejerexcel.txt Ejerexcel.zip _notes
[root@localhost Ejerexcel]# cd /home/jose/TrabajoFinal/Modulo3/3/Ejerexcel/_notes
[root@localhost _notes]# nano
[root@localhost _notes]# ^C
[root@localhost _notes]# zip -r _notes.zip _notes.txt
adding: _notes.txt (stored 0%)
[root@localhost _notes]# tar -cf _notes.tar _notes.txt
[root@localhost _notes]# gzip _notes.tar
[root@localhost _notes]# tar -cf _notes.tar _notes.txt
[root@localhost _notes]# ls
_notes.tar _notes.tar.gz _notes.tx. _notes.txt _notes.zip
[root@localhost _notes]# cd /home/jose/TrabajoFinal/Modulo3/3/Images
[root@localhost Images]# nano
[root@localhost Images]# zip -r Images.zip Images.txt
adding: Images.txt (stored 0%)
[root@localhost Images]# tar -cf Images.tar Images.txt
[root@localhost Images]# gzip Images.tar
[root@localhost Images]# tar -cf Images.tar Images.txt
[root@localhost Images]# ls
Images.tar Images.tar.gz Images.txt Images.zip
[root@localhost Images]# cd /home/jose/TrabajoFinal/Modulo3/3/Modificaciones
[root@localhost Modificaciones]# nano
[root@localhost Modificaciones]# zip -r Modificaciones.zip Modificaciones.txt
adding: Modificaciones.txt (stored 0%)
[root@localhost Modificaciones]# tar -cf Modificaciones.tar Modificaciones.txt
[root@localhost Modificaciones]# gzip Modificaciones.tar
[root@localhost Modificaciones]# tar -cf Modificaciones.tar Modificaciones.txt
[root@localhost Modificaciones]# ls
Modificaciones.tar Modificaciones.txt
Modificaciones.tar.gz Modificaciones.zip
[root@localhost Modificaciones]# cd /home/jose/TrabajoFinal/Modulo3/3/Templates
[root@localhost Templates]# nano
[root@localhost Templates]# zip -r Templates.zip Templates.txt
adding: Templates.txt (stored 0%)
[root@localhost Templates]# tar -cf Templates.zip Templates.txt
[root@localhost Templates]# gzip Templates.zip
[root@localhost Templates]# ls
Templates.txt Templates.zip.gz
[root@localhost Templates]# tar -cf Templates.tar Templates.txt
[root@localhost Templates]# zip -r Templates.zip Templates.txt
adding: Templates.txt (stored 0%)
[root@localhost Templates]# ls
Templates.tar Templates.txt Templates.zip Templates.zip.gz
[root@localhost Templates]#

You might also like