Add a couple of questions
This commit is contained in:
13
exercises/shell/solutions/basic_date.md
Normal file
13
exercises/shell/solutions/basic_date.md
Normal file
@ -0,0 +1,13 @@
|
||||
## 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
|
||||
```
|
Reference in New Issue
Block a user