Skip to content

Instantly share code, notes, and snippets.

@DianaDias
DianaDias / shell-commands.sh
Created June 22, 2016 14:39 — forked from robertopc/shell-commands.sh
Linux Shell Commands CheatSheet
# 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
@DianaDias
DianaDias / bootstrap-elementary.sh
Created September 28, 2016 13:31 — forked from robertopc/bootstrap-elementary.sh
Bootstrap Elementary Linux
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886 &&
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list &&
sudo add-apt-repository -y ppa:noobslab/indicators &&
sudo add-apt-repository -y ppa:noobslab/apps &&
sudo add-apt-repository -y ppa:nilarimogard/webupd8 &&
sudo add-apt-repository -y ppa:mpstark/elementary-tweaks-daily &&
sudo add-apt-repository -y ppa:webupd8team/java &&
sudo add-apt-repository -y ppa:transmissionbt/ppa &&
sudo apt-add-repository -y ppa:umang/indicator-stickynotes &&
sudo add-apt-repository -y ppa:yannubuntu/boot-repair &&