Last active
May 12, 2016 13:39
-
-
Save joellobo/9ad0e54dba97e5bca8d9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
-- Linux information | |
cat /etc/lsb-release | |
-- List commands | |
compgen -c | |
-- renomear todos os arquivos de um diretorio | |
for f in * ; do mv "$f" "93_$f" ; done | |
-- contar quantidade de arquivos em um diretorio | |
ls | wc -l | |
-- vim recebendo entrada de grep | |
grep -e "INICIO - EXPURGO" -e "FIM - EXPURGO" *.* | vim - | |
DISABLE TEXT WRAPPING AT VIM | |
To disable wrapping in vim | |
:set nowrap | |
You can write that to ~/.vimrc, so that it will disable wrapping by default. | |
set nowrap | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment