Skip to content

Instantly share code, notes, and snippets.

@felipebizz
Last active August 29, 2015 14:18
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 felipebizz/a362aefa85988663f6b2 to your computer and use it in GitHub Desktop.
Save felipebizz/a362aefa85988663f6b2 to your computer and use it in GitHub Desktop.
Utils Ubuntu
#SYSTEM LOAD INDICATOR
sudo add-apt-repository ppa:indicator-multiload/stable-daily
sudo apt-get update
sudo apt-get install indicator-multiload
#Dentro do arquivo /home/felipe/.bashrc
#variavel do terminal
export PS1="\[\033[38m\]\u\[\033[32m\] \w \[\033[31m\]\`git \\
branch 2>/dev/null | grep \"^\*\" | \\
sed -r \"s/\*\ (.*)/ \(\1\)/\"\`\[\033[37m\]$\[\033[00m\] "
#Busca ocorrencia da String mostrando a linha no arquivo
grep 'folder' -Rn *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment