Reputation
3,878
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
6 17
Newest
 Mortarboard
Impact
~114k people reached

Jul
24
awarded  Mortarboard
Jul
23
answered How to customize Bash command completion?
Jul
16
answered Do global aliases exist in bash
Jun
6
awarded  Good Answer
Jun
3
answered How to calculate the memory consumed by a “C” program in linux
Jun
3
comment Make pwd result in terms of “~”?
This also works in ksh and zsh.
Jun
2
awarded  Nice Answer
May
6
comment /sbin/init is shared object?
If you are looking for a main symbol using nm, you won't see it in a stripped binary. Use readelf -a to determine the entry point (which usually points to the CRT anyway). Since init is dynamic, strictly speaking it is the dynamic linker (in the .interp section, e.g. /lib64/ld-linux-x86-64.so.2) that executes first.
May
5
comment How to detect peaks in audio file?
Output data columns (1 per input channel) are [-1.0,1.0] so you should take the absolute value (of all channels) for accurate results. It's useful also to use printf("%.12f",..) in awk, sox uses %g for its output, the presence of E notation would complicate further processing, e.g. via sort -n.
Apr
30
comment Is it possible to “install” a hook that will be called before removal of a package?
HostKey affects sshd at runtime, but it also has some effect at install time, see the openssh-server.postinst script. The default new sshd_config there is the root of this behaviour, the installer is smart enough to only generate the keys indicated in an existing or new config though.
Apr
30
answered Is it possible to “install” a hook that will be called before removal of a package?
Apr
17
revised Walking Multidimensional arrays in Mawk
added 580 characters in body
Apr
16
comment cannot rename files with `[ ]` on its name?
Should you wish to experiment, Debian's rename (perl "alternative") does not use anything expected like search.cpan.org/~rmbarker/File-Rename-0.20 , but instead something exceedingly ancient (from the same author, rmb) which you can extract from the source patch package here: packages.debian.org/wheezy/perl
Apr
16
comment cannot rename files with `[ ]` on its name?
This is true, strictly though the error is a perl error message, arising from the use of perl rename command.
Apr
16
answered How do you check if a file exists within awk? [-d 'filename'] failing
Apr
2
comment Equivalent command for ``time`` for memory usage?
It is GNU, but it is not coreutils, see directory.fsf.org/wiki/Time
Apr
2
revised Pipe Viewer - Progress monitor performance consequence
add "cv"
Apr
1
revised What C library version does my system use?
added 2 characters in body
Apr
1
revised What C library version does my system use?
Update prog listing so that it can compile!
Mar
25
revised Dynamic file content generation: Satisfying a 'file open' by a 'process execution'
like to related Q