Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 184 Bytes

basic_date.md

File metadata and controls

13 lines (8 loc) · 184 Bytes

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