-
-
Save DianaDias/ce55622406446264f99222a04c16fd21 to your computer and use it in GitHub Desktop.
Linux Shell Commands CheatSheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Permissão 644 em lote para arquivos | |
$ find pasta-onde-estao-os-arquivos -type f -exec chmod 644 {} \; | |
# Permissão 755 em lote para pastas | |
$ find pasta-onde-estao-os-arquivos -type d -exec chmod 755 {} \; | |
# Recupera pasta encriptada | |
$ sudo ecryptfs-recover-private | |
# Adicionar usuário ao grupo | |
$ sudo addgroup user group | |
# Criar symlink | |
$ ln -s /path-source/ /path-destino/ | |
# Remover symlink | |
$ unlink name | |
# Pegar id das unidades de disco | |
$ sudo blkid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment