레이블이 exa인 게시물을 표시합니다. 모든 게시물 표시
레이블이 exa인 게시물을 표시합니다. 모든 게시물 표시

ls dot file with glob, create/delete dash file

# .(dot, hidden) 파일을 *(glob) 으로 bak 으로 끝나는 파일을 조회시
# 다음과 같이 하면 조회가 안된다.
ls *bak
zsh: no matches found: *bak
# 모든 파일 보기 옵션인 -a 옵션을 사용해도 glob 으로는 안된다.
ls -a *bak
zsh: no matches found: *bak

# . 파일을 glob 으로 조회할때면 다음과 같이 . 으로 시작한 후 glob 을 사용해야 한다.
ls .*bak
exa .*bak
lsd .*bak

#####

# dash('-') 로 시작하는 파일명 생성
# -- 이후부터는 - 옵션이 없음
touch -- '-a -b -c'

# 또는
touch ./'-a -b -c'

# - 로 시작하는 파일명 삭제
rm -- '-a -b -c'

# 또는
rm ./'-a -b -c'

rust cli tools

# xNix 전통 command 를 대체하는 rust 로 만든 command tools
time(벤치마크) - hyperfine(https://github.com/sharkdp/hyperfine)

# 그 밖에 유용한 툴
터미널 에뮬레이터 alacritty(https://github.com/alacritty/alacritty)
정규표현식 생성기 grex(https://github.com/pemistahl/grex)
코드 통계 보기 tokei(https://github.com/XAMPPRocky/tokei)
git diff 툴 git-delta(https://github.com/dandavison/delta)

# golang 경쟁? 툴