Comandos-Ubuntu

Desktop-Ubuntu

Nota: (este es uno de una serie post de comandos de Ubuntu que iré proporcionando según tengamos la necesidades de ampliarlos).

Permiso como Administrador:

  • In: juan@juan-SATELLITE-C55-C-1JM:~$ sudo su
  • Out: [sudo] contraseña para juan: ***********
  • Out: root@juan-SATELLITE-C55-C-1JM:/home/juan#

Carpeta Principal primaria:

  • In: root@juan-SATELLITE-C55-C-1JM:/home/juan# cd /
  • Out: root@juan-SATELLITE-C55-C-1JM:/#

Listar carpetas y archivos:

  • In: root@juan-SATELLITE-C55-C-1JM:/# ls

Ver las opciones del un comando (ls)

  • In: root@juan-SATELLITE-C55-C-1JM:/# ls –help

Lista también las propiedades y atributos:

  • In: root@juan-SATELLITE-C55-C-1JM:/# ls –l

Actualizar :

  • In: root@juan-Aspire-ES1-512:/# apt update && apt upgrade -y

Cree un archivo vacío :

  • In: root@juan-Aspire-ES1-512:/# touch my_archivo.py

Eliminar el archivo :

  • In: root@juan-Aspire-ES1-512:/# rm my_archivo.py

Para bajar una página :

  • In: root@juan-Aspire-ES1-512:/# wget –help
  • In: root@juan-Aspire-ES1-512:/# wget https://

Bajar el sitio completo de forma recursiva :

  • In: root@juan-Aspire-ES1-512:/# wget -r https://

Muchos sitios verifican la identidad del navegador :

  • In: root@juan-Aspire-ES1-512:/# wget -r -p -U Mozilla https://

Hacer pausa entre página :

  • In: root@juan-Aspire-ES1-512:/# wget –wait=20 –limit-rate=20K -r -p -U Mozilla https://

Verificar la conectividad a las URL y transferir datos :

  • In: root@juan-Aspire-ES1-512:/# curl -O https://

Descomprimir el fichero.tgz :

  • In: root@juan-Aspire-ES1-512:/# tar xvf spark-3.1.1-bin-hadoop3.2.tgz

Mover la carpeta y renombra la carpeta a /opt/spark :

  • In: root@juan-Aspire-ES1-512:/# mv spark-3.1.1-bin-hadoop3.2//  opt/spark

Eliminar una carpeta no vaciá :

  • In: root@2ecd5ff45b25:/opt# rm -r spark-3.1.1-bin-hadoop3.2

Reinicia el equipo:

  • In: root@juan-Aspire-ES1-512:/#reboot

Apagar el sistema total mente:

  • In: root@juan-Aspire-ES1-512:/#Poweroff

 

 

Referencias: (Entorno-Moreluz)