{"id":903,"date":"2011-04-26T17:49:29","date_gmt":"2011-04-26T17:49:29","guid":{"rendered":"http:\/\/judepereira.com\/blog\/?p=903"},"modified":"2011-04-26T17:49:29","modified_gmt":"2011-04-26T17:49:29","slug":"usrlocalbinwaitpid","status":"publish","type":"post","link":"https:\/\/judepereira.com\/blog\/usrlocalbinwaitpid\/","title":{"rendered":"\/usr\/local\/bin\/waitpid"},"content":{"rendered":"<p> A quick script to wait for a certain pid, then once that quits, execute a command.<br \/>\nYou may ask, why not just do command1 &#038;&#038; command2 ? Well, if command1 exits with a non-zero exit status value, command2 will not get executed. Hence, I&#8217;ve brewed a quick script for this purpose.<\/p>\n<p>File: \/usr\/local\/bin\/waitpid<\/p>\n<pre>\r\n#!\/bin\/sh\r\n# Find the pid of the required process either by using psaux | grep -i command\r\n# or by pidof command\r\n#set -x\r\nif [ $# -ne 3 ]; then\r\n\techo \"Usage: waitpid [pid to wait for] [app name] [command]\"\r\n\techo \"       [command] should be command to execute after pid is dead\"\r\n\texit 1\r\nfi\r\npidr=$1\r\napp=$2\r\nwhile true; do\r\n\tpid=`pidof $app | grep -o $pidr`\r\n\tif [ \"$pid\" = \"$pidr\" ]; then\r\n\t\t# do nothing\r\n\t\techo \"pid does exist,\"\r\n\t\techo \"waiting for 5 seconds before next check\"\r\n\t\tsleep 5\r\n\t\tcontinue\r\n\tfi\r\n\tbreak\r\ndone\r\n# if we've reached here it means that the PID is dead\r\necho \"specified pid does NOT exist,\"\r\necho \"running command provided in 10 seconds\"\r\necho \"\"\r\necho \"Press Ctrl + c to stop\"\r\nsleep 10\r\n$3\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>A quick script to wait for a certain pid, then once that quits, execute a command. You may ask, why not just do command1 &#038;&#038; command2 ? Well, if command1 exits with a non-zero exit status value, command2 will not get executed. Hence, I&#8217;ve brewed a quick script for this purpose. File: \/usr\/local\/bin\/waitpid #!\/bin\/sh # [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[52,10],"tags":[185,187,186,184,189,188,183],"class_list":["post-903","post","type-post","status-publish","format-standard","hentry","category-code","category-linux","tag-command-execute","tag-detect-pid-end","tag-detect-pid-life","tag-execute-command-after-pid","tag-pid-exit","tag-pid-quit","tag-wait-for-pid"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"waidpid: A quick script to wait untill a certain PID dies and execute a command after it&#039;s death.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Jude Pereira\"\/>\n\t<meta name=\"keywords\" content=\"wait for pid,execute command after pid,command execute,detect pid life,detect pid end,pid quit,pid exit,another snippet | code,gnu linux\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/judepereira.com\/blog\/usrlocalbinwaitpid\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"@judepereira | Fleeting Thoughts\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\/usr\/local\/bin\/waitpid | @judepereira\" \/>\n\t\t<meta property=\"og:description\" content=\"waidpid: A quick script to wait untill a certain PID dies and execute a command after it&#039;s death.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/judepereira.com\/blog\/usrlocalbinwaitpid\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/judepereira.com\/blog\/wp-content\/uploads\/cropped-foo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/judepereira.com\/blog\/wp-content\/uploads\/cropped-foo.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"512\" \/>\n\t\t<meta property=\"og:image:height\" content=\"512\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2011-04-26T17:49:29+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2011-04-26T17:49:29+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@judebpereira\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\/usr\/local\/bin\/waitpid | @judepereira\" \/>\n\t\t<meta name=\"twitter:description\" content=\"waidpid: A quick script to wait untill a certain PID dies and execute a command after it&#039;s death.\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@judebpereira\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/judepereira.com\/blog\/wp-content\/uploads\/cropped-foo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/usrlocalbinwaitpid\\\/#article\",\"name\":\"\\\/usr\\\/local\\\/bin\\\/waitpid | @judepereira\",\"headline\":\"\\\/usr\\\/local\\\/bin\\\/waitpid\",\"author\":{\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/usrlocalbinwaitpid\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0a1089f1857938099c95297539cf443242d71c86831e7fa280fdb2a8ff57c360?s=96&r=g\",\"width\":96,\"height\":96,\"caption\":\"Jude Pereira\"},\"datePublished\":\"2011-04-26T17:49:29+05:30\",\"dateModified\":\"2011-04-26T17:49:29+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":11,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/usrlocalbinwaitpid\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/usrlocalbinwaitpid\\\/#webpage\"},\"articleSection\":\"another snippet | code, gnu linux, command execute, detect PID end, detect PID life, execute command after pid, pid exit, pid quit, wait for pid\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/usrlocalbinwaitpid\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/category\\\/linux\\\/#listItem\",\"name\":\"gnu linux\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/category\\\/linux\\\/#listItem\",\"position\":2,\"name\":\"gnu linux\",\"item\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/category\\\/linux\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/usrlocalbinwaitpid\\\/#listItem\",\"name\":\"\\\/usr\\\/local\\\/bin\\\/waitpid\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/usrlocalbinwaitpid\\\/#listItem\",\"position\":3,\"name\":\"\\\/usr\\\/local\\\/bin\\\/waitpid\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/category\\\/linux\\\/#listItem\",\"name\":\"gnu linux\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/#person\",\"name\":\"Jude Pereira\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/usrlocalbinwaitpid\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0a1089f1857938099c95297539cf443242d71c86831e7fa280fdb2a8ff57c360?s=96&r=g\",\"width\":96,\"height\":96,\"caption\":\"Jude Pereira\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/author\\\/admin\\\/\",\"name\":\"Jude Pereira\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/usrlocalbinwaitpid\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0a1089f1857938099c95297539cf443242d71c86831e7fa280fdb2a8ff57c360?s=96&r=g\",\"width\":96,\"height\":96,\"caption\":\"Jude Pereira\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/usrlocalbinwaitpid\\\/#webpage\",\"url\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/usrlocalbinwaitpid\\\/\",\"name\":\"\\\/usr\\\/local\\\/bin\\\/waitpid | @judepereira\",\"description\":\"waidpid: A quick script to wait untill a certain PID dies and execute a command after it's death.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/usrlocalbinwaitpid\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/author\\\/admin\\\/#author\"},\"datePublished\":\"2011-04-26T17:49:29+05:30\",\"dateModified\":\"2011-04-26T17:49:29+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/\",\"name\":\"@judepereira\",\"description\":\"Fleeting Thoughts\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\/usr\/local\/bin\/waitpid | @judepereira","description":"waidpid: A quick script to wait untill a certain PID dies and execute a command after it's death.","canonical_url":"https:\/\/judepereira.com\/blog\/usrlocalbinwaitpid\/","robots":"max-image-preview:large","keywords":"wait for pid,execute command after pid,command execute,detect pid life,detect pid end,pid quit,pid exit,another snippet | code,gnu linux","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/judepereira.com\/blog\/usrlocalbinwaitpid\/#article","name":"\/usr\/local\/bin\/waitpid | @judepereira","headline":"\/usr\/local\/bin\/waitpid","author":{"@id":"https:\/\/judepereira.com\/blog\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/judepereira.com\/blog\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/judepereira.com\/blog\/usrlocalbinwaitpid\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/0a1089f1857938099c95297539cf443242d71c86831e7fa280fdb2a8ff57c360?s=96&r=g","width":96,"height":96,"caption":"Jude Pereira"},"datePublished":"2011-04-26T17:49:29+05:30","dateModified":"2011-04-26T17:49:29+05:30","inLanguage":"en-US","commentCount":11,"mainEntityOfPage":{"@id":"https:\/\/judepereira.com\/blog\/usrlocalbinwaitpid\/#webpage"},"isPartOf":{"@id":"https:\/\/judepereira.com\/blog\/usrlocalbinwaitpid\/#webpage"},"articleSection":"another snippet | code, gnu linux, command execute, detect PID end, detect PID life, execute command after pid, pid exit, pid quit, wait for pid"},{"@type":"BreadcrumbList","@id":"https:\/\/judepereira.com\/blog\/usrlocalbinwaitpid\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/judepereira.com\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/judepereira.com\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/judepereira.com\/blog\/category\/linux\/#listItem","name":"gnu linux"}},{"@type":"ListItem","@id":"https:\/\/judepereira.com\/blog\/category\/linux\/#listItem","position":2,"name":"gnu linux","item":"https:\/\/judepereira.com\/blog\/category\/linux\/","nextItem":{"@type":"ListItem","@id":"https:\/\/judepereira.com\/blog\/usrlocalbinwaitpid\/#listItem","name":"\/usr\/local\/bin\/waitpid"},"previousItem":{"@type":"ListItem","@id":"https:\/\/judepereira.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/judepereira.com\/blog\/usrlocalbinwaitpid\/#listItem","position":3,"name":"\/usr\/local\/bin\/waitpid","previousItem":{"@type":"ListItem","@id":"https:\/\/judepereira.com\/blog\/category\/linux\/#listItem","name":"gnu linux"}}]},{"@type":"Person","@id":"https:\/\/judepereira.com\/blog\/#person","name":"Jude Pereira","image":{"@type":"ImageObject","@id":"https:\/\/judepereira.com\/blog\/usrlocalbinwaitpid\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/0a1089f1857938099c95297539cf443242d71c86831e7fa280fdb2a8ff57c360?s=96&r=g","width":96,"height":96,"caption":"Jude Pereira"}},{"@type":"Person","@id":"https:\/\/judepereira.com\/blog\/author\/admin\/#author","url":"https:\/\/judepereira.com\/blog\/author\/admin\/","name":"Jude Pereira","image":{"@type":"ImageObject","@id":"https:\/\/judepereira.com\/blog\/usrlocalbinwaitpid\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/0a1089f1857938099c95297539cf443242d71c86831e7fa280fdb2a8ff57c360?s=96&r=g","width":96,"height":96,"caption":"Jude Pereira"}},{"@type":"WebPage","@id":"https:\/\/judepereira.com\/blog\/usrlocalbinwaitpid\/#webpage","url":"https:\/\/judepereira.com\/blog\/usrlocalbinwaitpid\/","name":"\/usr\/local\/bin\/waitpid | @judepereira","description":"waidpid: A quick script to wait untill a certain PID dies and execute a command after it's death.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/judepereira.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/judepereira.com\/blog\/usrlocalbinwaitpid\/#breadcrumblist"},"author":{"@id":"https:\/\/judepereira.com\/blog\/author\/admin\/#author"},"creator":{"@id":"https:\/\/judepereira.com\/blog\/author\/admin\/#author"},"datePublished":"2011-04-26T17:49:29+05:30","dateModified":"2011-04-26T17:49:29+05:30"},{"@type":"WebSite","@id":"https:\/\/judepereira.com\/blog\/#website","url":"https:\/\/judepereira.com\/blog\/","name":"@judepereira","description":"Fleeting Thoughts","inLanguage":"en-US","publisher":{"@id":"https:\/\/judepereira.com\/blog\/#person"}}]},"og:locale":"en_US","og:site_name":"@judepereira | Fleeting Thoughts","og:type":"article","og:title":"\/usr\/local\/bin\/waitpid | @judepereira","og:description":"waidpid: A quick script to wait untill a certain PID dies and execute a command after it's death.","og:url":"https:\/\/judepereira.com\/blog\/usrlocalbinwaitpid\/","og:image":"https:\/\/judepereira.com\/blog\/wp-content\/uploads\/cropped-foo.png","og:image:secure_url":"https:\/\/judepereira.com\/blog\/wp-content\/uploads\/cropped-foo.png","og:image:width":512,"og:image:height":512,"article:published_time":"2011-04-26T17:49:29+00:00","article:modified_time":"2011-04-26T17:49:29+00:00","twitter:card":"summary","twitter:site":"@judebpereira","twitter:title":"\/usr\/local\/bin\/waitpid | @judepereira","twitter:description":"waidpid: A quick script to wait untill a certain PID dies and execute a command after it's death.","twitter:creator":"@judebpereira","twitter:image":"https:\/\/judepereira.com\/blog\/wp-content\/uploads\/cropped-foo.png"},"aioseo_meta_data":{"post_id":"903","title":"\/usr\/local\/bin\/waitpid | #site_title","description":"waidpid: A quick script to wait untill a certain PID dies and execute a command after it's death.","keywords":[{"label":"wait for pid","value":"wait for pid"},{"label":"execute command after pid","value":"execute command after pid"},{"label":"command execute","value":"command execute"},{"label":"detect PID life","value":"detect PID life"},{"label":"detect PID end","value":"detect PID end"},{"label":"pid quit","value":"pid quit"},{"label":"pid exit","value":"pid exit"}],"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-25 19:04:20","updated":"2025-06-03 20:05:51","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/judepereira.com\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/judepereira.com\/blog\/category\/linux\/\" title=\"gnu linux\">gnu linux<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t\/usr\/local\/bin\/waitpid\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/judepereira.com\/blog\/"},{"label":"gnu linux","link":"https:\/\/judepereira.com\/blog\/category\/linux\/"},{"label":"\/usr\/local\/bin\/waitpid","link":"https:\/\/judepereira.com\/blog\/usrlocalbinwaitpid\/"}],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/pqtyx-ez","jetpack-related-posts":[{"id":694,"url":"https:\/\/judepereira.com\/blog\/visual-basic-6-revisited-linux-wine\/","url_meta":{"origin":903,"position":0},"title":"visual basic 6 revisited &#8211; linux &#8211; wine","author":"Jude Pereira","date":"August 5, 2010","format":false,"excerpt":"Earlier this year, I had written an article on running Visual Basic 6 on linux under wine, this is an update for it, the prior one is deprecated Getting Visual Basic 6 to work on linux is pretty easy, not much trouble, all the basic things work, as of what\u2026","rel":"","context":"In &quot;another snippet | code&quot;","block_context":{"text":"another snippet | code","link":"https:\/\/judepereira.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1648,"url":"https:\/\/judepereira.com\/blog\/openwrt-wont-bring-my-wifi-interface-up-unless-the-other-is-up\/","url_meta":{"origin":903,"position":1},"title":"OpenWRT won&#8217;t bring my WiFi interface up, unless the other is up","author":"Jude Pereira","date":"September 25, 2015","format":false,"excerpt":"I recently bought a D-Link DIR 505 router. So far, I've got a DLNA server running on it, along with Transmission, a bit torrent client. Life is awesome so far. I set it up to repeat another WiFi router in my house, the one connected to the internet - using\u2026","rel":"","context":"In &quot;another snippet | code&quot;","block_context":{"text":"another snippet | code","link":"https:\/\/judepereira.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":893,"url":"https:\/\/judepereira.com\/blog\/coloured-varlogmessages-at-tty12\/","url_meta":{"origin":903,"position":2},"title":"Coloured \/var\/log\/messages at tty12","author":"Jude Pereira","date":"April 26, 2011","format":false,"excerpt":"Reading logs could never become any more easier, at just a keystroke, you have your logs displayed where you want, in some fancy colour. They look great too. TTY's can be accessed by pressing Alt + Ctrl + F[1 - 12] simultaneously. In the following, you'll get a decent, colourized\u2026","rel":"","context":"In &quot;another snippet | code&quot;","block_context":{"text":"another snippet | code","link":"https:\/\/judepereira.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1881,"url":"https:\/\/judepereira.com\/blog\/nrf52840-flash-s340\/","url_meta":{"origin":903,"position":3},"title":"nRF52840 &#8211; flashing the s340 v6.1.1 SoftDevice","author":"Jude Pereira","date":"July 12, 2019","format":false,"excerpt":"This post is a work in progress (WIP). The result of this experiment is a success. I have flashed my SparkFun nRF52840 mini, and I'm able to run the bicycle combined speed & cadence sensor example. Before we begin, \u00a0a big hats off to\u00a0Charles, who brought support for the SparkFun\u2026","rel":"","context":"In &quot;hardware&quot;","block_context":{"text":"hardware","link":"https:\/\/judepereira.com\/blog\/category\/hardware\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1855,"url":"https:\/\/judepereira.com\/blog\/nginx-ingress-helm-k8s-rbac\/","url_meta":{"origin":903,"position":4},"title":"Installing the Nginx Ingress Controller via Helm to a K8s cluster with RBAC enabled","author":"Jude Pereira","date":"October 1, 2018","format":false,"excerpt":"A lot of posts describe how to do this, but are fairly outdated, and do not mention the last supported K8s version. Here's a tried and tested way to do so via Helm. This has been tested on GKE, with the Kubernetes master version\u00a01.9.7-gke.6: Create the service account for Tiller\u2026","rel":"","context":"In &quot;another snippet | code&quot;","block_context":{"text":"another snippet | code","link":"https:\/\/judepereira.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2159,"url":"https:\/\/judepereira.com\/blog\/building-jupiter-security-sandboxing-ideas\/","url_meta":{"origin":903,"position":5},"title":"Building Jupiter: Security Sandboxing Ideas","author":"Jude Pereira","date":"October 11, 2026","format":false,"excerpt":"A few ideas about security sandboxing your AI agents, so that you don't wake up to a rogue agent one fine day.","rel":"","context":"In &quot;Building Jupiter&quot;","block_context":{"text":"Building Jupiter","link":"https:\/\/judepereira.com\/blog\/category\/virtual-engineering\/building-jupiter\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/Screenshot-2026-10-11-at-14.33.24-2.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/Screenshot-2026-10-11-at-14.33.24-2.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/Screenshot-2026-10-11-at-14.33.24-2.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/Screenshot-2026-10-11-at-14.33.24-2.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/Screenshot-2026-10-11-at-14.33.24-2.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/Screenshot-2026-10-11-at-14.33.24-2.png?resize=1400%2C800&ssl=1 4x"},"classes":[]}],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/903","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/comments?post=903"}],"version-history":[{"count":7,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/903\/revisions"}],"predecessor-version":[{"id":910,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/903\/revisions\/910"}],"wp:attachment":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/media?parent=903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/categories?post=903"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/tags?post=903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}