Recent Posts
None | 13 sec ago
None | 20 sec ago
None | 32 sec ago
None | 33 sec ago
ASM (NASM) | 41 sec ago
MySQL | 42 sec ago
HTML | 42 sec ago
C# | 53 sec ago
None | 54 sec ago
None | 1 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Anonymous on the 9th of Feb 2010 11:35:07 PM Download | Raw | Embed | Report
  1. logger -p 5 "How do I execute .sh - Test"
  2. if [ -z $(pidof mini_snmpd) ] ; then
  3.   chmod +x /cifs1/mini_snmpd
  4.   /cifs1/mini_snmpd -i vlan1 > /dev/null 2>&1 &
  5.   sleep 1
  6.   logger -p 5 "SNMPD: started with pid: $(pidof mini_snmpd)."
  7. else
  8.   kill $(pidof mini_snmpd)
  9.   sleep 1
  10.   logger -p 5 "SNMPD: killed with pid: $(pidof mini_snmpd)."
  11. fi
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: