https://github.com/livialima/linuxupskillchallenge
https://tldp.org/LDP/intro-linux/html/index.html
◦ ps
| #!/bin/bash | |
| # Usage./create-ecr.sh create repo-name | |
| set -x | |
| set -e | |
| ECR_IMAGE_NAME="" | |
| if [ "$1" = "" ]; | |
| then | |
| echo "No Args passed" |
| <!-- | |
| Program to accept Student ID (combination of alphabets an numbers), | |
| date of joining Collige, percentage in previous class (in digits) | |
| The data should be sent to the server. | |
| --> | |
| <html> | |
| <head> | |
| <title>HTML question 1</title> | |
| </head> | |
| <body> |
Get a list of running processes
ps auxFilter through the processes replace "<keyword>"
ps aux| grep <keyword>Search for 2 or more processes
Folks, Leave me a comment / URL if something you like is missing!
| Resource | Description |
|---|---|
| Kube Academy | https://kube.academy/ |
| kuernetes-101 | https://kube.academy/courses/kubernetes-101/ |
| Docs Home | https://kubernetes.io/docs/home/ |
| CKS CKA CKAD Simulator | https://killer.sh/ |
| function handler(event) { | |
| var request = event.request; | |
| var uri = request.uri; | |
| if (uri.startsWith('/api')) { | |
| uri=uri.replace('/api/','') | |
| var newurl = `https://backend-url/${uri}` | |
| var response = { | |
| // The status code is important. |
| FROM alpine | |
| RUN apk update && apk add squid | |
| COPY ./squid.conf /etc/squid.conf | |
| RUN squid -z && squid -k check | |
| CMD ["squid","--foreground","-f","/etc/squid.conf"] |
| package main | |
| import ( | |
| "bytes" | |
| "encoding/json" | |
| "io/ioutil" | |
| "log" | |
| "net/http" | |
| "net/url" | |
| "os" |
| package main | |
| import ( | |
| "bytes" | |
| "encoding/json" | |
| "io/ioutil" | |
| "log" | |
| "net/http" | |
| "net/url" | |
| "os" |
| # script-name build_dir | |
| # | |
| dnf config-manager --set-enabled powertools | |
| dnf install https://mirror.rackspace.com/elrepo/elrepo/el8/x86_64/RPMS/elrepo-release-8.2-1.el8.elrepo.noarch.rpm | |
| dnf --enablerepo=elrepo-testing install btrfs-progs-devel | |
| dnf -y update | |
| dnf install -y btrfs-progs-devel\ | |
| conmon \ | |
| containernetworking-plugins \ | |
| containers-common crun \ |