{"id":1132,"date":"2010-05-30T12:17:16","date_gmt":"2010-05-30T12:17:16","guid":{"rendered":"http:\/\/wiki.davelevy.info\/?p=1132"},"modified":"2025-08-15T12:11:26","modified_gmt":"2025-08-15T12:11:26","slug":"shell-scripting-for-on-windows","status":"publish","type":"post","link":"https:\/\/davelevy.info\/wiki\/shell-scripting-for-on-windows\/","title":{"rendered":"Shell Scripting on Windows"},"content":{"rendered":"\n<p>This page was originally i.e. in 2010, used to make some notes on using bash, or originally ksh on windows. At some point I moved from <a href=\"https:\/\/www.cygwin.com\/\">cygwin <\/a>to Microsoft&#8217;s Windows Sub-system for Linux aka WSL. I have moved those scripts that I want to reuse to a github repo called <a href=\"https:\/\/github.com\/dfl1955\/windows-tools\">windows-tools<\/a> and the original text related to managing Virtual Box, to <a href=\"https:\/\/davelevy.info\/wiki\/virtual-box\/\">a wiki page<\/a> on this site. I use tcl\/tk as my visual scripting language and the windows tools repo consists of several working tcl\/tk scripts and some that don&#8217;t.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>My code is located at<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/github.com\/dfl1955\/windows-tools\">https:\/\/github.com\/dfl1955\/windows-tools<\/a><\/li>\n<\/ul>\n\n\n\n<p>One persistent problem has been the use and access to windows file system names. This has improved over time and I have an example in <a href=\"https:\/\/github.com\/dfl1955\/windows-tools\/blob\/master\/purgeandtidy.sh\">this script, called purgeandtidy<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This page was originally i.e. in 2010, used to make some notes on using bash, or originally ksh on windows. At some point I moved from cygwin to Microsoft&#8217;s Windows Sub-system for Linux aka WSL. I have moved those scripts that I want to reuse to a github repo called windows-tools and the original text&#8230;<\/p>\n","protected":false},"author":1,"featured_media":9872,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_share_on_mastodon":"0"},"categories":[3,7],"tags":[34,374,154,373,260,911,11,915,107,2207],"class_list":["post-1132","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology","category-virtualisation","tag-bash","tag-cygwin","tag-microsoft","tag-scripting","tag-tcltk","tag-technology","tag-virtual-box","tag-virtualisation","tag-windows","tag-wsl"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2011\/09\/nautilus-giuliamay-unsplash-w1080-cropped.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/1132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/comments?post=1132"}],"version-history":[{"count":10,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/1132\/revisions"}],"predecessor-version":[{"id":12876,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/1132\/revisions\/12876"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media\/9872"}],"wp:attachment":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media?parent=1132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/categories?post=1132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/tags?post=1132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}