목록Computer/Linux (58)
고독을 즐기는 진정한 아웃사이더
(원문 그대로 올립니다)When you think of implementing virtual servers, either because you need to cope with a higher load or to provide enhanced reliability, you face a new problem: how to avoid making the load balancers (or directors) the bottleneck and the single point of failure for the whole architecture. And there is an associated cost with traditional load balancing as you also need to add one (or b..
freeware ssh client 인 putty 에서 자동로그인 하는 방법입니다.putty.exe -ssh root@192.168.1.1 -pw password위와 같이 -pw 옵션을 주고 패스워드를 적어주시면 됩니다. telnet 과 rlogin 은 지원하지 않습니다.ssh 로 자동으로 접속해서 명령어까지 자동으로 실행하려면 putty 패키지에 있는 plink.exe 를 사용하시면 됩니다.plink.exe -ssh root@192.168.1.1 -pw password 명령어단축 아이콘으로 만들어 두면 더 편하겠죠?
xxxx.src.rpm 빌드하는 방법입니다.sysstat-5.0.5-1.src.rpm 를 예로 들어 설명합니다.1. rpm -ivh sysstat-5.0.5-1.src.rpm 2. cd /usr/src/redhat/SPECS 3. rpmbuild -bb sysstat.spec4. cd /usr/src/redhat/RPMS/i3865. rpm -ivh sysstat-5.0.5-1.i386.rpm
일정 시간마다 특정 명령어를 반복적으로 실행하는 방법입니다. while true; do date; sleep 60; done date 자리에 실행할 명령어를60 자리에 시간 간격 (초단위)로 입력하심 됩니다
Eight Ways to Reverse a FileEd Schaefer and John Spurgeon In this article, we present eight ways to reverse a file. Suppose the data file contains the following: 1. There 2. is 3. more 4. than 5. one 6. way 7. to 8. skin 9. a 10. cat We just want to reverse it to: 10. cat 9. a 8. skin 7. to 6.way 5. one 4. than 3. more 2. is 1. There This is a simple problem, so why do we present eight methods f..
출처: http://www.student.northpark.edu/pemente/sed/sed1line52.txt-------------------------------------------------------------------------HANDY ONE-LINERS FOR SED (Unix stream editor) Feb. 12, 2003compiled by Eric Pement version 5.2Latest version of this file is usually at: http://www.student.northpark.edu/pemente/sed/sed1line.txt http://www.cornerstonemag.com/sed/sed1line.txtThis file is also ava..
Linux Explorer 는 리눅스의 시스템 정보를 모아서 백업해주는 툴입니다. /etc/ 폴더를 비롯해서 여기저기 흩어져 있는 중요한 정보 파일들을 한데 모아서 보여주기 때문에 시스템의 상황을 알기에도 좋고 .tar.gz 파일로 백업해 주므로 만약의 경우에 대비하기에도 좋습니다. http://www.unix-consultants.co.uk/examples/scripts/linux/linux-explorer/
#!/bin/sh ############################################################# # This gives basic sysinfo ############################################################ echo "The System-Hostname=`hostname`" echo "The System-Uptime= `uptime|awk '{ print $3,$4,$5 }'`" sm=`prtconf -pv|grep banner-name|awk -F"'" '{ print $2 }'` echo "The system-make=$sm" mm=`prtconf -pv|grep Mem|awk ' { print $3,$4 }'` echo ..