More precise BASH debugging

2010-06-03 113 words 1 min read

<a href="http://blog.amit-agarwal.co.in/category/linux/">Bookmark this category
More precise BASH debugging

$ env PS4=&#8217; ${BASH_SOURCE}:${LINENO}(${FUNCNAME[0]}) &#8217; sh -x /etc/profile

* View this command to comment, vote or add to favourites * View all commands by unixmonkey4483

commandlinefu.com

by David Winterbottom (codeinthehole.com)

<a class="zem_slink freebase/en/uniform_resource_locator" title="Uniform Resource Locator" rel="wikipedia" href="http://en.wikipedia.org/wiki/Uniform_Resource_Locator">URL: <a href="http://feedproxy.google.com/~r/Command-line-fu/~3/G6-BkEkeLaA/more-precise-bash-debugging">http://feedproxy.google.com/~r/Command-line-fu/~3/G6-BkEkeLaA/more-precise-bash-debugging<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://psychedelichippiemusic.blogspot.com/2010/05/18-reasons-why-exile-on-main-street.html">18 Reasons Why &#8217;Exile On Main Street&#8217; Deserves Its Rep (psychedelichippiemusic.blogspot.com) <li class="zemanta-article-ul-li"><a href="http://www.neatorama.com/2010/06/03/what-is-it-game-141/">What Is It? Game 141 (neatorama.com) <li class="zemanta-article-ul-li"><a href="http://blog.amit-agarwal.co.in/2010/04/30/delete-files-folder-match-file-extension/">Delete all files in a folder that don&#8217;t match a certain file extension (amit-agarwal.co.in) <div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/9e918d90-d5b4-438c-8992-4e8db58969df/"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b7.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">


author

Authored By Amit Agarwal

Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.

We notice you're using an adblocker. If you like our webite please keep us running by whitelisting this site in your ad blocker. We’re serving quality, related ads only. Thank you!

I've whitelisted your website.

Not now
This website uses cookies to ensure you get the best experience on our website. Learn more Got it