Alias en castellano
Hoja de referencia rápida

~/.bashrc · ~/.zshrc · $PROFILE · CMD alias.bat

Linux / macOS Windows PS
Linux / macOS (Bash · Zsh) Windows (PowerShell) · Los alias sin equivalente en la otra columna quedan en blanco
📁 Navegación y archivos
Linux / macOS Windows PowerShell
..→cd ..
..→Set-Location ..
casa→cd ~
casa→Set-Location $env:USERPROFILE
escritorio→cd ~/Escritorio
escritorio→Set-Location "$env:USERPROFILE\Desktop"
documentos→cd ~/Documentos
documentos→Set-Location "$env:USERPROFILE\Documents"
descargas→cd ~/Descargas
descargas→Set-Location "$env:USERPROFILE\Downloads"
anterior→cd -
—
listar→ls --color=auto
listar→Get-ChildItem | Format-Table -AutoSize
det→ls -lah --color=auto
det→Get-ChildItem -Force | Format-Table -AutoSize
recientes→ls -lhtr --color=auto
recientes→Get-ChildItem | Sort-Object LastWriteTime
pesados→ls -lhS --color=auto
pesados→Get-ChildItem | Sort-Object Length -Desc
copiar→cp -iv
buscar→Get-ChildItem -Recurse -Filter $nombre
mover→mv -iv
nueva-carpeta→New-Item -ItemType Directory; Set-Location
borrar→rm -Iv
—
buscar→find . -name
—
⚙️ Sistema y mantenimiento
Linux / macOS Windows PowerShell
actualizar→sudo apt update && apt upgrade -y
actualizar-todo→winget upgrade --all
limpiar→apt autoremove -y && apt autoclean
limpiar→Remove-Item "$env:TEMP\*" -Recurse -Force
limpiar-registros→journalctl --vacuum-time=7d
registros-errores→Get-EventLog -LogName System -EntryType Error
info-sistema→uname -a && lsb_release -a
info-sistema→Get-ComputerInfo | Select CsName,OsName
tiempo-encendido→uptime -p
tiempo-encendido→(Get-Date) - (gcim Win32_OperatingSystem).LastBootUpTime
servicios-activos→systemctl list-units --type=service
servicios-activos→Get-Service | Where-Object Status -eq Running
reiniciar→sudo reboot
reiniciar→Restart-Computer -Force
apagar→sudo shutdown -h now
apagar→Stop-Computer -Force
🌐 Red y conectividad
Linux / macOS Windows PowerShell
mis-interfaces→ip -c a
mis-interfaces→ipconfig /all
mi-ip-publica→curl -s ifconfig.me
mi-ip-publica→(Invoke-WebRequest "https://ifconfig.me").Content
puertos-abiertos→ss -tulnp
puertos-abiertos→netstat -ano | Select-String "LISTENING"
redes-wifi→nmcli device wifi list
redes-wifi→netsh wlan show networks
mis-rutas→ip route show
mis-rutas→route print
probar→ping -c 5
cortafuegos→Get-NetFirewallProfile | Select Name,Enabled
cortafuegos→sudo ufw status verbose
editar-hosts→notepad C:\Windows\System32\drivers\etc\hosts
editar-hosts→sudo nano /etc/hosts
reiniciar-red→Restart-NetAdapter -Name "*"
🔒 Seguridad · Usuarios · USB
Linux / macOS Windows PowerShell
conectados→who
conectados→query user
quien-soy→whoami && id
quien-soy→[WindowsIdentity]::GetCurrent().Name
ultimos-accesos→last | head -20
accesos-fallidos→Get-EventLog -LogName Security -InstanceId 4625
ver-accesos→tail -50 /var/log/auth.log
todos-usuarios→Get-LocalUser | Select Name,Enabled
ataques-ssh→grep "Failed password" /var/log/auth.log
soy-admin→[WindowsPrincipal]... IsInRole(Administrator)
mis-discos→lsblk -o NAME,SIZE,FSTYPE,MOUNTPOINT
espacio-libre→Get-PSDrive -PSProvider FileSystem
identificadores→sudo blkid
—
montados→mount | grep "^/dev"
—
🗂 Git y respaldos
Linux / macOS Windows PowerShell
estado→git status -sb
estado→git status -sb
historial→git log --oneline --graph --decorate --all
historial→git log --oneline --graph --decorate --all
anadir→git add .
anadir→git add .
confirmar→git commit -m
confirmar→git commit -m
enviar→git push
enviar→git push
recibir→git pull
recibir→git pull
ramas→git branch
ramas→git branch
diferencias→git diff
diferencias→git diff
guardar-temporal→git stash
guardar-temporal→git stash
respaldar→cp -v "$1" "${1}.resp_$(date +%Y%m%d)"
respaldar→Copy-Item $f "${f}.resp_$(Get-Date -Format yyyyMMdd)"
mis-respaldos→ls -lhtr ~/respaldos/
mis-respaldos→Get-ChildItem "$env:USERPROFILE\Respaldos"
simular-sync→rsync -avhn --delete
sincronizar→robocopy $origen $destino /MIR /Z /NP
📊 Monitorización del sistema
Linux / macOS Windows PowerShell
memoria→free -h
memoria→Get-CimInstance Win32_OperatingSystem | Select *Memory*
espacio-libre→df -hT | grep -v tmpfs
espacio-libre→Get-PSDrive -PSProvider FileSystem
mas-cpu→ps aux --sort=-%cpu | head -15
mas-cpu→Get-Process | Sort-Object CPU -Desc | Select -First 15
mas-memoria→ps aux --sort=-%mem | head -15
mas-memoria→Get-Process | Sort-Object WorkingSet -Desc | Select -First 15
registros-vivo→sudo journalctl -f
registros→Get-EventLog -LogName System -Newest 50
registros-errores→journalctl -p err -n 30
info-cpu→Get-CimInstance Win32_Processor | Select Name,NumberOfCores
uso-actual→du -sh *
uso-actual→Get-ChildItem | Select Name, Length | Sort Length -Desc
temperatura→sensors
recargar→. $PROFILE