Category: Linux

0

-nt file test operator in bash

File based condition for if statements in bash Condition: [ newerfile -nt olderfile ] Description: newerfile was changed more recently than olderfile, or if newerfile exists and olderfile doesn’t. Example: if [ file1.txt -nt...

0

What does ip address 0.0.0.0 mean?

The first time I saw that addres I was a bit confused. I used to think that 127.0.0.1 was the only way to refer to your local machine. Turns out, 0.0.0.0 is another way...