Category: Linux


-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...


What does ip address mean?

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