{"id":60,"date":"2024-08-27T11:05:33","date_gmt":"2024-08-27T16:05:33","guid":{"rendered":"https:\/\/www.bluestonesolutionsgroup.com\/?p=60"},"modified":"2024-08-27T11:05:34","modified_gmt":"2024-08-27T16:05:34","slug":"some-things-that-make-my-ebs-dba-life-easier","status":"publish","type":"post","link":"https:\/\/www.bluestonesolutionsgroup.com\/?p=60","title":{"rendered":"Some things that make my EBS DBA Life Easier"},"content":{"rendered":"\n<p>There are a number of things that I do as part of my &#8220;process&#8221; that I find make my life a bit easier.<\/p>\n\n\n\n<p><strong>FINISHED block<\/strong><\/p>\n\n\n\n<p>There are a LOT of things that we do as an Oracle E-Business Suite DBA that can run for a long time.  Because of this, we may have something running in another window and not realize that the command has finished.  One trick that I use (mentioned in  <a href=\"https:\/\/www.bluestonesolutionsgroup.com\/?p=55\">https:\/\/www.bluestonesolutionsgroup.com\/?p=55<\/a>) is to tail an ascii art file at the end of the command line.  This serves a few purposes. <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>It is something of an attention grabber and makes an easy way to notice that the command has finished without needing to focus my attention on that particular window.<\/li>\n\n\n\n<li>Using <code>tail -f<\/code> will, in many cases, prevent the shell from timing out and closing.<\/li>\n<\/ul>\n\n\n\n<p><strong>&#8220;Stacking&#8221; Multiple Commands on a single command-line<\/strong><\/p>\n\n\n\n<p>Unix\/Linux allows you to &#8220;stack&#8221; multiple commands that will run in sequence.  For example, while you might run three different commands (each on their own command-line):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>date\nls -lat\ndate<\/code><\/pre>\n\n\n\n<p>They could be stacked into a single command line instead:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>date;ls -alt;date<\/code><\/pre>\n\n\n\n<p>I do this quite a bit with the &#8220;date&#8221; command.  This allows me to capture a &#8220;start&#8221; and &#8220;end&#8221; time for my documentation.<\/p>\n\n\n\n<p>The one caveat, however, is that sometimes, the second &#8220;date&#8221; command will get fed into the command before and taken as a response to a prompt.  So, test carefully.<\/p>\n\n\n\n<p><strong>The GNU Screen tool<\/strong><\/p>\n\n\n\n<p>GNU Screen is a package that can be installed on most Unix\/Linux variants.  The beauty of this tool is that you can detach an interactive shell session and re-attach it later on.  While it&#8217;s detached, any commands that are actively running in that shell session will continue to process normally.<\/p>\n\n\n\n<p>This is particularly useful if you&#8217;re on a network connection that might drop unexpectedly.  Just re-connect, and re-attach the session.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are a number of things that I do as part of my &#8220;process&#8221; that I find make my life a bit easier. FINISHED block There are a LOT of things that we do as an Oracle E-Business Suite DBA &hellip; <a href=\"https:\/\/www.bluestonesolutionsgroup.com\/?p=60\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,17,10,18],"tags":[28,29,27],"class_list":["post-60","post","type-post","status-publish","format-standard","hentry","category-ebs","category-linux","category-oracle","category-unix","tag-e-business-suite","tag-linux-2","tag-oracle"],"_links":{"self":[{"href":"https:\/\/www.bluestonesolutionsgroup.com\/index.php?rest_route=\/wp\/v2\/posts\/60","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bluestonesolutionsgroup.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bluestonesolutionsgroup.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bluestonesolutionsgroup.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bluestonesolutionsgroup.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=60"}],"version-history":[{"count":1,"href":"https:\/\/www.bluestonesolutionsgroup.com\/index.php?rest_route=\/wp\/v2\/posts\/60\/revisions"}],"predecessor-version":[{"id":61,"href":"https:\/\/www.bluestonesolutionsgroup.com\/index.php?rest_route=\/wp\/v2\/posts\/60\/revisions\/61"}],"wp:attachment":[{"href":"https:\/\/www.bluestonesolutionsgroup.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=60"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bluestonesolutionsgroup.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=60"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bluestonesolutionsgroup.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=60"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}