Archive for the ‘tools’ Category
how long did it take?
How to measure how long it took to run a command — to benchmark etc. in linux / unix etc.
…]$ time command
split / join files in linux
I was looking for a way to split and join files in linux.
“split” command splits – online man
“join” command joins — online man
Another way to join files is (say join two files file1, file2 to a combinedfile)
cat file1 file2 > combinedfile
You can specify sizes. Ex. If you want to split a bigfile (of size 820Mb) to an 700Mb file and the rest
the following ‘may’ work
split -b 734003200 bigfile
And so on see the manpage
learn to touch type
I think that touch typing is a useful skill to have, more so for people like me — slated to spend a considerable portion of their life @ coding. I have just started to learn — the tool I am using to learn touch typing is gtypist (GNU Typist) available here — link. Both linux and windows versions are available. It has just a plain text look, nothing fancy, but I liked the tool.
‘spice’ up linux
To spice in linux I recommend ngspice (and post processor ngnutmeg).
# yum install ngspice
should install this (at-least on fedor10).
This page – link – tells what you need to know to get the tool-flow going — A ngspice / ngnutmeg basic how-to / tutorial.(explained in a simpler manner than in man pages)
Just a suggestion on top of link, entering stuff in nutmeg interactive session takes time, better type up a nutmeg command card file like
set hcopydevtype=postscript hardcopy plot.ps i(vids) quit
Then you can call it up as
ngnutmeg raw_file.raw < nutmeg_command_card_file
It is faster going this way or so I feel.