Tagged Questions
3
votes
4answers
138 views
Align a hex text file at 9 bytes each line
I want to align the selected portion of a text file at 9 bytes each column.
For example suppose my text file looks like below.
00 2f c6 b8 29 fd 02 37 11 00 9f 74 34 0b 60 72 38 20 00 9e 61 33 8e ...
1
vote
2answers
51 views
Narrow characters
It would be awesome to modify spark to print narrow characters in for example Gnome Terminal. Is this at all possible with Bash / Python?
1
vote
1answer
163 views
Pipe Python Shell to source-highlight
When I try to make the Python shell get color:
python 2>&1 | source-highlight --failsafe -f esc -s python
the >>> prompt seems to be always delayed by 1 command.
Why is this ...
5
votes
2answers
2k views
Why is this python error message generated whenever I type a nonsense command?
Whenever I type any "nonsense" command, this python error message is generated. Normal commands work fine. Any idea how to debug this?
$ somenonexistingcommand
Traceback (most recent call last):
...
5
votes
2answers
783 views
How can I rename photos, given the EXIF data?
Let's say I have a bunch of photos, all with correct EXIF information, and the photos are randomly named (because of a problem I had). I have a little program called jhead which gives me the below ...
1
vote
0answers
419 views
Which scripting language is most widespread in system administration tasks? [closed]
I am migrating to Linux and have some experience with the Mac OS X command line/bash. I'd like to automate system admin tasks via scripting, but I am unsure as which language is the most used in the ...