Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Nothing spectacular... but I've gotten into the habit of storing away my current shells' command histories whenever I feel I've done something non-trivial (debugging/compile session, etc.). For that I have a little script which essentially does history >~/memos/YYYY-MM-DD_hh-mm-ss.hist (YYYY-... being the current timestamp). Occasionally, I clean them up a little, or add a few short notes, but more often I don't.

I can then easily grep through those files whenever I can no longer remember what I did when and how...  Also, I can cut-n-paste stuff (can you remember all the hostnames and portnumbers you typed two months ago when you had set up that three-hop SSH tunnel to some client? — well, I can't). The possibility of chronological access (kind of like a 'diary') has sometimes turned out useful too, to reconstruct things — when someone asked or came up with strange claims...

All in all, this has proven very useful, considering that it takes almost no extra effort once you've made it a habit... (which is important for the generally lazy chick that I am :)

In reply to Re: Work practices: log books, notes files... by almut
in thread Work practices: log books, notes files... by doom

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2021-06-20 07:36 GMT
Find Nodes?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)

    Results (94 votes). Check out past polls.