본문 바로가기
공부하는 하스씨/Linux

Fedora Core 서버 기본 명령어들.

by 박하스. 2008. 11. 10.
728x90
반응형

ㅁ 패키지 설치 여부 확인
rpm -qa | grep 정규표현식

ㅁ 포트 현황 확인
nmap localhost


ㅁ Shell redirection
구글에서 shell redirection을 검색해봤더니 나왔습니다.

Send stdout to file
> file
Send stderr to file
2> file
Send both to file
> file 2>&1

Append stdout to file
>> file
Append stderr to file
2>> file
Append both to file
>> file 2>&1

Pipe stdout to P2
| prog2
Pipe both to P2
2>&1 | P2

Take stdin from file
< file
Read stdin from kbd until c
<< c

728x90
반응형

'공부하는 하스씨 > Linux' 카테고리의 다른 글

samba 서버 설치  (0) 2008.11.10
SSH 쉘 한글 문자셋 설정법  (0) 2008.11.10
루트킷 #4  (0) 2008.10.11
루트킷 #3  (0) 2008.10.11
루트킷 #2  (0) 2008.10.11