Reputation
51,539
Next tag badge:
98/100 score
27/20 answers
Badges
6 121 157
Newest
 awk
Impact
~3.4m people reached

15h
comment copy array with array name inside string in bash
@123 I would be interested to know where you find the behaviour of stringifying ${name}[@] and then using indirection to be defined behaviour. As far as I know, indirection containing array indices is not defined and is merely a implementation detail of the parser.
16h
answered copy array with array name inside string in bash
Apr
26
revised Finding the PID of the process using a specific port?
added 148 characters in body
Apr
19
awarded  awk
Apr
18
comment Unable to use a self-signed certif. on localhost
It sounds like you're importing it as a client certificate, but that's not what you want. You need to add it to the trust store, instead.
Apr
18
answered Extract a word from a line, doing this to a specific number of lines
Apr
18
revised Unable to use a self-signed certif. on localhost
added 126 characters in body
Apr
18
comment Unable to use a self-signed certif. on localhost
For browsers, you either have to add the certificate to their trust stores as well, or bypass their warnings (also not recommended for the same reasons). You might just consider using something like Let's Encrypt instead.
Apr
18
revised Unable to use a self-signed certif. on localhost
added 37 characters in body
Apr
18
answered Unable to use a self-signed certif. on localhost
Apr
14
comment How to check if a crontab job works when it should
That's not how memory allocation works on Linux, if you flush your filesystem cache every hour, you're going to have a bad time. Read linuxatemyram.com before proceeding :-)
Apr
14
comment Boolean Issue for Grep
@NecNecco It contains the exit code from the last command of the last pipeline.
Apr
11
comment Boolean Issue for Grep
@NecNecco I've appended code to that effect in the answer.
Apr
11
revised Boolean Issue for Grep
added 221 characters in body
Apr
11
comment Boolean Issue for Grep
@NecNecco In which case, just store the output of whois first and then direct (with printf + pipe, <<, or the non-standard <<<) the output into grep -q.
Apr
11
revised Boolean Issue for Grep
good shout, toby.
Apr
11
revised Boolean Issue for Grep
deleted 21 characters in body
Apr
11
answered Boolean Issue for Grep
Apr
7
awarded  Good Answer
Apr
4
revised How to get the first word of a string?
use printf to avoid arg issues