Create a file in bash using EOF
Create the file in bash using EOF
cat << 'EOF' > path/dummyfile.txt
Test file
EOF
Search for a command to run...
Create the file in bash using EOF
cat << 'EOF' > path/dummyfile.txt
Test file
EOF
No comments yet. Be the first to comment.
Verdaccio is a lightweight private npm registry that can be run locally. Clone the repo I created a repo with the docker-compose file for running the application in the docker container. Repo: https://github.com/Docker-X/verdaccio-docker-compose Run ...

caddy redirections This article helps you understand the caddy configuration for HTTP to HTTPS redirection in details configuration. Caddy Modern Defaults “Caddy is the first and only web server to use HTTPS automatically and by default.” Caddy provi...

Low risk, high impact on billing I think you will agree with me, that reducing the AWS ebs price by 20%, is the low-risk activity of changing the EBS volume type. I found this interesting and easy when I implemented it for my clients. This no-nonsens...

Healthy Kafka Cluster Get the under-replicated-partitions docker run --net=host --rm confluentinc/cp-kafka:4.0.0 kafka-topics --zookeeper 192.31.1.1:22181 --describe --under-replicated-partitions Output Topic: country Partition: 0 Leader: 1 ...

Kafka Active Controller What is a Controller? The controller is one of the Kafka brokers, usually behaves like a normal broker, and has a controlling capability of managing partition state and replicas and reassignment of the partition. How to get th...