5,523 reputation
31035
bio website
location
age
visits member for 2 years, 2 months
seen 1 hour ago

The placid Indian water buffalo. Booze and Linux, a match made in heaven


15h
reviewed Approve suggested edit on Convert linux sysuptime to well format date
15h
reviewed Approve suggested edit on How can I change login while authenticating on SSH?
15h
reviewed Approve suggested edit on Why can't I use tab expansion/auto-complete of shell variables with cd?
1d
comment splitting a column using awk
I don't think tr does what you think it does. It transliterates one character at a time so I am not sure how you could get it to replace two *s with three spaces
1d
reviewed Approve suggested edit on Using grep in a if-else statement
1d
awarded  Nice Question
1d
reviewed Approve suggested edit on Why thepiratebay.se showing the content of /var/www/index.html?
1d
comment Is there a faster way to remove a line (given a line number) from a file?
Nice! I seem to be able to replace perl with GNU truncate, for example { head -n "$(($l1 - 1))"; c=$(head -n "$(($l2 - $l1 + 1))" | wc -m); cat; truncate -s -$c file; } <file 1<>file. I can't see a way to avoid passing the actual file name to truncate though. Do you see any issues with this? Thanks
1d
reviewed Approve suggested edit on Cron to not run on specific day but all other days
1d
reviewed Approve suggested edit on Iptables and Ip6tables redirect traffic
2d
revised I am trying to find a better/easier way to count alphabetic characters in a file or shell variable
added 1 character in body
Sep
20
answered I am trying to find a better/easier way to count alphabetic characters in a file or shell variable
Sep
19
reviewed Approve suggested edit on How to give sftp access to sub-directory only not to parent
Sep
18
comment Reindexing a large CSV file
@G-Man, that's probably it although FNR would serve just as well as ++n
Sep
18
reviewed Approve suggested edit on Can I specify a redirected input before a compound command?
Sep
18
reviewed Approve suggested edit on Uuencode displaying attachment content in email body
Sep
18
reviewed Approve suggested edit on Add leading zeros until all lines before the comma consist of nine characters and subsequently insert a character every three digits using sed
Sep
18
revised Sed — Replace first k instances of a word in the file
deleted 1 character in body
Sep
18
reviewed Approve suggested edit on What's the default order of Linux sort?
Sep
18
reviewed Approve suggested edit on What's the default order of Linux sort?