diff --git a/Basic_shell/04_shell_scripts.md b/Basic_shell/04_shell_scripts.md index d848e787..a7b0e91e 100644 --- a/Basic_shell/04_shell_scripts.md +++ b/Basic_shell/04_shell_scripts.md @@ -110,17 +110,17 @@ _Were the `echo` commands helpful in letting you know what came next?_ **Exercise** -1. Open up the script `listing.sh` using vim. Add the command which prints to screen the contents of the file `Mov10_rnaseq_metadata.txt`. +1. Open up the script `listing.sh` using nano. Add the command which prints to screen the contents of the file `Mov10_rnaseq_metadata.txt`. 2. Add an echo statement for the command, which tells the user "This is information about the files in our dataset:" 3. Run the new script. Report the contents of the new script and the output you got after running it.
Answers

Question 1
- Add this command to listing.sh using vim:
+ Add this command to listing.sh using nano:
cat Mov10_rnaseq_metadata.txt

Question 2
- Add this command to listing.sh using vim:
+ Add this command to listing.sh using nano:
echo "This is information about the files in our dataset:"

Question 3
sh listing.sh