Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 13 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
1. Fork a copy of this repository to _your_ GitHub account.
2. Clone the _forked_ copy to your computer.
3. Add an `index.html` file to the root directory of the repository.
4. Open the repository in VS Code.
5. Add the following code to your `index.html` file
4. Open the index.html file in the nano text editor.
5. Add the following code to your `index.html` file.

````
<!DOCTYPE html>
Expand Down Expand Up @@ -48,17 +48,15 @@
2. Navigate to `folder1`
3. Add a file named `file1.txt` to `folder1`
4. Use text commands to add the following text to `file1.txt`: `"grapes\napples\noranges\nlimes\nlemons\napples\ngrapes\npears\nberries\nlimes"` There should be one item per line in the file. Hint: You will need to use -e along with your command to ensure each item is on separate line (ex. `command -e "text here"`)
5. Alphabetize the contents of `file1.txt` and add the alphabetized content to a new file named `sorted-file1.txt`
6. From your current location in the file system, create a folder named `folder2` that is a **_sibling_** of `folder1` using a single command
7. From your current location in the file system, Navigate to `folder2`using a single command
8. Add a file named `file2.txt` in `folder2`
9. Use text commands to add the following text to `file2.txt`: `"grapes\ngrapes\napples\noranges\nlimes\nlimes\nlemons\nlemons\ngrapes\npears\npears\nberries"` Hint: you will need to use -e along with your command to ensure each item is on separate line (ex. `command -e "text here"`)
10. Filter out duplicate adjacent lines from from `file2.txt` and add the filtered list to a new file named `unique-file2.txt`
11. Run the command: `exit` in the Shell
12. Click the `Shell` tab. Located next to the `Console` tab in your repl
13. Run the command `cat ~/.bash_history > my-history.txt`
14. Use the "Invite" button in the top right of the replit.com window to generate a sharable link (as showin in [video](https://www.youtube.com/watch?v=ZAC0TQEU5gI) linked here and above)
15. Take a screenshot of the Console showing the commands you used to complete the assignment
16. Submit your link to the Canvas submission page for this session
17. Submit your screenshot to the Canvas submission page for this session
5. From your current location in the file system, create a folder named `folder2` that is a **_sibling_** of `folder1` using a single command
6. From your current location in the file system, Navigate to `folder2`using a single command
7. Add a file named `file2.txt` in `folder2`
8. Use text commands to add the following text to `file2.txt`: `"grapes\ngrapes\napples\noranges\nlimes\nlimes\nlemons\nlemons\ngrapes\npears\npears\nberries"` Hint: you will need to use -e along with your command to ensure each item is on separate line (ex. `command -e "text here"`)
9. Run the command: `exit` in the Shell
10. Click the `Shell` tab. Located next to the `Console` tab in your repl
11. Run the command `cat ~/.bash_history > my-history.txt`
12. Use the "Invite" button in the top right of the replit.com window to generate a sharable link (as showin in [video](https://www.youtube.com/watch?v=ZAC0TQEU5gI) linked here and above)
13. Take a screenshot of the Console showing the commands you used to complete the assignment
14. Submit your link to the Canvas submission page for this session
15. Submit your screenshot to the Canvas submission page for this session