Mac os sierra dns reset

file, diff, grep, find

file

Get info from file

$ file  <filename>
$ file ~/.bash_profile

diff

Compare two files.

$ diff <file1> <file2>

GREP

usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]] [-e pattern] [-f file] [–binary-files=value] [–color=when] [–context[=num]] [–directories=action] [–label] [–line-buffered] [–null] [pattern] [file …]

IE

$ grep root /etc/passwd
$ grep root /etc/*
$ grep ie /usr/share/dict/words | less

less : space key for next page, b for previous page, q for exit

find

usage: find [-H | -L | -P] [-EXdsx] [-f path] path … [expression] find [-H | -L | -P] [-EXdsx] -f path [path …] [expression]

IE

searching file

$ find <dir> -name <file> -print
$ find /Users/blackdog -name .bash_profile -print

2018

Create Configmap

less than 1 minute read

Create from files kubectl create configmap helm-config-data --from-file=/root/.helm/repository/repositories.yaml -n usernamespace

Back to top ↑

2017

Add Kubernetes secret

less than 1 minute read

How to add secret for image registry kubectl create secret docker-registry rediikey --docker-server=<imagerepourl> --docker-username=<username> -...

Mac os sierra dns reset

less than 1 minute read

Mac os sierra dns reset sudo killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache;

Samsung CNCT의 개발환경 문화 소개

13 minute read

안녕하세요? 최근 연구소에서 개발 센터로 둥지를 옮긴 개발혁신팀 Devops Lab의 김광영 프로라고 합니다. 저는 CICD 셀에서 배포툴을 개발하던 중 Global Exchange Program(이하 GEP)에 선발되어 현재 미국 Seattle의 Cloud Native Com...

Back to top ↑