New answers tagged

1 vote

How do I get the current Unix time in milliseconds in Bash?

Additional solution since this question was originally asked in 2014. Bash 5.0 (released 2019) introduced two new built in variables EPOCHREALTIME - The number of seconds since the Unix Epoch as a ...
user2070305's user avatar
1 vote

HEREDOC in Dockerfile produces no output

Parsing this command: RUN <<-EOF > /root/.npmrc registry=https://\${NPM_VIRTUAL_REGISTRY_REPO_URL} strict-ssl=false always-auth=true email=\${PUBLISHER_EMAIL} //\${...
BMitch's user avatar
  • 6,269

Top 50 recent answers are included