mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-15 08:55:51 +02:00

Co-authored-by: Darío Hereñú <magallania@gmail.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
581 B
581 B
Get-Content
Obtiene el contenido del elemento en la ubicación especificada. Nota: Este comando solo se puede usar a través de PowerShell. Más información: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-content.
- Muestra el contenido de un archivo:
Get-Content -Path {{ruta\al\archivo}}
- Muestra las primeras líneas de un archivo:
Get-Content -Path {{ruta\al\archivo}} -TotalCount {{10}}
- Muestra el contenido del archivo y sigue leyendo hasta que se presione
<Ctrl c>
:
Get-Content -Path {{ruta\al\archivo}} -Wait