LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

This blog points to articles written on http://kirk.webfinish.com. These articles are mainly about shell scripting, PHP, and postgresql on Ubuntu and OS/X.
Old
Rating: 3 votes, 3.00 average.

OS/X bash daemon script

Posted 11-17-2009 at 12:41 PM by roybal (Subjectively)

Here's a template for how to create a daemon or launchd script in bash.

Bash OS/X daemon template

/bithead
LQ Newbie
Posted in Uncategorized
Views 1631 Comments 0 roybal is offline
Old
Rating: 3 votes, 3.00 average.

bash shell script to use getopts with gnu style long positional parameters

Posted 11-03-2009 at 05:04 PM by roybal (Subjectively)

Here's a script that will accept --gnu-style-long-parameters and interpret them appropriately.

http://kirk.webfinish.com/2009/10/ba...al-parameters/
LQ Newbie
Posted in Uncategorized
Views 3082 Comments 2 roybal is offline
Old
Rating: 2 votes, 3.50 average.

bash shell script to manage pid file creation/deletion

Posted 11-03-2009 at 05:02 PM by roybal (Subjectively)

Heres a post for how to make sure your shell script is only running a single instance.

http://kirk.webfinish.com/2009/10/ba...ationdeletion/
LQ Newbie
Posted in Uncategorized
Views 2385 Comments 0 roybal is offline

  



All times are GMT -5. The time now is 11:13 AM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration