The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
123 views

Best CMS to handle short snippets of text?

I have to install a CMS to manage a set of mathematical problems, i.e., our main content will be short (~3 lines) snippets of text. We need the ability to add comments and categories/tags, possibly ...
4
votes
5answers
2k views

Bash snippet for killing a process until it's dead?

I'm trying to write a robust bash script, and in it I create a background process. At the end of the script, I want to kill it. I have it's PID. I was thinking of somthing like this while [[ ps ef ...
2
votes
4answers
2k views

Bash snippet to see if something is listening on a port?

I want to see if something is listening on a port on localhost. I was going to use nc and check the exit code. Something like this: echo "" | nc localhost 14881 echo $? Any other suggestions?
0
votes
2answers
1k views

Bash snippet for apache error log to show what URLS are causing 404s?

I have a standard apache error log file. I would like to see what URLs are causing 404s, since I have moved this site around and I want to find bad links. Can anyone recommend a bash snippet that will ...