본문 바로가기

LINUX44

GNU Parallel 20110205 - The FOSDEM Release

LINUX 2015. 3. 11.

Part 2: GNU Parallel script processing and execution

LINUX 2015. 3. 11.

Part 1: GNU Parallel script processing and execution

LINUX 2015. 3. 11.

GNU Parallel

GNU Parallel For people who live life in the parallel lane.GNU parallel is a shell tool for executing jobs in parallel using one or more computers. A job can be a single command or a small script that has to be run for each of the lines in the input. The typical input is a list of files, a list of hosts, a list of users, a list of URLs, or a list of tables. A job can also be a command that reads.. LINUX 2015. 3. 11.

Debian Package 검색 및 ip command 설치하기

Debian Package 검색>https://www.debian.org/distrib/packages#search_contents ip command 가 속한 페키지 설치># apt-get install iproute LINUX 2015. 1. 6.

# dnsdict6

root@kali:/# dnsdict6 --help dnsdict6 v2.5 (c) 2013 by van Hauser / THC www.thc.org Syntax: dnsdict6 [-d4] [-s|-m|-l|-x|-u] [-t THREADS] [-D] domain [dictionary-file] Enumerates a domain for DNS entries, it uses a dictionary file if supplied or a built-in list otherwise. This tool is based on dnsmap by gnucitizen.org. Options: -4 do also dump IPv4 addresses -t NO specify the number of threads to.. LINUX 2014. 11. 26.

MariaDB 10.1 install

Debian GNU/Linux (Wheezy)에 MariaDB 10.1 설치하는 방법 원문 URL : http://goo.gl/zCY1te 1. MariaDB를 설치하기 위한 repo 등록 작업 $ sudo apt-get install python-software-properties $ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db $ sudo add-apt-repository 'deb http://ftp.kaist.ac.kr/mariadb/repo/10.1/debian wheezy main' 2. MarisDB 설치 $ sudo apt-get update $ sudo apt-get install maria.. LINUX 2014. 7. 5.

/etc/ssh/sshd_config, PermitRootLogin

PermitRootLogin Specifies whether root can log in using ssh(1). The argument must be ``yes'', ``without-password'', ``forced-commands-only'', or ``no''. The default is ``yes''. If this option is set to ``without-password'', password authentication is disabled for root. If this option is set to ``forced-commands-only'', root login with public key authentication will be allowed, but only if the co.. LINUX 2014. 5. 21.

SSH Login PROCESS

출처 : # man sshd When a user successfully logs in, sshd does the following: 1. If the login is on a tty, and no command has been specified, prints last login time and /etc/motd (unless prevented in the configuration file or by ~/.hushlogin; see the FILES section). 2. If the login is on a tty, records login time. 3. Checks /etc/nologin; if it exists, prints contents and quits (unless root). 4. Cha.. LINUX 2014. 5. 13.

GNU parallel CentOS 6.x에 설치하기(초간단 버전)

# cd /etc/yum.repos.d/ # wget http://download.opensuse.org/repositories/home:tange/CentOS_CentOS-6/home:tange.repo # yum install parallel LINUX 2014. 2. 18.

Ubuntu용 ntsysv

ubuntu에서 부팅시 시작되는 서비스를 제어하기 위해 사용하는 툴이다. $ sudo apt-get install sysv-rc-conf $ sudo sysv-rc-conf LINUX 2014. 2. 10.

Linux system stress tool

URL : http://people.seas.harvard.edu/~apw/stress/ stress stress is a deliberately simple workload generator for POSIX systems. It imposes a configurable amount of CPU, memory, I/O, and disk stress on the system. It is written in C, and is free software licensed under the GPLv2. LINUX 2014. 2. 8.

SYSTEMTAP

Overview SystemTap provides free software (GPL) infrastructure to simplify the gathering of information about the running Linux system. This assists diagnosis of a performance or functional problem. SystemTap eliminates the need for the developer to go through the tedious and disruptive instrument, recompile, install, and reboot sequence that may be otherwise required to collect data. SystemTap .. LINUX 2014. 2. 8.

