Systemd
Enabling a service and starting it
systemctl enable --now httpd
systemctl enable httpd
Enabling a service and starting it
systemctl enable --now httpd
systemctl enable httpd
New Command: cut use man to figure out how to use cut
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 aux
Filter 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"] |