devops-exercises/topics/shell/solutions/basic_date.md
abregman 99c4e02ecf Rename exercises dir
Name it instead "topics" so it won't be
strange if some topics included "exercises" directory.
2022-08-02 01:53:56 +03:00

14 lines
184 B
Markdown

## Basic Date
### Objectives
1. 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
```