RSS

Posts in 2021

  • Most votes on linux questions 2

    May 01, 2021 in FAQ

    Most votes on linux questions 2. #11 How to exclude a directory in find . command #12 Looping through the content of a file in Bash #13 How do I prompt for Yes/No/Cancel input in a Linux shell script? #14 UTF-8 all the way through #15 How do I copy folder with files to another folder in Unix/Linux? #16 Merge / convert multiple PDF files into one PDF #17 How to count lines in a document? #18 How can I use grep to show just filenames on Linux? #19 How to redirect output to a file and stdout #20 Remove a symlink to a directory

    Read all the top votes questions and answers in a single page. #11: How to exclude a directory in find . command (Score: 1597) Created: 2010-11-17 Last updated: 2018-09-04 Tags: linux, shell, find I’m trying to run a find command for all …

    Read more

  • Most votes on linux questions 10

    May 01, 2021 in FAQ

    Most votes on linux questions 10. #91 How to recursively find and list the latest modified files in a directory with subdirectories and times #92 How to keep environment variables when using sudo #93 What is Linux’s native GUI API? #94 What is the difference between "#!/usr/bin/env bash" and "#!/usr/bin/bash"? #95 How do I find the MySQL my.cnf location #96 How to append one file to another in Linux from the shell? #97 Undefined reference to pthread_create in Linux #98 What's the best way to send a signal to all members of a process group? #99 Linux how to copy but not overwrite? #100 What characters are forbidden in Windows and Linux directory names?

    Read all the top votes questions and answers in a single page. #91: How to recursively find and list the latest modified files in a directory with subdirectories and times (Score: 467) Created: 2011-04-06 Last updated: 2020-12-10 Tags: linux, …

    Read more

  • Most votes on linux questions 1

    May 01, 2021 in FAQ

    Most votes on linux questions 1. #1 How do I find all files containing specific text on Linux? #2 How can I recursively find all files in current and subfolders based on wildcard matching? #3 How to change the output color of echo in Linux #4 How can I symlink a file in Linux? #5 How to change permissions for a folder and its subfolders/files in one step? #6 How can I profile C++ code running on Linux? #7 How do I grep recursively? #8 How can I update NodeJS and NPM to the next versions? #9 How do I delete an exported environment variable? #10 What is ":-!!" in C code?

    Read all the top votes questions and answers in a single page. #1: How do I find all files containing specific text on Linux? (Score: 5956) Created: 2013-06-06 Last updated: 2017-05-21 Tags: linux, text, grep, directory, find I’m trying to find …

    Read more

  • Most votes on kubernetes questions 9

    May 01, 2021 in FAQ

    Most votes on kubernetes questions 9. #81 how to stop/pause a pod in kubernetes #82 How to copy files from kubernetes Pods to local system #83 For a helm chart, what versions are available? #84 Difference between Docker ENTRYPOINT and Kubernetes container spec COMMAND? #85 Kubernetes create deployment unexpected SchemaError #86 How to set dynamic values with Kubernetes yaml file #87 How to merge kubectl config file with ~/.kube/config? #88 kubectl get events only for a pod #89 Pull a local image to run a pod in Kubernetes #90 How to Add Users to Kubernetes (kubectl)?

    Read all the top votes questions and answers in a single page. #81: how to stop/pause a pod in kubernetes (Score: 72) Created: 2019-02-22 Last updated: 2019-10-03 Tags: docker, kubernetes, kubernetes-pod I have a MySQL pod running in my cluster. I …

    Read more

  • Most votes on kubernetes questions 8

    May 01, 2021 in FAQ

    Most votes on kubernetes questions 8. #71 Tell when Job is Complete #72 Privileged containers and capabilities #73 How to gracefully remove a node from Kubernetes? #74 Helm: Incompatible versions between client and server #75 How to delete a node label by command and api? #76 Helm V3 - Cannot find the official repo #77 did you specify the right host or port? error on Kubernetes #78 Replication Controller VS Deployment in Kubernetes #79 Kubernetes Secrets vs ConfigMaps #80 kubectl error You must be logged in to the server (Unauthorized) when accessing EKS cluster

    Read all the top votes questions and answers in a single page. #71: Tell when Job is Complete (Score: 78) Created: 2017-06-21 Last updated: 2019-06-08 Tags: kubernetes, kubectl, kubernetes-jobs I’m looking for a way to tell (from within a …

    Read more

  • Most votes on kubernetes questions 7

    May 01, 2021 in FAQ

    Most votes on kubernetes questions 7. #61 Why StatefulSets? Can't a stateless Pod use persistent volumes? #62 What exactly is a headless service, what does it do/accomplish, and what are some legitimate use cases for it? #63 Helm install unknown flag –name #64 What is command to find detailed information about Kubernetes master(s) using kubectl? #65 What is the meaning of ImagePullBackOff status on a Kubernetes pod? #66 Namespace "stuck" as Terminating, How do I remove it? #67 Kubernetes: Can't delete PersistentVolumeClaim (pvc) #68 Listing all resources in a namespace #69 How to delete all resources from Kubernetes one time? #70 kubernetes list all running pods name

    Read all the top votes questions and answers in a single page. #61: Why StatefulSets? Can't a stateless Pod use persistent volumes? (Score: 84) Created: 2017-01-19 Last updated: 2020-03-18 Tags: kubernetes, kubernetes-statefulset I am trying to …

    Read more

  • Most votes on kubernetes questions 6

    May 01, 2021 in FAQ

    Most votes on kubernetes questions 6. #51 How to retry image pull in a kubernetes Pods? #52 How to automatically remove completed Kubernetes Jobs created by a CronJob? #53 Kubernetes: list all pods and its nodes #54 no matches for kind "Deployment" in version "extensions/v1beta1" #55 How to pull environment variables with Helm charts #56 Kubernetes sort pods by age #57 Kubernetes: how to set VolumeMount user group and file permissions #58 What is the difference between a Kubernetes Controller and a Kubernetes Operator? #59 What is the difference between persistent volume (PV) and persistent volume claim (PVC) in simple terms? #60 How kubectl port-forward works?

    Read all the top votes questions and answers in a single page. #51: How to retry image pull in a kubernetes Pods? (Score: 94) Created: 2016-10-26 Last updated: 2018-08-16 Tags: docker, kubernetes, coreos I am new to kubernetes. I have an issue in the …

    Read more

  • Most votes on kubernetes questions 5

    May 01, 2021 in FAQ

    Most votes on kubernetes questions 5. #41 Kubernetes - sharing secret across namespaces #42 Kubernetes vs. CloudFoundry #43 helm list : cannot list configmaps in the namespace "kube-system" #44 Update k8s ConfigMap or Secret without deleting the existing one #45 Marathon vs Kubernetes vs Docker Swarm on DC/OS with Docker containers #46 pod has unbound PersistentVolumeClaims #47 How do you cleanly list all the containers in a kubernetes pod? #48 How to know a Pod's own IP address from inside a container in the Pod? #49 What will happen to evicted pods in kubernetes? #50 Kubernetes equivalent of env-file in Docker

    Read all the top votes questions and answers in a single page. #41: Kubernetes - sharing secret across namespaces (Score: 117) Created: 2017-09-19 Tags: namespaces, kubernetes Is there a way to share secrets across namespaces in Kubernetes? My use …

    Read more

  • Most votes on kubernetes questions 4

    May 01, 2021 in FAQ

    Most votes on kubernetes questions 4. #31 How can I update a secret on Kubernetes when it is generated from a file? #32 What's the best way to share/mount one file into a pod? #33 My kubernetes pods keep crashing with "CrashLoopBackOff" but I can't find any log #34 How do I access the Kubernetes api from within a pod container? #35 kubectl logs - continuously #36 Kubernetes API - gets Pods on specific nodes #37 How to set multiple commands in one yaml file with Kubernetes? #38 Kubernetes: How do I delete clusters and contexts from kubectl config? #39 How to switch namespace in kubernetes #40 How to create a local development environment for Kubernetes?

    Read all the top votes questions and answers in a single page. #31: How can I update a secret on Kubernetes when it is generated from a file? (Score: 133) Created: 2017-08-25 Last updated: 2020-09-09 Tags: kubernetes, kubectl, kubernetes-secrets …

    Read more

  • Most votes on kubernetes questions 3

    May 01, 2021 in FAQ

    Most votes on kubernetes questions 3. #21 Service located in another namespace #22 How to switch kubectl clusters between gcloud and minikube #23 Multiple environments (Staging, QA, production, etc) with Kubernetes #24 Restart pods when configmap updates in Kubernetes? #25 How to sign in kubernetes dashboard? #26 What does Kubernetes actually do? #27 Restart container within pod #28 Kubernetes Deployments vs StatefulSets #29 Get YAML for deployed Kubernetes services? #30 How do I ssh into the VM for Minikube?

    Read all the top votes questions and answers in a single page. #21: Service located in another namespace (Score: 153) Created: 2016-05-14 Last updated: 2020-01-23 Tags: kubernetes I have been trying to find a way to define a service in one namespace …

    Read more