nmon for Linux

nmon은 리눅스 시스템의 성능 정보를 분석할 수 있도록 도와주는 툴이다. stress 툴과 함께 시스템 분석시 활용하면 좋을 것이다. 참고 URL : http://nmon.sourceforge.net/pmwiki.php 1. Installing RPMforge 참고 URL : http://wiki.centos.org/AdditionalResources/Repositories/RPMForge?highlight=%28Installing%29%7C%28RPMforge%29 2. Install nmon # yum -y install nmon LINUX 2014. 1. 27.

이미 설치된 패키지 질의

* rpm -qa -> 시스템에 패키지가 설치되었는지 확인 * rpm -qf -> 이미 설치된 파일이 어느 패키지에 포함된 것인지 확인 * rpm -ql -> 특정 패키지에 어떤 파일들이 포함되었는지 확인 * rpm -qi -> 설치된 패키지의 상세 정보 # rpm -qa ntp ntp-4.2.6p5-1.el6.centos.x86_64 # rpm -qf /etc/ntp.conf ntp-4.2.6p5-1.el6.centos.x86_64 # rpm -ql ntp /etc/dhcp/dhclient.d /etc/dhcp/dhclient.d/ntp.sh /etc/ntp.conf /etc/ntp/crypto /etc/ntp/crypto/pw /etc/rc.d/init.d/ntpd /etc/sysconfig/ntpd.. LINUX 2014. 1. 22.

bash shortcuts (단축키)

인터넷에 공개된 내용을 정리했음. 쉘 상에서 실행중인 프로그램 제어 단축키 •Ctrl-C - 실행 중인 프로그램 중지 •Ctrl-Z - 실행 중인 프로그램 일시 정지 •% - 일시 정지된 프로그램 다시 실행 bash 상에서 emacs 입력모드일 경우(default) 단축키 •Tab - 자동 완성 •Ctrl-D - 글자 없을땐 로그 아웃 , 커서위치 다음 문자 지움 •Ctrl-R - 히스토리 찾기 •Ctrl-S - 키보드 잠그기 •Ctrl-Q - 잠긴 키보드 풀기 •Ctrl-M - Enter •Ctrl-P - 이전 명령어 (Up) •Ctrl-N - 다음 명령어 (Down) •Ctrl-I - 화면 지우기 (clear) •Ctrl-Y - 버퍼의 내용 붙여넣기 •Ctrl-A - 입력 라인의 처음으로 이동 (Ho.. LINUX 2014. 1. 21.

NTP Server, Client 구축

참고 URL : http://annyung.oops.org/?m=white&p=ntp 1. 구축 구성도(간단) 실제 구축 대상은 Stratum3, peer 이다. 2. Stratum3, NTP 설치 # yum -y install ntp 3. Stratum3, ntp.conf 설정 # vi /etc/ntp.conf ... restrict default nomodify notrap noquery restrict 127.0.0.1 restrict -6 ::1 restrict 59.*.*.0 mask 255.255.255.0 nomodify notrap server time.bora.net server ntp1.epidc.co.kr server time2.kriss.re.kr server time.wonkwan.. LINUX 2014. 1. 21.

[FreeBSD] 프비에서 쉘(SHELL) 변경하기

chsh -- add or change user data-base information # chsh --help chsh: illegal option -- - usage: chpass [-d domain] [-h host] [-a list] [-p encpass] [-s shell] [-e mmm dd yy] [user] # # chsh -s /usr/local/bin/bash root chsh: user information updated # LINUX 2013. 10. 28.

ext3와 ext4 파일 시스템에서 삭제한 파일을 복구하는 방법

원문 : https://code.google.com/p/ext3grep/ ext3grep A tool to investigate an ext3 file system for deleted content and possibly recover it. LINUX 2013. 10. 22.

맨페이지 출력

# man [명령어] | col -b | cat * col - filter reverse line feeds from input * -b - Do not output any backspaces, printing only the last character written to each column position. LINUX 2013. 10. 22.
반응형