diff --git a/README.md b/README.md index 9e81244..4360474 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,7 @@ systeminfo ## Abrir consola en el explorador . EN la barra de navegacion escribir cmd y enter - - ## Abrir carpeta en el explorador desde la consola +## Abrir carpeta en el explorador desde la consola ```sh explorer . @@ -65,4 +64,95 @@ del /s /q C:\Windows\temp\* ## Historial ```sh doskey /history -``` \ No newline at end of file +``` + +## Historial +```sh +ipconfig /release +ipconfig /renew +ipconfig /displaydns +ipconfig /flushdns +ipconfig /all | findstr DNS | clip +``` + +**findstr** busca una cadena de texto y el comando **clip** copia al portapapeles + +```sh +nslookup www.sumasas.com +``` +Respuesta: +```sh +Servidor: megacenter-cache-res.claro.net.co +Address: 190.157.8.108 + +Nombre: sumasas.com +Address: 35.188.185.14 +Aliases: www.sumasas.com + + +``` + +```sh + nslookup -type=ptr www.sumasas.com | clip + + ``` +Respuesta: +```sh + Servidor: megacenter-cache-res.claro.net.co +Address: 190.157.8.108 + +www.sumasas.com canonical name = sumasas.com + +sumasas.com + primary name server = ns-cloud-e1.googledomains.com + responsible mail addr = cloud-dns-hostmaster.google.com + serial = 1 + refresh = 21600 (6 hours) + retry = 3600 (1 hour) + expire = 259200 (3 days) + default TTL = 300 (5 mins) + + + ``` + + ## Reporte bateria + ```sh + powercfg /batteryreport + + ``` + +## Scaneo archivos del sistema + ```sh + sfc /scannow + ``` + +### TaskList +Lista de tareas se puede usar en conbinación con **findstrl** + +### Taskkill /f /pid +Mata un proceso indicando el pid + +### netsh + + ```sh +netsh wlan show wlanreport +``` + + ```sh +netsh interface show interface +``` + ```sh +netsh interface ip show address +``` + +### NETSTAT + +``` netstat``` +``` netstat -af``` +``` netstat -o``` +``` netstat -e -t``` +``` route print``` + +## shuntdown +Reiniciar equipo +``` shuntdown /r /f ``` \ No newline at end of file