Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lsb_release -d
- find . -type d -name overlay
- find . -maxdepth 1 ! -name .gitignore -print0 | xargs -0 -I {} rm -Rf {}
- find . -maxdepth 1 ! -name .svn -print0 | xargs -0 rm -Rf
- kill $(ps aux | grep '[s]leep' | awk '{print $2}')
- http://www.cyberciti.biz/faq/exclude-certain-files-when-creating-a-tarball-using-tar-command/
- $ tar -zcvf /tmp/mybackup.tar.gz -X exclude.txt /home/me
- exclude.txt
- abc
- xyz
- *.bak
- /////////////////////////////
- http://linuxcommando.blogspot.com/2008/03/using-sed-to-extract-lines-in-text-file.html
- ////////////////////////////////////////////
- mostrar permisos en octal
- http://www.linuxforums.org/forum/newbie/21722-command-shows-me-permissions-file-octal.html
- ls -l | awk '{k=0;for(i=0;i<=8;i++)k+=((substr($1,i+2,1)~/[rwx]/)*2^(8-i));if(k)printf("%0o ",k);print}'
- http://superuser.com/questions/301017/using-sass-on-my-debian-server
- http://www.brunolinux.com/02-The_Terminal/Find_and%20Replace_with_Sed.html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement