├── .devcontainer └── devcontainer.json ├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── SECURITY.md ├── SUPPORT.md ├── create-resource-group └── create_resource_group ├── modifying-file-permissions ├── newFile.txt ├── octal.txt └── script.sh ├── redirection-and-pipelines ├── error.txt ├── output.txt ├── output2.txt ├── paragrah.txt ├── part1.txt ├── part2.txt ├── part3.txt └── part4.txt ├── viewing-files ├── fake001.log ├── fake002.log ├── quotes01.txt └── quotes02.txt ├── what-are-case-statements └── case_statement ├── what-are-conditional-statements └── is_number_even ├── what-are-functions └── add_numbers ├── what-are-loops ├── for_loop_new_c ├── for_loop_traditional ├── loop_and_break ├── until_loop └── while_loop ├── what-is-a-bash-script └── hello_world └── what-is-a-variable └── hello_variable /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- 1 | { 2 | "image": "mcr.microsoft.com/devcontainers/base:ubuntu", 3 | "features": { 4 | "ghcr.io/devcontainers/features/azure-cli:1": {} 5 | }, 6 | "postCreateCommand": "bash -i -c '(echo y && echo y) | sudo unminimize; sudo apt install man-db manpages-posix -y'" 7 | } -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Microsoft Open Source Code of Conduct 2 | 3 | This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). 4 | 5 | Resources: 6 | 7 | - [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/) 8 | - [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) 9 | - Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns 10 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) Microsoft Corporation. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Bash for Beginners 2 | 3 | ## Overview 4 | 5 | These Microsoft Developer YouTube series is designed to help get you up to speed on Bash. 6 | 7 | These three series on Channel 9 and YouTube are designed to help get you up to speed on Bash. Bash is considered a universal language when it comes to cloud computing and programming. Many languages support Bash commands to pass data and information and when it comes to the Cloud, all platforms support using it to interact with your environment. 8 | 9 | Even though we won't cover everything there is to know about this language in this course, we want to make sure we give you the foundation on scripting in Bash. At the end of the course, you'll be able to create your own scripts and automate tasks with the help of Bash. 10 | 11 | ### What you'll learn 12 | 13 | - What is a terminal 14 | - Setting up our environment 15 | - Getting help 16 | - Navigating the Bash terminal 17 | - Listing content 18 | - Finding files 19 | - Working with directories and files 20 | - Viewing files 21 | - Environment variables 22 | - Redirection and Pipelines 23 | - Modifying File permissions 24 | - What is a Bash script? 25 | - What are variables in Bash? 26 | - What are Conditional Statements in Bash? 27 | - What Are Case Statements In Bash? 28 | - What are Functions in Bash? 29 | - What are Loops in Bash? 30 | - How to write a Bash Script 31 | 32 | ## Prerequisites 33 | 34 | - [GitHub account](https://github.com/join) 35 | - [Azure account](https://azure.microsoft.com/free/) Azure is only used in the last video. We will be deploying a resource group. 36 | - [GitHub codespaces](https://github.blog/changelog/2022-11-09-codespaces-for-free-and-pro-accounts/) Included in your GitHub account. 37 | 38 | ## Resources 39 | 40 | As the goal of these courses is to help get you up to speed on Bash. The next step after completing the videos is to follow a tutorial! Here are a few of our favorites: 41 | 42 | - [Quickstart for Bash in Azure Cloud Shell](https://aka.ms/QuickStartForBashAzure1) 43 | - [Learn to use Bash with the Azure CLI](https://aka.ms/BashWithAzureCLI1) 44 | - [Create a Linux virtual machine in Azure](https://aka.ms/LinuxVirtualMachineAzure1) 45 | - [Learn more about GitHub Codespaces Monthly Free Tier](https://aka.ms/GitHubCodespacesBilling1) 46 | 47 | ## Contributing 48 | 49 | This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com. 50 | 51 | 52 | When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA. 53 | 54 | This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. 55 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ## Security 4 | 5 | Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/). 6 | 7 | If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below. 8 | 9 | ## Reporting Security Issues 10 | 11 | **Please do not report security vulnerabilities through public GitHub issues.** 12 | 13 | Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report). 14 | 15 | If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey). 16 | 17 | You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc). 18 | 19 | Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue: 20 | 21 | * Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.) 22 | * Full paths of source file(s) related to the manifestation of the issue 23 | * The location of the affected source code (tag/branch/commit or direct URL) 24 | * Any special configuration required to reproduce the issue 25 | * Step-by-step instructions to reproduce the issue 26 | * Proof-of-concept or exploit code (if possible) 27 | * Impact of the issue, including how an attacker might exploit the issue 28 | 29 | This information will help us triage your report more quickly. 30 | 31 | If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs. 32 | 33 | ## Preferred Languages 34 | 35 | We prefer all communications to be in English. 36 | 37 | ## Policy 38 | 39 | Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd). 40 | 41 | 42 | -------------------------------------------------------------------------------- /SUPPORT.md: -------------------------------------------------------------------------------- 1 | # TODO: The maintainer of this repo has not yet edited this file 2 | 3 | **REPO OWNER**: Do you want Customer Service & Support (CSS) support for this product/project? 4 | 5 | - **No CSS support:** Fill out this template with information about how to file issues and get help. 6 | - **Yes CSS support:** Fill out an intake form at [aka.ms/onboardsupport](https://aka.ms/onboardsupport). CSS will work with/help you to determine next steps. 7 | - **Not sure?** Fill out an intake as though the answer were "Yes". CSS will help you decide. 8 | 9 | *Then remove this first heading from this SUPPORT.MD file before publishing your repo.* 10 | 11 | # Support 12 | 13 | ## How to file issues and get help 14 | 15 | This project uses GitHub Issues to track bugs and feature requests. Please search the existing 16 | issues before filing new issues to avoid duplicates. For new issues, file your bug or 17 | feature request as a new Issue. 18 | 19 | For help and questions about using this project, please **REPO MAINTAINER: INSERT INSTRUCTIONS HERE 20 | FOR HOW TO ENGAGE REPO OWNERS OR COMMUNITY FOR HELP. COULD BE A STACK OVERFLOW TAG OR OTHER 21 | CHANNEL. WHERE WILL YOU HELP PEOPLE?**. 22 | 23 | ## Microsoft Support Policy 24 | 25 | Support for this **PROJECT or PRODUCT** is limited to the resources listed above. 26 | -------------------------------------------------------------------------------- /create-resource-group/create_resource_group: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # A script that will create a resource group in Azure 4 | 5 | setup() { 6 | # Install az cli 7 | curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash 8 | # Login 9 | az login --use-device-code 10 | echo "You're logged in." 11 | } 12 | 13 | # Print out 5 recommended regions 14 | print_out_regions() { 15 | regions_array=($( az account list-locations --query "[?metadata.regionCategory=='Recommended'].{Name:name}" -o tsv | head -n 5)) 16 | for i in "${regions_array[@]}" 17 | do 18 | echo "$i" 19 | done 20 | } 21 | 22 | # Select a region 23 | check_region() { 24 | local region_exists=false 25 | while [[ "$region_exists" = false ]]; do 26 | print_out_regions 27 | read -p "Enter your region: " selected_region 28 | for j in "${regions_array[@]}" 29 | do 30 | if [[ "$selected_region" == "$j" ]]; then 31 | region_exists=true 32 | echo "Region exists" 33 | break 34 | else 35 | continue 36 | fi 37 | done 38 | done 39 | } 40 | 41 | # Check if resource group already exists. 42 | check_resource_group () { 43 | while true; do 44 | read -p "Enter a name for you resource group: " resource_group 45 | if [ $(az group exists --name $resource_group) = true ]; then 46 | echo "The group $resource_group exists in $selected_region, please provide another name..." 47 | else 48 | break 49 | fi 50 | done 51 | } 52 | 53 | # Create the resource group 54 | create_resource_group () { 55 | echo "Creating resource group: $resource_group in $selected_region" 56 | az group create -g $resource_group -l $selected_region | grep provisioningState 57 | } 58 | 59 | #List all resource groups 60 | list_resource_groups() { 61 | az group list -o table 62 | } 63 | 64 | # setup 65 | check_region 66 | check_resource_group 67 | create_resource_group 68 | list_resource_groups -------------------------------------------------------------------------------- /modifying-file-permissions/newFile.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/bash-for-beginners/4a4721b14227e8e3548b98835ecf41f678585e6a/modifying-file-permissions/newFile.txt -------------------------------------------------------------------------------- /modifying-file-permissions/octal.txt: -------------------------------------------------------------------------------- 1 | owner group others 2 | r w x r w x r w x 3 | (4)(2)(1) (4)(2)(1) (4)(2)(1) 4 | 5 | example: chmod 664 script.sh -------------------------------------------------------------------------------- /modifying-file-permissions/script.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo "Thank you for watching, Bash for Beginners!" -------------------------------------------------------------------------------- /redirection-and-pipelines/error.txt: -------------------------------------------------------------------------------- 1 | ls: cannot access './dir': No such file or directory 2 | -------------------------------------------------------------------------------- /redirection-and-pipelines/output.txt: -------------------------------------------------------------------------------- 1 | total 8 2 | -rw-rw-rw- 1 vscode vscode 0 Jan 17 18:03 error.txt 3 | -rw-rw-rw- 1 vscode vscode 0 Jan 17 18:10 output.txt 4 | -rw-rw-rw- 1 vscode vscode 415 Jan 17 17:37 part1.txt 5 | -rw-rw-rw- 1 vscode vscode 262 Jan 17 17:37 part2.txt 6 | -rw-rw-rw- 1 vscode vscode 0 Jan 17 17:54 part3.txt 7 | -rw-rw-rw- 1 vscode vscode 0 Jan 17 17:56 part4.txt 8 | -------------------------------------------------------------------------------- /redirection-and-pipelines/output2.txt: -------------------------------------------------------------------------------- 1 | total 16 2 | -rw-rw-rw- 1 vscode vscode 53 Jan 17 18:12 error.txt 3 | -rw-rw-rw- 1 vscode vscode 0 Jan 17 18:15 output2.txt 4 | -rw-rw-rw- 1 vscode vscode 333 Jan 17 18:10 output.txt 5 | -rw-rw-rw- 1 vscode vscode 415 Jan 17 17:37 part1.txt 6 | -rw-rw-rw- 1 vscode vscode 262 Jan 17 17:37 part2.txt 7 | -rw-rw-rw- 1 vscode vscode 0 Jan 17 17:54 part3.txt 8 | -rw-rw-rw- 1 vscode vscode 0 Jan 17 17:56 part4.txt 9 | -------------------------------------------------------------------------------- /redirection-and-pipelines/paragrah.txt: -------------------------------------------------------------------------------- 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. 2 | Mauris pharetra et ultrices neque ornare aenean euismod. Adipiscing enim eu turpis egestas pretium aenean pharetra magna ac. Nibh nisl condimentum id venenatis a condimentum. Interdum velit euismod in pellentesque massa placerat. Ac feugiat sed lectus vestibulum mattis ullamcorper velit. 3 | Libero justo laoreet sit amet cursus sit amet dictum sit. Pharetra vel turpis nunc eget lorem dolor sed. 4 | Ultrices neque ornare aenean euismod elementum nisi quis eleifend quam. Laoreet id donec ultrices tincidunt. 5 | Pulvinar sapien et ligula ullamcorper malesuada. -------------------------------------------------------------------------------- /redirection-and-pipelines/part1.txt: -------------------------------------------------------------------------------- 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. 2 | Mauris pharetra et ultrices neque ornare aenean euismod. Adipiscing enim eu turpis egestas pretium aenean pharetra magna ac. Nibh nisl condimentum id venenatis a condimentum. Interdum velit euismod in pellentesque massa placerat. Ac feugiat sed lectus vestibulum mattis ullamcorper velit. 3 | -------------------------------------------------------------------------------- /redirection-and-pipelines/part2.txt: -------------------------------------------------------------------------------- 1 | Libero justo laoreet sit amet cursus sit amet dictum sit. Pharetra vel turpis nunc eget lorem dolor sed. 2 | Ultrices neque ornare aenean euismod elementum nisi quis eleifend quam. Laoreet id donec ultrices tincidunt. 3 | Pulvinar sapien et ligula ullamcorper malesuada. -------------------------------------------------------------------------------- /redirection-and-pipelines/part3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/bash-for-beginners/4a4721b14227e8e3548b98835ecf41f678585e6a/redirection-and-pipelines/part3.txt -------------------------------------------------------------------------------- /redirection-and-pipelines/part4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/bash-for-beginners/4a4721b14227e8e3548b98835ecf41f678585e6a/redirection-and-pipelines/part4.txt -------------------------------------------------------------------------------- /viewing-files/fake001.log: -------------------------------------------------------------------------------- 1 | 230.247.88.202 - wisozk3263 [12/Jan/2023:17:30:13 +0000] "GET /enable HTTP/1.1" 416 9289 2 | 224.18.254.214 - - [12/Jan/2023:17:30:13 +0000] "PATCH /architectures/visionary/world-class HTTP/2.0" 502 13917 3 | 187.144.131.137 - - [12/Jan/2023:17:30:13 +0000] "PUT /initiatives/empower/web-readiness HTTP/1.0" 400 6392 4 | 126.168.148.43 - - [12/Jan/2023:17:30:13 +0000] "GET /enable/plug-and-play/virtual HTTP/2.0" 200 15144 5 | 87.13.63.72 - - [12/Jan/2023:17:30:13 +0000] "PUT /e-commerce/bricks-and-clicks HTTP/1.0" 404 17162 6 | 20.160.112.213 - kuhn7048 [12/Jan/2023:17:30:13 +0000] "DELETE /real-time/evolve HTTP/2.0" 201 24884 7 | 63.163.147.120 - - [12/Jan/2023:17:30:13 +0000] "POST /unleash HTTP/1.1" 401 28144 8 | 105.212.181.136 - stiedemann3217 [12/Jan/2023:17:30:13 +0000] "GET /extensible/transition/cutting-edge HTTP/1.0" 205 12924 9 | 167.133.191.114 - hettinger1052 [12/Jan/2023:17:30:13 +0000] "PUT /strategize/seize HTTP/1.0" 503 7855 10 | 175.124.13.207 - - [12/Jan/2023:17:30:13 +0000] "PATCH /cultivate/target/unleash/infomediaries HTTP/1.0" 204 7910 11 | 140.162.10.148 - oreilly6845 [12/Jan/2023:17:30:13 +0000] "GET /syndicate/recontextualize HTTP/1.0" 503 114 12 | 96.148.244.179 - - [12/Jan/2023:17:30:13 +0000] "DELETE /ubiquitous HTTP/1.1" 100 19021 13 | 243.148.63.145 - windler7814 [12/Jan/2023:17:30:13 +0000] "DELETE /grow/e-business/distributed/architect HTTP/1.1" 403 25433 14 | 217.130.31.22 - - [12/Jan/2023:17:30:13 +0000] "HEAD /e-services/enhance/methodologies HTTP/2.0" 100 15001 15 | 92.250.129.132 - - [12/Jan/2023:17:30:13 +0000] "DELETE /reintermediate HTTP/1.1" 400 6823 16 | 64.25.106.63 - harris6835 [12/Jan/2023:17:30:13 +0000] "PATCH /optimize/revolutionize HTTP/1.1" 504 9305 17 | 120.15.92.29 - - [12/Jan/2023:17:30:13 +0000] "GET /end-to-end/systems/user-centric/integrate HTTP/2.0" 504 13518 18 | 193.248.210.218 - - [12/Jan/2023:17:30:13 +0000] "HEAD /streamline/paradigms HTTP/1.1" 301 17454 19 | 146.248.54.231 - - [12/Jan/2023:17:30:13 +0000] "PATCH /rich/world-class/compelling HTTP/2.0" 302 3984 20 | 45.54.245.186 - - [12/Jan/2023:17:30:13 +0000] "PATCH /global/out-of-the-box HTTP/1.1" 503 27460 21 | 8.229.224.131 - - [12/Jan/2023:17:30:13 +0000] "DELETE /maximize/niches HTTP/1.0" 404 18168 22 | 62.123.61.19 - - [12/Jan/2023:17:30:13 +0000] "DELETE /frictionless/viral/real-time/synthesize HTTP/2.0" 501 5288 23 | 161.112.148.117 - - [12/Jan/2023:17:30:13 +0000] "PUT /portals HTTP/1.0" 504 29580 24 | 10.120.164.165 - - [12/Jan/2023:17:30:13 +0000] "GET /bandwidth/cutting-edge HTTP/1.0" 302 20776 25 | 127.95.12.56 - homenick7785 [12/Jan/2023:17:30:13 +0000] "GET /cutting-edge/benchmark/b2c HTTP/1.1" 100 8381 26 | 91.118.225.74 - rippin4750 [12/Jan/2023:17:30:13 +0000] "DELETE /one-to-one/mesh/orchestrate/communities HTTP/2.0" 201 18639 27 | 147.11.185.27 - leannon6748 [12/Jan/2023:17:30:13 +0000] "DELETE /transition/orchestrate HTTP/2.0" 405 23798 28 | 107.18.102.67 - - [12/Jan/2023:17:30:13 +0000] "HEAD /customized/web-readiness HTTP/2.0" 416 16969 29 | 17.37.158.51 - grant5785 [12/Jan/2023:17:30:13 +0000] "PUT /real-time HTTP/1.1" 304 25843 30 | 22.33.73.161 - - [12/Jan/2023:17:30:13 +0000] "POST /transition/channels HTTP/2.0" 203 28559 31 | 28.8.86.99 - klein4855 [12/Jan/2023:17:30:13 +0000] "PATCH /iterate/reintermediate/visualize HTTP/1.0" 200 28841 32 | 182.61.254.77 - - [12/Jan/2023:17:30:13 +0000] "HEAD /virtual/e-enable/user-centric/end-to-end HTTP/1.1" 416 28334 33 | 4.141.113.34 - wilkinson7258 [12/Jan/2023:17:30:13 +0000] "POST /proactive HTTP/2.0" 406 986 34 | 68.123.162.225 - - [12/Jan/2023:17:30:13 +0000] "GET /e-services HTTP/2.0" 204 20246 35 | 70.162.10.33 - robel4856 [12/Jan/2023:17:30:13 +0000] "PUT /disintermediate/engage/initiatives/synthesize HTTP/1.0" 504 11908 36 | 150.30.28.119 - hand3064 [12/Jan/2023:17:30:13 +0000] "HEAD /bricks-and-clicks/aggregate/brand/synthesize HTTP/1.0" 403 8788 37 | 217.202.205.82 - rau1313 [12/Jan/2023:17:30:13 +0000] "GET /redefine HTTP/1.0" 502 3995 38 | 117.192.253.253 - - [12/Jan/2023:17:30:13 +0000] "DELETE /integrated/disintermediate/extensible HTTP/1.0" 416 954 39 | 138.104.43.189 - - [12/Jan/2023:17:30:13 +0000] "GET /deploy/clicks-and-mortar/e-business/magnetic HTTP/2.0" 501 28115 40 | 214.47.72.110 - cummerata7142 [12/Jan/2023:17:30:13 +0000] "PUT /supply-chains/platforms HTTP/1.0" 406 11849 41 | 176.76.228.182 - senger4688 [12/Jan/2023:17:30:13 +0000] "DELETE /enhance/open-source/optimize/deliverables HTTP/1.0" 501 13068 42 | 220.184.179.140 - - [12/Jan/2023:17:30:13 +0000] "DELETE /killer/deploy/plug-and-play HTTP/1.1" 403 19025 43 | 215.213.227.82 - keeling7263 [12/Jan/2023:17:30:13 +0000] "PUT /action-items HTTP/1.1" 201 26241 44 | 116.203.191.64 - - [12/Jan/2023:17:30:13 +0000] "PUT /technologies/sticky/one-to-one HTTP/2.0" 406 22719 45 | 58.66.250.47 - - [12/Jan/2023:17:30:13 +0000] "PATCH /disintermediate/strategic/interactive HTTP/2.0" 403 1674 46 | 3.85.49.181 - - [12/Jan/2023:17:30:13 +0000] "GET /value-added/value-added/magnetic HTTP/1.1" 200 14847 47 | 82.169.199.61 - parker4546 [12/Jan/2023:17:30:13 +0000] "DELETE /e-markets/benchmark/24%2f7 HTTP/2.0" 500 18075 48 | 78.176.33.102 - - [12/Jan/2023:17:30:13 +0000] "HEAD /interfaces HTTP/1.1" 200 18248 49 | 130.3.208.89 - considine4756 [12/Jan/2023:17:30:13 +0000] "PATCH /brand HTTP/2.0" 200 5621 50 | 71.41.228.174 - goyette8088 [12/Jan/2023:17:30:13 +0000] "PUT /expedite/impactful/envisioneer HTTP/1.1" 503 3367 51 | 218.173.254.166 - - [12/Jan/2023:17:30:13 +0000] "POST /intuitive/infrastructures HTTP/1.0" 200 17878 52 | 219.52.157.3 - - [12/Jan/2023:17:30:13 +0000] "DELETE /optimize/systems/brand/out-of-the-box HTTP/1.1" 503 5719 53 | 50.68.10.79 - brown5050 [12/Jan/2023:17:30:13 +0000] "DELETE /methodologies/mindshare HTTP/1.1" 200 2521 54 | 164.128.156.100 - lind7228 [12/Jan/2023:17:30:13 +0000] "HEAD /implement HTTP/1.0" 405 19465 55 | 94.48.83.64 - metz6057 [12/Jan/2023:17:30:13 +0000] "PUT /global/vortals HTTP/1.1" 203 2087 56 | 101.40.104.134 - - [12/Jan/2023:17:30:13 +0000] "POST /channels/seamless/24%2f365 HTTP/1.0" 504 18276 57 | 108.194.116.114 - - [12/Jan/2023:17:30:13 +0000] "PATCH /innovate/exploit/e-tailers/whiteboard HTTP/1.0" 504 27362 58 | 146.148.194.241 - kohler5522 [12/Jan/2023:17:30:13 +0000] "PUT /disintermediate/models/strategic/expedite HTTP/1.0" 503 21298 59 | 99.192.254.103 - sipes2056 [12/Jan/2023:17:30:13 +0000] "HEAD /architect/channels HTTP/1.1" 502 9621 60 | 7.253.10.205 - bruen1611 [12/Jan/2023:17:30:13 +0000] "DELETE /networks/wireless/efficient HTTP/2.0" 400 6889 61 | 234.211.131.3 - schowalter5315 [12/Jan/2023:17:30:13 +0000] "PATCH /frictionless HTTP/1.0" 301 2007 62 | 5.247.243.51 - - [12/Jan/2023:17:30:13 +0000] "POST /e-business/seize HTTP/1.1" 416 10796 63 | 238.18.142.202 - harvey7870 [12/Jan/2023:17:30:13 +0000] "PATCH /drive HTTP/1.0" 304 28211 64 | 38.45.215.222 - jerde7481 [12/Jan/2023:17:30:13 +0000] "HEAD /grow HTTP/2.0" 400 26803 65 | 76.238.187.150 - - [12/Jan/2023:17:30:13 +0000] "DELETE /holistic/leverage/benchmark HTTP/1.1" 203 25981 66 | 124.193.197.173 - tillman3753 [12/Jan/2023:17:30:13 +0000] "POST /intuitive/utilize/scalable/b2b HTTP/1.1" 205 21486 67 | 145.55.215.243 - - [12/Jan/2023:17:30:13 +0000] "PATCH /extend/seize/b2c HTTP/1.0" 401 8638 68 | 160.225.250.109 - - [12/Jan/2023:17:30:13 +0000] "PUT /monetize/enhance HTTP/2.0" 405 14867 69 | 133.80.40.127 - stroman5551 [12/Jan/2023:17:30:13 +0000] "HEAD /open-source/evolve/transform/schemas HTTP/1.0" 203 5438 70 | 139.209.49.166 - - [12/Jan/2023:17:30:13 +0000] "PATCH /b2c/benchmark/rich HTTP/2.0" 203 3439 71 | 123.77.114.71 - - [12/Jan/2023:17:30:13 +0000] "GET /generate/roi/vortals/exploit HTTP/1.0" 301 907 72 | 50.138.41.127 - - [12/Jan/2023:17:30:13 +0000] "POST /b2c HTTP/2.0" 504 9058 73 | 210.59.179.248 - - [12/Jan/2023:17:30:13 +0000] "POST /harness/architectures HTTP/1.1" 502 10196 74 | 29.169.205.183 - cartwright3813 [12/Jan/2023:17:30:13 +0000] "PATCH /e-business/dot-com/open-source HTTP/2.0" 504 28142 75 | 163.253.164.80 - - [12/Jan/2023:17:30:13 +0000] "PATCH /customized/web-readiness/target HTTP/2.0" 405 4847 76 | 153.12.83.29 - - [12/Jan/2023:17:30:13 +0000] "GET /empower/orchestrate/action-items/solutions HTTP/2.0" 204 22480 77 | 119.19.133.41 - metz5025 [12/Jan/2023:17:30:13 +0000] "PUT /unleash HTTP/1.0" 503 19788 78 | 52.209.166.7 - - [12/Jan/2023:17:30:13 +0000] "PATCH /repurpose/channels/engage HTTP/2.0" 203 2885 79 | 86.226.56.232 - - [12/Jan/2023:17:30:13 +0000] "POST /24%2f365/incubate/markets/whiteboard HTTP/2.0" 501 22302 80 | 39.20.241.142 - - [12/Jan/2023:17:30:13 +0000] "POST /initiatives/e-commerce/transparent/streamline HTTP/1.1" 304 9086 81 | 232.46.175.98 - dare2814 [12/Jan/2023:17:30:13 +0000] "PATCH /grow HTTP/1.0" 201 6684 82 | 197.150.78.142 - simonis6260 [12/Jan/2023:17:30:13 +0000] "POST /incubate HTTP/2.0" 406 1659 83 | 119.157.103.178 - - [12/Jan/2023:17:30:13 +0000] "PATCH /interfaces HTTP/1.1" 503 394 84 | 48.165.55.234 - mitchell6556 [12/Jan/2023:17:30:13 +0000] "POST /reinvent HTTP/2.0" 504 628 85 | 53.149.125.254 - cummings7223 [12/Jan/2023:17:30:13 +0000] "PUT /reinvent/strategize/wireless/visualize HTTP/1.1" 203 28521 86 | 249.16.209.71 - - [12/Jan/2023:17:30:13 +0000] "GET /roi/exploit HTTP/1.0" 404 2148 87 | 69.117.231.32 - damore8572 [12/Jan/2023:17:30:13 +0000] "DELETE /iterate/monetize/partnerships HTTP/1.1" 406 17008 88 | 101.112.114.96 - - [12/Jan/2023:17:30:13 +0000] "GET /synergistic/synergize/frictionless/out-of-the-box HTTP/2.0" 401 11107 89 | 67.7.229.158 - - [12/Jan/2023:17:30:13 +0000] "DELETE /virtual/holistic/metrics HTTP/1.1" 401 6960 90 | 164.15.241.96 - nienow5718 [12/Jan/2023:17:30:13 +0000] "DELETE /extensible/functionalities/customized/repurpose HTTP/1.0" 416 17726 91 | 110.117.184.85 - - [12/Jan/2023:17:30:13 +0000] "DELETE /e-commerce HTTP/1.1" 401 23705 92 | 239.250.59.159 - - [12/Jan/2023:17:30:13 +0000] "POST /collaborative/channels/repurpose/generate HTTP/1.1" 504 11841 93 | 190.216.219.29 - lowe5351 [12/Jan/2023:17:30:13 +0000] "DELETE /web-readiness HTTP/1.0" 416 26779 94 | 177.180.199.178 - rutherford6407 [12/Jan/2023:17:30:13 +0000] "HEAD /ubiquitous HTTP/1.0" 205 28852 95 | 34.78.206.127 - - [12/Jan/2023:17:30:13 +0000] "PUT /enhance/benchmark HTTP/1.0" 204 6700 96 | 44.86.41.179 - - [12/Jan/2023:17:30:13 +0000] "HEAD /niches/magnetic/intuitive/back-end HTTP/1.0" 404 6116 97 | 223.124.215.118 - - [12/Jan/2023:17:30:13 +0000] "POST /utilize HTTP/1.1" 403 21607 98 | 207.89.174.93 - - [12/Jan/2023:17:30:13 +0000] "POST /maximize/incentivize HTTP/2.0" 504 3329 99 | 162.115.131.142 - - [12/Jan/2023:17:30:13 +0000] "PATCH /enable/extend/proactive/recontextualize HTTP/1.1" 302 19678 100 | 250.5.90.202 - moen2373 [12/Jan/2023:17:30:13 +0000] "PUT /24%2f7/24%2f7/24%2f365 HTTP/1.0" 406 23470 -------------------------------------------------------------------------------- /viewing-files/fake002.log: -------------------------------------------------------------------------------- 1 | 174.254.102.27 - osinski5752 [12/Jan/2023:17:30:13 +0000] "GET /benchmark HTTP/1.0" 404 21279 2 | 98.140.58.233 - armstrong7258 [12/Jan/2023:17:30:13 +0000] "HEAD /supply-chains/one-to-one/next-generation/experiences HTTP/2.0" 416 21441 3 | 45.149.233.104 - - [12/Jan/2023:17:30:13 +0000] "PUT /e-enable HTTP/2.0" 401 23529 4 | 100.73.39.16 - - [12/Jan/2023:17:30:13 +0000] "POST /channels/action-items/efficient HTTP/1.0" 201 19453 5 | 182.80.194.231 - torp5686 [12/Jan/2023:17:30:13 +0000] "POST /revolutionize/e-tailers HTTP/1.1" 400 17131 6 | 10.69.170.126 - mohr8265 [12/Jan/2023:17:30:13 +0000] "HEAD /visualize/leverage/envisioneer/impactful HTTP/1.1" 200 8784 7 | 246.206.80.220 - - [12/Jan/2023:17:30:13 +0000] "PUT /e-commerce/bandwidth/distributed/architect HTTP/1.1" 406 1954 8 | 24.133.2.96 - klocko4756 [12/Jan/2023:17:30:13 +0000] "POST /e-services HTTP/1.1" 502 23883 9 | 44.192.248.149 - - [12/Jan/2023:17:30:13 +0000] "HEAD /incubate/next-generation/maximize/efficient HTTP/1.0" 404 28094 10 | 67.136.134.201 - - [12/Jan/2023:17:30:13 +0000] "POST /transition HTTP/2.0" 504 22723 11 | 221.94.68.136 - - [12/Jan/2023:17:30:13 +0000] "DELETE /bandwidth/transform/mindshare HTTP/1.1" 205 11781 12 | 46.206.219.88 - price3775 [12/Jan/2023:17:30:13 +0000] "HEAD /architect/aggregate/platforms/virtual HTTP/2.0" 304 29332 13 | 102.242.183.37 - willms8432 [12/Jan/2023:17:30:13 +0000] "POST /incubate/out-of-the-box/reintermediate HTTP/1.0" 200 29935 14 | 106.48.142.135 - wolff3116 [12/Jan/2023:17:30:13 +0000] "PATCH /productize HTTP/2.0" 201 20642 15 | 155.121.204.36 - - [12/Jan/2023:17:30:13 +0000] "PUT /repurpose/plug-and-play/dot-com/supply-chains HTTP/2.0" 504 5088 16 | 138.76.105.129 - - [12/Jan/2023:17:30:13 +0000] "HEAD /end-to-end/benchmark/harness/customized HTTP/1.0" 504 14927 17 | 144.47.215.34 - macejkovic1577 [12/Jan/2023:17:30:13 +0000] "GET /mindshare/e-services/e-services HTTP/2.0" 501 21728 18 | 75.211.15.151 - bechtelar8477 [12/Jan/2023:17:30:13 +0000] "PUT /methodologies/monetize/scale HTTP/1.0" 100 12341 19 | 216.71.234.54 - oberbrunner3135 [12/Jan/2023:17:30:13 +0000] "PUT /sticky HTTP/1.0" 405 7197 20 | 165.227.108.128 - - [12/Jan/2023:17:30:13 +0000] "GET /implement/next-generation/synthesize/markets HTTP/1.0" 501 11213 21 | 216.231.91.60 - - [12/Jan/2023:17:30:13 +0000] "HEAD /web-readiness/cross-platform/action-items HTTP/2.0" 301 9408 22 | 49.245.87.26 - - [12/Jan/2023:17:30:13 +0000] "GET /unleash/deliverables/mission-critical HTTP/1.1" 406 2622 23 | 143.225.40.181 - - [12/Jan/2023:17:30:13 +0000] "DELETE /mesh/frictionless/markets/impactful HTTP/2.0" 502 22384 24 | 58.178.81.207 - - [12/Jan/2023:17:30:13 +0000] "POST /innovate/integrate/robust HTTP/1.1" 201 28093 25 | 29.183.64.210 - koss7453 [12/Jan/2023:17:30:13 +0000] "HEAD /technologies HTTP/1.0" 201 4326 26 | 39.130.25.252 - - [12/Jan/2023:17:30:13 +0000] "HEAD /harness/syndicate/extend HTTP/2.0" 503 12615 27 | 68.218.5.10 - stoltenberg3867 [12/Jan/2023:17:30:13 +0000] "GET /schemas/eyeballs HTTP/1.1" 304 25881 28 | 99.198.128.109 - reynolds4380 [12/Jan/2023:17:30:13 +0000] "GET /embrace HTTP/1.0" 502 23585 29 | 35.157.107.188 - yundt3643 [12/Jan/2023:17:30:13 +0000] "GET /streamline/e-tailers/cutting-edge HTTP/2.0" 500 15004 30 | 58.161.189.117 - ondricka7724 [12/Jan/2023:17:30:13 +0000] "GET /world-class/plug-and-play/mindshare/evolve HTTP/1.0" 301 974 31 | 166.47.35.213 - - [12/Jan/2023:17:30:13 +0000] "POST /vortals/bandwidth HTTP/1.0" 500 13 32 | 216.104.147.213 - - [12/Jan/2023:17:30:13 +0000] "HEAD /value-added/action-items/markets HTTP/2.0" 302 29374 33 | 215.135.145.108 - - [12/Jan/2023:17:30:13 +0000] "PUT /enable/embrace HTTP/1.0" 403 26979 34 | 8.183.192.233 - - [12/Jan/2023:17:30:13 +0000] "POST /syndicate/b2b HTTP/2.0" 204 26819 35 | 44.210.52.135 - - [12/Jan/2023:17:30:13 +0000] "HEAD /enable/expedite HTTP/1.0" 404 11004 36 | 157.2.63.252 - corwin7377 [12/Jan/2023:17:30:13 +0000] "PUT /one-to-one/experiences HTTP/2.0" 406 24311 37 | 85.214.97.201 - shanahan1562 [12/Jan/2023:17:30:13 +0000] "DELETE /ubiquitous HTTP/2.0" 100 17371 38 | 247.46.253.74 - denesik6577 [12/Jan/2023:17:30:13 +0000] "HEAD /reinvent HTTP/1.0" 204 23369 39 | 107.23.128.137 - - [12/Jan/2023:17:30:13 +0000] "PUT /transform/plug-and-play HTTP/2.0" 405 8168 40 | 119.45.201.206 - wyman5544 [12/Jan/2023:17:30:13 +0000] "HEAD /wireless/schemas/deliver/portals HTTP/1.0" 401 6651 41 | 128.164.197.123 - keeling6712 [12/Jan/2023:17:30:13 +0000] "DELETE /innovative/repurpose/e-enable HTTP/2.0" 205 28269 42 | 74.220.40.67 - - [12/Jan/2023:17:30:13 +0000] "HEAD /leverage/proactive/generate HTTP/1.1" 200 17313 43 | 181.202.138.38 - moen5255 [12/Jan/2023:17:30:13 +0000] "PUT /partnerships/intuitive HTTP/1.0" 200 16862 44 | 124.236.35.235 - - [12/Jan/2023:17:30:13 +0000] "GET /partnerships HTTP/1.1" 404 2355 45 | 125.238.216.181 - - [12/Jan/2023:17:30:13 +0000] "DELETE /enable/deliver HTTP/2.0" 302 26668 46 | 139.4.135.68 - little5721 [12/Jan/2023:17:30:13 +0000] "POST /end-to-end/harness/e-markets HTTP/1.1" 500 28411 47 | 123.232.28.79 - - [12/Jan/2023:17:30:13 +0000] "POST /user-centric HTTP/2.0" 304 22867 48 | 165.106.159.109 - - [12/Jan/2023:17:30:13 +0000] "PUT /distributed/dot-com/eyeballs HTTP/2.0" 501 8082 49 | 180.22.241.196 - - [12/Jan/2023:17:30:13 +0000] "DELETE /brand HTTP/2.0" 301 7549 50 | 216.232.175.205 - - [12/Jan/2023:17:30:13 +0000] "POST /synergies/paradigms/innovative/scale HTTP/1.1" 401 23851 51 | 39.229.226.139 - - [12/Jan/2023:17:30:13 +0000] "POST /leverage/target/matrix/best-of-breed HTTP/1.0" 302 22488 52 | 56.200.27.173 - - [12/Jan/2023:17:30:13 +0000] "POST /user-centric HTTP/1.1" 406 13345 53 | 97.87.183.212 - - [12/Jan/2023:17:30:13 +0000] "GET /maximize/web-readiness/wireless HTTP/2.0" 200 6231 54 | 40.173.110.157 - braun4832 [12/Jan/2023:17:30:13 +0000] "POST /applications/systems/synergies HTTP/1.1" 406 22526 55 | 193.16.251.195 - hoeger2281 [12/Jan/2023:17:30:13 +0000] "POST /front-end HTTP/1.0" 200 26663 56 | 233.122.156.19 - hermann5458 [12/Jan/2023:17:30:13 +0000] "HEAD /expedite/vertical/leading-edge/wireless HTTP/1.1" 500 11220 57 | 163.75.233.226 - - [12/Jan/2023:17:30:13 +0000] "POST /clicks-and-mortar/e-services/clicks-and-mortar/reinvent HTTP/1.1" 403 14487 58 | 28.122.90.26 - pfannerstill1622 [12/Jan/2023:17:30:13 +0000] "DELETE /infomediaries/monetize/strategic HTTP/1.0" 100 5237 59 | 208.203.156.187 - buckridge4855 [12/Jan/2023:17:30:13 +0000] "POST /grow/action-items/turn-key/global HTTP/1.0" 100 2039 60 | 55.125.128.154 - kshlerin5307 [12/Jan/2023:17:30:13 +0000] "HEAD /channels/markets HTTP/1.1" 200 10858 61 | 254.133.102.47 - - [12/Jan/2023:17:30:13 +0000] "GET /value-added/enterprise/cultivate HTTP/2.0" 504 16487 62 | 146.79.24.193 - - [12/Jan/2023:17:30:13 +0000] "PATCH /world-class/embrace/content/e-services HTTP/1.1" 406 23387 63 | 174.197.142.119 - - [12/Jan/2023:17:30:13 +0000] "GET /paradigms/strategic/seamless HTTP/2.0" 203 7675 64 | 147.97.28.6 - - [12/Jan/2023:17:30:13 +0000] "GET /sticky/world-class HTTP/1.1" 500 346 65 | 79.103.12.147 - - [12/Jan/2023:17:30:13 +0000] "PATCH /bricks-and-clicks/enable/revolutionize HTTP/1.1" 200 26791 66 | 109.92.69.46 - grant6207 [12/Jan/2023:17:30:13 +0000] "PUT /b2c/transform/e-tailers HTTP/1.0" 205 11659 67 | 152.66.17.60 - baumbach8854 [12/Jan/2023:17:30:13 +0000] "POST /schemas/e-business/revolutionary/e-tailers HTTP/1.0" 401 10731 68 | 246.74.241.68 - kreiger8228 [12/Jan/2023:17:30:13 +0000] "POST /cross-media/transparent/expedite HTTP/1.1" 205 12827 69 | 27.163.104.223 - wisoky4103 [12/Jan/2023:17:30:13 +0000] "POST /sticky HTTP/2.0" 204 7235 70 | 164.41.140.20 - - [12/Jan/2023:17:30:13 +0000] "PATCH /deliverables HTTP/1.1" 403 5571 71 | 136.64.144.184 - - [12/Jan/2023:17:30:13 +0000] "POST /methodologies/incubate/content/orchestrate HTTP/1.0" 304 5521 72 | 104.20.159.5 - - [12/Jan/2023:17:30:13 +0000] "PATCH /scalable HTTP/1.1" 302 16345 73 | 184.66.202.252 - pfeffer2424 [12/Jan/2023:17:30:13 +0000] "HEAD /next-generation/drive/collaborative/collaborative HTTP/1.1" 304 5400 74 | 246.90.251.150 - boehm1382 [12/Jan/2023:17:30:13 +0000] "POST /synergize/synthesize/extensible/customized HTTP/1.0" 403 27840 75 | 102.73.47.102 - hilll4422 [12/Jan/2023:17:30:13 +0000] "PUT /solutions HTTP/1.0" 404 25778 76 | 174.212.2.233 - vonrueden5828 [12/Jan/2023:17:30:13 +0000] "DELETE /strategize/wireless/sticky/scalable HTTP/1.1" 302 1543 77 | 170.175.153.93 - raynor7760 [12/Jan/2023:17:30:13 +0000] "POST /action-items/next-generation HTTP/2.0" 400 26886 78 | 174.235.88.150 - - [12/Jan/2023:17:30:13 +0000] "PUT /dynamic HTTP/1.1" 100 8605 79 | 200.19.226.142 - zemlak7153 [12/Jan/2023:17:30:13 +0000] "HEAD /enable/sticky HTTP/1.0" 201 26235 80 | 142.9.184.110 - hegmann2585 [12/Jan/2023:17:30:13 +0000] "POST /web-readiness/architect/target HTTP/1.0" 203 23974 81 | 155.254.254.3 - kilback5502 [12/Jan/2023:17:30:13 +0000] "PUT /clicks-and-mortar/leverage HTTP/2.0" 200 20945 82 | 228.50.168.198 - - [12/Jan/2023:17:30:13 +0000] "POST /web+services HTTP/1.0" 200 23294 83 | 79.96.27.207 - - [12/Jan/2023:17:30:13 +0000] "PUT /orchestrate/optimize/expedite HTTP/1.0" 406 8520 84 | 35.173.105.185 - steuber2147 [12/Jan/2023:17:30:13 +0000] "HEAD /granular/e-commerce HTTP/2.0" 502 16092 85 | 27.165.146.108 - - [12/Jan/2023:17:30:13 +0000] "HEAD /matrix HTTP/2.0" 205 81 86 | 132.112.18.37 - vandervort3483 [12/Jan/2023:17:30:13 +0000] "DELETE /bricks-and-clicks/expedite HTTP/2.0" 403 26303 87 | 113.64.112.245 - johns3127 [12/Jan/2023:17:30:13 +0000] "PUT /roi/synthesize/transparent HTTP/2.0" 503 11308 88 | 121.72.240.119 - - [12/Jan/2023:17:30:13 +0000] "HEAD /engineer/functionalities/empower/viral HTTP/1.1" 201 27392 89 | 177.66.8.234 - - [12/Jan/2023:17:30:13 +0000] "POST /cultivate HTTP/2.0" 403 19328 90 | 15.63.149.102 - johnson6610 [12/Jan/2023:17:30:13 +0000] "PUT /facilitate/engineer HTTP/1.1" 204 14801 91 | 130.145.175.18 - buckridge7053 [12/Jan/2023:17:30:13 +0000] "PATCH /world-class HTTP/2.0" 503 10428 92 | 193.238.224.104 - - [12/Jan/2023:17:30:13 +0000] "HEAD /customized/next-generation HTTP/2.0" 304 29623 93 | 89.93.168.73 - borer4376 [12/Jan/2023:17:30:13 +0000] "PATCH /e-tailers HTTP/1.0" 400 12940 94 | 111.168.34.112 - - [12/Jan/2023:17:30:13 +0000] "POST /syndicate/e-commerce/methodologies HTTP/1.0" 406 13695 95 | 56.42.2.139 - jerde2310 [12/Jan/2023:17:30:13 +0000] "GET /frictionless/value-added/innovate/incentivize HTTP/1.1" 500 5818 96 | 176.215.10.88 - - [12/Jan/2023:17:30:13 +0000] "DELETE /productize/cross-media/revolutionary/cross-media HTTP/2.0" 302 16838 97 | 68.252.113.140 - bechtelar8507 [12/Jan/2023:17:30:13 +0000] "GET /recontextualize/enhance/visionary/compelling HTTP/2.0" 500 13089 98 | 183.183.122.80 - lindgren4027 [12/Jan/2023:17:30:13 +0000] "PATCH /robust HTTP/1.1" 200 16898 99 | 123.26.119.140 - - [12/Jan/2023:17:30:13 +0000] "PUT /dot-com/disintermediate/incubate HTTP/1.0" 406 15392 100 | 173.82.154.191 - hartmann4006 [12/Jan/2023:17:30:13 +0000] "DELETE /solutions/leverage HTTP/2.0" 406 28558 -------------------------------------------------------------------------------- /viewing-files/quotes01.txt: -------------------------------------------------------------------------------- 1 | “An investment in knowledge always pays the best interest.” 2 | ― Andrew Hunt, The Pragmatic Programmer 3 | 4 | “Every day, work to refine the skills you have and to add new tools to your repertoire.” 5 | ― Andrew Hunt, The Pragmatic Programmer 6 | 7 | “Just as in financial investing, you must invest in your knowledge portfolio regularly.” 8 | ― Andrew Hunt, The Pragmatic Programmer 9 | -------------------------------------------------------------------------------- /viewing-files/quotes02.txt: -------------------------------------------------------------------------------- 1 | “Clean code always looks like it was written by someone who cares.” 2 | ― Robert C. Martin, Clean Code 3 | 4 | “Don’t Use a Comment When You Can Use a Function or a Variable” 5 | ― Robert C. Martin, Clean Code -------------------------------------------------------------------------------- /what-are-case-statements/case_statement: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # A script that will ask for a number and print out a message depending on the value. 4 | 5 | read -p "Enter a number: " n 6 | case $n in 7 | ???) 8 | echo "One";; 9 | 2) 10 | echo "Two";; 11 | aa) 12 | echo "Three";; 13 | *.txt) 14 | echo "Four";; 15 | *) 16 | echo "Other";; 17 | esac 18 | -------------------------------------------------------------------------------- /what-are-conditional-statements/is_number_even: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | number=25 4 | 5 | if [ $((number % 2)) -eq 0 ]; 6 | then 7 | echo "The number $number is even!"; 8 | else 9 | echo "The number $number is odd!" 10 | fi 11 | -------------------------------------------------------------------------------- /what-are-functions/add_numbers: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | check_even () { 4 | local mod=2 5 | echo "The value of mod is $mod" 6 | if [ $(("$1" % $mod)) -eq 0 ] 7 | then 8 | echo "The number $1 is even!"; 9 | else 10 | echo "The number $1 is odd!" 11 | fi 12 | } 13 | 14 | 15 | number=2344 16 | 17 | check_even $number 18 | echo $mod -------------------------------------------------------------------------------- /what-are-loops/for_loop_new_c: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # A script to display a series of numbers using a for loop. 4 | 5 | for (( i=0; i<5; i=i+1 )); do 6 | echo "The counter is at: $i" 7 | done -------------------------------------------------------------------------------- /what-are-loops/for_loop_traditional: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Print values in an array using for loops 4 | 5 | services=("loadbalancer" "virtualmachine" "storage") 6 | 7 | for i in "${services[@]}" 8 | do 9 | echo $i 10 | done 11 | -------------------------------------------------------------------------------- /what-are-loops/loop_and_break: -------------------------------------------------------------------------------- 1 | #/bin/bash 2 | 3 | # A script that will recieve input and break depending on condition. 4 | 5 | while true; do 6 | read -p "Enter a number between 1 and 25: " n 7 | if [[ $n -ge 1 && $n -le 25 ]]; then 8 | echo "You entered $n" 9 | else 10 | echo "You didn't enter a number in range, goodbye." 11 | break 12 | fi 13 | done 14 | 15 | echo "Break happened" -------------------------------------------------------------------------------- /what-are-loops/until_loop: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # A script to display a series of numbers using while. 4 | 5 | counter=1 6 | until [[ "$counter" -gt 10 ]]; do 7 | echo "The counter is at: $counter" 8 | counter=$((counter + 1)) 9 | done 10 | echo "The count has finished." 11 | -------------------------------------------------------------------------------- /what-are-loops/while_loop: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # A script to display a series of numbers using a while loop. 4 | 5 | counter=1 6 | while [[ "$counter" -le 10 ]]; do 7 | echo "The counter is at: $counter" 8 | counter=$((counter + 1)) 9 | done 10 | echo "The count has finished." -------------------------------------------------------------------------------- /what-is-a-bash-script/hello_world: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Welcome to your first Bash Script 4 | 5 | echo 'Hello World!' -------------------------------------------------------------------------------- /what-is-a-variable/hello_variable: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Welcome to your first Bash Script 4 | 5 | echo 'Hello World!' --------------------------------------------------------------------------------