Skip to content

Instantly share code, notes, and snippets.

View hcutcu's full-sized avatar
🏠
Working from home

Hasan Cutcu hcutcu

🏠
Working from home
View GitHub Profile
@hcutcu
hcutcu / install-kind-ubuntu
Created August 2, 2022 13:38
installing Kind on Ubuntu/WSL
// https://kind.sigs.k8s.io/docs/user/quick-start/
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.8.1/kind-linux-amd64
chmod +x ./kind
sudo mv ./kind /usr/local/bin
@hcutcu
hcutcu / nslookup-linux.sh
Last active June 22, 2022 12:08
nslookup - get the mapping between domain name and IP address
#install if nslookup command is not found
sudo yum install -y bind-utils
#get the mapping
nslookup test.hasancutcu.com
@hcutcu
hcutcu / stress.sh
Last active June 21, 2022 18:17 — forked from mikepfeiffer/stress.sh
Install Stress Utility on Amazon Linux 2
#install stress to Amazon Linux 2
sudo amazon-linux-extras install epel -y
sudo yum install stress -y
#then stress 4 cpu units
stress -c 4
@hcutcu
hcutcu / ls-directories-first
Last active May 1, 2022 19:07
alias for ls command to listing directories first
alias ls='LC_COLLATE=C ls -h --group-directories-first --color=auto'