<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/bash/tags/sysadmin</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 20 May 2013 07:06:33 GMT</pubDate>
<item>
<title>(Bash) Found where are the file installed by a debian package - athome</title>
<link>http://snipplr.com/view/59346/found-where-are-the-file-installed-by-a-debian-package/</link>
<description><![CDATA[ <p>Just type the command in a ubuntu shell</p> ]]></description>
<pubDate>Mon, 03 Oct 2011 04:00:15 GMT</pubDate>
<guid>http://snipplr.com/view/59346/found-where-are-the-file-installed-by-a-debian-package/</guid>
</item>
<item>
<title>(Bash) Bash + Screen prompt and title (Debian) - ChloeD</title>
<link>http://snipplr.com/view/54838/bash--screen-prompt-and-title-debian/</link>
<description><![CDATA[ <p>This .bashrc snippet sets the PS1 prompt so the title will be displayed in screen's statusbar.</p> ]]></description>
<pubDate>Fri, 03 Jun 2011 22:33:01 GMT</pubDate>
<guid>http://snipplr.com/view/54838/bash--screen-prompt-and-title-debian/</guid>
</item>
<item>
<title>(Bash) Start an XWindows session on Mac OSX - noah</title>
<link>http://snipplr.com/view/51238/start-an-xwindows-session-on-mac-osx/</link>
<description><![CDATA[ <p>The key is to give your SSH client the *-Y* option, which enables X11 forwarding.  Without that, [the magic won't work.](http://www.youtube.com/watch?v=uLso0ZBqOi4)

Run these commands on Mac, from the [X11 Shell](http://developer.apple.com/opensource/tools/x11.html).</p> ]]></description>
<pubDate>Tue, 29 Mar 2011 13:41:33 GMT</pubDate>
<guid>http://snipplr.com/view/51238/start-an-xwindows-session-on-mac-osx/</guid>
</item>
<item>
<title>(Bash) Create an sha of a file - therobot</title>
<link>http://snipplr.com/view/44695/create-an-sha-of-a-file/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 23 Nov 2010 04:40:41 GMT</pubDate>
<guid>http://snipplr.com/view/44695/create-an-sha-of-a-file/</guid>
</item>
<item>
<title>(Bash) bash: how to start a service and wait until it\'s up - noah</title>
<link>http://snipplr.com/view/43113/bash-how-to-start-a-service-and-wait-until-its-up/</link>
<description><![CDATA[ <p>Sometimes you need to start a service that takes a while to spin up.

Solr and Selenium-RC Server, for instance, can be unavailable for several seconds after the command to start them is issued.

Using Netcat, it's easy to poll-and-wait until a newly-started service begins listening on its proper port.</p> ]]></description>
<pubDate>Thu, 28 Oct 2010 14:02:26 GMT</pubDate>
<guid>http://snipplr.com/view/43113/bash-how-to-start-a-service-and-wait-until-its-up/</guid>
</item>
<item>
<title>(Bash) verify a service is up and running with netcat and Hudson - noah</title>
<link>http://snipplr.com/view/41390/verify-a-service-is-up-and-running-with-netcat-and-hudson/</link>
<description><![CDATA[ <p>Use the `-z` option to netcat so you don\\\\\\\'t have to bother with piping input into the port once opened.  All you want to know is if the service is up!\\r\\n\\r\\nThen, if you are running this checker inside of Hudson, you need to set the BUILD_ID env var to something abitrary like BUILD_ID=dontKill\\r\\n\\r\\nKludgy, but [it works](http://issues.hudson-ci.org/browse/HUDSON-2729?focusedCommentId=127805&amp;page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_127805)</p> ]]></description>
<pubDate>Sun, 03 Oct 2010 16:11:56 GMT</pubDate>
<guid>http://snipplr.com/view/41390/verify-a-service-is-up-and-running-with-netcat-and-hudson/</guid>
</item>
<item>
<title>(Bash) kill zombie processes - noah</title>
<link>http://snipplr.com/view/41095/kill-zombie-processes/</link>
<description><![CDATA[ <p>Thanks to [Kastner](http://metaatem.net/) for these snippets.</p> ]]></description>
<pubDate>Tue, 28 Sep 2010 07:14:38 GMT</pubDate>
<guid>http://snipplr.com/view/41095/kill-zombie-processes/</guid>
</item>
<item>
<title>(Bash) delete files older than 1 day - noah</title>
<link>http://snipplr.com/view/40798/delete-files-older-than-1-day/</link>
<description><![CDATA[ <p>Finds and *removes* files older than 2 days.\r\n\r\n*Use with caution* obviously, as if you fuck up, you\'ll certainly delete files you want to keep, possibly *destroying your entire computer.*\r\n\r\nEnjoy!</p> ]]></description>
<pubDate>Tue, 21 Sep 2010 03:20:55 GMT</pubDate>
<guid>http://snipplr.com/view/40798/delete-files-older-than-1-day/</guid>
</item>
<item>
<title>(Bash) Copy a file preserving path - therobot</title>
<link>http://snipplr.com/view/26327/copy-a-file-preserving-path/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 12 Jan 2010 12:39:28 GMT</pubDate>
<guid>http://snipplr.com/view/26327/copy-a-file-preserving-path/</guid>
</item>
<item>
<title>(Bash) Find first N Files in a Directory - qrist0ph</title>
<link>http://snipplr.com/view/9106/find-first-n-files-in-a-directory/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 19 Oct 2008 08:28:11 GMT</pubDate>
<guid>http://snipplr.com/view/9106/find-first-n-files-in-a-directory/</guid>
</item>
<item>
<title>(Bash) Ueber Pipe | von stdin lesen - qrist0ph</title>
<link>http://snipplr.com/view/7108/ueber-pipe--von-stdin-lesen/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 03 Jul 2008 16:42:43 GMT</pubDate>
<guid>http://snipplr.com/view/7108/ueber-pipe--von-stdin-lesen/</guid>
</item>
<item>
<title>(Bash) Datei zeilenweise ausgeben oder Stdout zeilenweise durchlaufen - qrist0ph</title>
<link>http://snipplr.com/view/7101/datei-zeilenweise-ausgeben-oder-stdout-zeilenweise-durchlaufen/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 03 Jul 2008 09:38:16 GMT</pubDate>
<guid>http://snipplr.com/view/7101/datei-zeilenweise-ausgeben-oder-stdout-zeilenweise-durchlaufen/</guid>
</item>
<item>
<title>(Bash) periodic (Mac OS X Maintenance Scripts) - rhockens</title>
<link>http://snipplr.com/view/3572/periodic-mac-os-x-maintenance-scripts/</link>
<description><![CDATA[ <p>"...UNIX systems run scheduled maintenance routines — known as maintenance scripts — to clean up a variety of System logs and temporary files. By default, these are executed between 03:15 and 05:30 hours local time, depending on the script.

If your Mac is shut down or in sleep mode during these hours, the maintenance scripts will not run. This results in log files that will grow over time, consuming free space on your Mac OS X startup disk.

If your Mac is shut down or left in sleep mode overnight, you need to invoke these maintenance routines manually on a regular basis. That is, unless you plan on devoting a large portion of your hard drive to the files cleaned-up by these routines!"</p> ]]></description>
<pubDate>Sun, 26 Aug 2007 07:25:40 GMT</pubDate>
<guid>http://snipplr.com/view/3572/periodic-mac-os-x-maintenance-scripts/</guid>
</item>
</channel>
</rss>