2,902 reputation
920
bio website people.umass.edu/klement
location Amherst, MA
age 40
visits member for 4 years, 4 months
seen 2 days ago

Academic philosopher, linuxphile and LaTeXphile.


Aug
7
answered Measuring time within a script
Aug
4
comment Is there a keyboard shortcut to make a window occupy half the screen?
That tells us what DE you're using, but not what Window Manager. (Compiz/Metacity/etc.)
Jun
22
awarded  Nice Answer
Jun
13
awarded  Nice Answer
May
30
awarded  Nice Answer
Feb
24
awarded  Enlightened
Feb
24
awarded  Nice Answer
Feb
17
comment How to run a shell script containing an awk command
what error? Putting that alone in a text file and running sh count.sh works for me, though I'd prefer in general to use a shebang line, and possibly even an awk-only script... I still don't see why yours should generate an error, however.
Feb
17
comment Some people told me FreeBSD is NOT Unix, is that right? Confused
It's obviously not a duplicate question, but I think all you need to know can be found at the "Is Linux a Unix?" question
Feb
6
comment How can I rename photos, given the EXIF data?
j=`jhead "$i" | grep date | sed 's/.* //'`.jpg instead?
Jan
27
answered Filtering invalid utf8
Jan
17
answered Setting the window dimensions of a running application
Jan
13
comment How to delete a file in Arch console?
I'd try Lubuntu or Crunchbang or Puppy then. Heck, even Damn Small Linux would be easier than Arch.
Jan
13
answered How to delete a file in Arch console?
Jan
12
answered Distro- lightweight and easy to install
Jan
12
answered How to view a TTF font file?
Jan
7
comment Count how many times each line appears in a file
Note that puts the numbers first. If you were fussy about the order, you could do: uniq -c filename.txt | sed 's/[^0-9]*\\([0-9]\+\\) \\(.*\\)/\2 \1/'
Jan
6
answered What process created this X11 window?
Jan
5
comment Lowercasing all directories under a directory
This showed up midway through my writing the (basically the same) suggestion: for file in * ; do if [ -d "$file" ] ; then dest="$(echo $file | sed y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/)" ; [ "$dest" != "$file" ] && mv "$file" "$dest" ; fi ; done
Jan
3
comment What linux editor can open a 200G file for editing within a minute or two?
Perhaps see the question: unix.stackexchange.com/questions/1279/how-can-i-edit-large-file