bash 썸네일형 리스트형 [Linux] setup zsh shell # install zshsudo dnf install zsh # install oh-my-zshsudo wget --no-check-certificate http://install.ohmyz.sh -O - | sudo sh # setup zsh to default shellsudo chsh -s /usr/bin/zsh# do this for userchsh -s /usr/bin/zsh # can change zsh setting to ~/.zshrc# can see zsh themes from here https://github.com/robbyrussell/oh-my-zsh/wiki/Themes 더보기 [Linux] 폴더내 파일 인코딩 바꾸기 # filename: euckr2utf8.sh # usage: ./euckr2utf8.sh source target # made by Heesung SHIN (ensual@gmail.com) # #!/bin/bash recurse () { rm -rf $2 echo make the directory $2 mkdir $2 for file in $(ls $1) do name="$1/$file" echo -n "$2/$file" | iconv -fcp949 -tutf8 -o temp # change the encoding of the name of file for newname in $(cat temp) do if [ -d $name ]; then recurse $name $newname else echo c.. 더보기 [Linux] 쉘 프로그래밍 http://www.ibm.com/developerworks/kr/library/l-bash.html 요기서.. 흠..배쉬를 제외하고도 대부분의 자료가 ibm에서 존재하는군.. 더보기 이전 1 2 다음