# ./check_top_load.sh -bash: ./check_top_load.sh: /bin/bash^M: bad interpreter: No such file or directory # dos2unix check_top_load.sh dos2unix: converting file check_top_load.sh to UNIX format ...
1. 현재 디렉토리에서 특정 파일을 제외한 나머지 중에서 isbyeon을 문자열을 검색$ grep --exclude="test" isbyeon *
사용 예# hostnameisbyeon.local### /tmp/allhosts파일에서 isbyeon.tistory.com을 hostname으로 변경# sed -i -e "s/isbyeon.tistory.com/hostname/g" /tmp/alllhosts ### /tmp/allhosts파일에서 isbyeon.tistory.com을 현재 hostname(isbyeon.local)으로 변경# sed -i -e s/isbyeon.tistory.com/`hostname`/g /tmp/allhosts
홈페이지 : ruby-lang.org다운로드 : ftp://ftp.ruby-lang.org/pub/ruby/# cd /usr/local/src/# wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.tar.bz2# tar jxvfp ruby-1.9.3-p374.tar.bz2# cd ruby-1.9.3-p374# ./configure --prefix=/share/apps/ruby-1.9.3 && make && make install
홈페이지 : http://groovy.codehaus.org/다운로드 : http://dist.groovy.codehaus.org/distributions/ ※ 설치# cd /share/apps# wget http://dist.groovy.codehaus.org/distributions/groovy-binary-2.0.6.zip# unzip groovy-binary-2.0.6.zip ※ 테스트# cd /tmp# cat > hello.groovyprintln "hello, world" for (arg in this.args ) { println "Argument:" + arg;} # /share/apps/groovy-2.0.6/bin/groovy hello.groovy hello, world # /shar..
홈페이지 : http://www.oracle.com/technetwork/java/index.htmlDownloads : jdk-7u11-linux-x64.tar.gz # cd /share/apps # tar zxvfp jdk-7u11-linux-x64.tar.gz# cd jdk1.7.0_11# export PATH=$PATH:/share/apps/jdk/bin/
최근댓글