File backup simplified practical approach!

cp -p /etc/passwd{,.`date +%Y%m%d`}
#This will create copy on the same location with .<date> at the end

# another example
cp -p /etc/security/access.conf{,.`date +%Y%m%d`}

Using -p to preserve file attributes, such as permission and timestamp

Oct 25, 2015 by | 58 views
DevOpsRun.com is LIVE!

Articles for DevOps Geeks
MobaXterm Customization
CHMOD Explained!
Bash history powerful tips
Ubuntu bash from Windows