SyntaxFix
Write A Post
Hire A Developer
Questions
Try the following code:
start=$(date +'%s') && sleep 5 && echo "It took $(($(date +'%s') - $start)) seconds"