Skip to content

Instantly share code, notes, and snippets.

@samiyuru
Last active February 16, 2022 20:48
Show Gist options
  • Save samiyuru/4550a489327df7cf3d8e8ab917dfff29 to your computer and use it in GitHub Desktop.
Save samiyuru/4550a489327df7cf3d8e8ab917dfff29 to your computer and use it in GitHub Desktop.
#!/bin/bash
rm -rf file1.txt file2.txt file3.txt file4.txt subdir || true
echo -e "1 2 3 4 5 6 7 8 9 10" > file1.txt
echo -e "1 2 3 4 5 6 7 8 9 10\n1 2 3 4 5 6 7 8 9 10" > file2.txt
echo -e "1 2 3 4 5 6 7 8 9 10\n1 2 3 4 5 6 7 8 9 10\n1 2 3 4 5 6 7 8 9 10" > file3.txt
mkdir subdir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment