Welcome To Snipplr


Everyone's Recent Snippets Tagged linux



This will grep through your file structure (LAMP stack assumed) and change directories and files to the correct permissions to work with suPHP.
0 1188 posted 15 years ago by jhafner
from: http://www.cyberciti.biz/faq/how-do-i-find-the-largest-filesdirectories-on-a-linuxunixbsd-filesystem/
0 1546 posted 15 years ago by edeustace
0 1266 posted 15 years ago by apro2000
Add user foo to group bar
0 1252 posted 15 years ago by smoover
0 1088 posted 15 years ago by pflangan
0 1298 posted 15 years ago by sdeboey
Useful to use with crontab for allowing schedule a process below of the minute scope.
0 1132 posted 15 years ago by wnasich
0 1343 posted 15 years ago by pflangan
1st shows only files and directories bigger than 1 Megabyte 2nd shows only files and directories bigger than 100 Megabyte
0 1214 posted 15 years ago by kossmoss
0 1259 posted 15 years ago by wearetherock
Put this line in your .bashrc. If the user has a directory named 'bin' then that will be added to the PATH. All scripts in that path (wich are executable) will be available as commands to that user.
0 1726 posted 15 years ago by berkes
Lists file sizes and locations on hard drive
0 1023 posted 15 years ago by bionic
0 2273 posted 15 years ago by sukantahazra
0 1216 posted 15 years ago by bionic
0 1131 posted 15 years ago by wnasich
Skeleton daemon process for unix
0 1428 posted 15 years ago by sukantahazra
0 1362 posted 15 years ago by sukantahazra
Uso quando quero pesquisar o histórico de conversas e não lembro qual comunicador estava usando
0 1057 posted 15 years ago by gpupo
modified from branflake2267's post at oooforum.org: http://www.oooforum.org/forum/viewtopic.phtml?t=52942 usage: Paste into the Standard.Module1 macro file. Then, create xls2csv bash script containing: #!/bin/bash file="$(readlink -...
0 3164 posted 15 years ago by softmechanics
This script pulls in files with [rsync](http://samba.anu.edu.au/rsync/), storing them locally with hardlinks for unchanged, and real files for changed -files. * KEY=$HOME/.ssh/id_dsa_passwdless -- an id_rtsa key without a password. --adding this t...
0 1364 posted 15 years ago by berkes
HSH is a cool haskell library that allows you to leverage your shell scripting prowess in haskell programs. In this simple broadcatcher, I use curl for http get, and other standard unix tools for tracking history (so we don't get the same file twice...
1 3496 posted 15 years ago by softmechanics
0 1553 posted 15 years ago by webonomic
This command will count the number of files in the given directory and sub-directories.
0 2563 posted 15 years ago by gdvickery