basic_date.md
August 1, 2022 ยท View on GitHub
Basic Date
Objectives
- Write a script that will put the current date in a file called "the_date.txt"
Solution
#!/usr/bin/env bash
echo $(date) > the_date.txt
August 1, 2022 ยท View on GitHub
#!/usr/bin/env bash
echo $(date) > the_date.txt