Welcome To Snipplr


Everyone's Recent Bash Snippets



1 ... 10 11 12 13 14 ... 41
A more simpler method to check root user
0 1058 posted 14 years ago by vikiyou
Impletement die function for bash
0 1344 posted 14 years ago by vikiyou
Check the shell run script if is bash.
0 1307 posted 14 years ago by vikiyou
Adobe AIR 2.6 was just released and it includes a couple of new features for iOS such as camera, video, and keyboard support but for now, you'll need to compile using command-line ADT. Here's a simple example showing you how to compile in test-mode...
0 2750 posted 14 years ago by chrisaiv
Check if the user run this script is root.
0 1169 posted 14 years ago by vikiyou
0 1272 posted 14 years ago by wnasich
This was a school project, so it is not well commented but feel free to ask details.
0 1529 posted 14 years ago by sp4ke
A couple of snippets useful for file management. I use these to make sure I understand how many files I'm about to modify, and then rename them.
0 1463 posted 14 years ago by alassiter
A very simple quick way to count the number of files in a directory.
0 1500 posted 14 years ago by alassiter
A coworker asked if I remembered a password for one of our FTP servers. I didn't, but FileZilla creates a hidden folder when you install it that contains the information for the dropdown "quickconnect". Thanks to that you can easily see all of your s...
0 1281 posted 14 years ago by cessnajumpin
Ever whanted to have a (almost)full functional browser in your TTY? Here is how
0 1159 posted 14 years ago by vkolev
0 1070 posted 14 years ago by hamsterbacke82
0 1072 posted 14 years ago by hamsterbacke82
In example: find all files (recursively from the current directory) bigger than 20000kb
0 1135 posted 14 years ago by TioSolid
0 1014 posted 14 years ago by JohnnyGamba
currently formatted for use on mediatemple server. replace file path with absolute path of resources.
0 1401 posted 14 years ago by dan_hoerr
0 1385 posted 14 years ago by dnkysp
Tired of running seperate scripts for jBoss with/out jRebel and manual cleaning temp.
0 1053 posted 14 years ago by dogrizz
checks for number character alphanumeric
0 866 posted 14 years ago by yoblob
removes ./ from dirEval and assigns to category
0 1068 posted 14 years ago by yoblob
0 1032 posted 14 years ago by yoblob
0 1276 posted 14 years ago by theriddlebrothers
Add an Apache virtual host via command line. Run as ./create mysite.domain.com
0 1160 posted 14 years ago by theriddlebrothers
1 ... 10 11 12 13 14 ... 41