8-Quick-Date-Command-Examples-in-Linux

$ To display what the date will be in two weeks’ time executeto check what the date was 9 days ago run the command. $ date --date="9 days ago"

2021-05-10



How-to-Work-with-Date-and-Time-in-Bash-Using-date-Command

echo "Next month = $(date -d "next month" "%B")"Find Date and Time using Script Handling Time in Linux Let’s take a look at how to use time related fo

2020-11-13



Set-Time-Date-Timezone-using-Command-Line-in-Linux

use date command as follows # date +%T -s "10use the command timedatectl as shown # timedatectl or # timedatectl status Changing Time We use the time

2019-02-05




Set-Date-and-Time-for-Each-Command-You-Execute-in-Bash-History

the date and time when a command was executed is not shown. This is the default setting on most if not all Linux distributions. In this articlewe will

2017-01-14



How-to-Sort-Output-of-ls-Command-By-Last-Modified-Date-and-Time

we will look at how to sort the output of ls command by last modification time (date and time). Let us start by executing some basic ls commands. Linu

2016-10-27