Skip to content

Instantly share code, notes, and snippets.

@mrroot5
Last active September 13, 2016 08:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrroot5/9da52c2590a43844ee91 to your computer and use it in GitHub Desktop.
Save mrroot5/9da52c2590a43844ee91 to your computer and use it in GitHub Desktop.
Comandos útiles bash
# Comandos vim
# https://gist.github.com/erknrio/0c7723562ec809f6e7310600470c5eea
# Comprobar tamaño completo de carpeta
du -h
# Comprobar el tamaño del disco
df -h
# Consultar la ayuda
man comando
# sshfs, montar un sistema de ficheros remoto en un entorno local.
# CUIDADO, si modificas un fichero en local se cambiaría también remotamente
# https://gist.github.com/erknrio/8462aa4f58b6b222b9488699b9d31692
sshfs user@dominio_remoto:/carpeta/directorio/remoto /mnt/carpeta_local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment