31 Aug
2013
31 Aug
'13
9:59 p.m.
Are we OK with packages like https://aur.archlinux.org/packages/last-git/ ? Unless I'm missing something it's just https://raw.github.com/vanceza/last/master/last BTW, I don't understand what does it do & /usr/bin/last-line doesn't seem to work. $ echo 1 2 3 1 2 3 $ history 2 | head -n1 | tr -s ' ' | cut -d ' ' -f"4-" 1 2 3 $ cat foo cat: foo: Is a directory $ history 2 | head -n1 | tr -s ' ' | cut -d ' ' -f"4-" foo