본문 바로가기

Hojung's Command List

Total Commands : 232

 (e)grep (6)
 * find large files (2)
 * System info (12)
 * Term Key (8)
 * use previous argu (1)
 *CD/DVD cmd (5)
 *DNS test (4)
 ab (2)
 apg (1)
 arping (4)
 at (1)
 awk (1)
 cal (2)
 cd and pushd (3)
 crontab (7)
 curl (4)
 dd (1)
 dhclient (1)
 dig (2)
 du (1)
 echo (1)
 editcap (1)
 ethtool (2)
 find (20)
 head (1)
 history (1)
 host (1)
 hping3 (6)
 ifconfig (3)
 lftp (1)
 logger (1)
 ls (2)
 lsof (2)
 mail (2)
 man (1)
 mergecap (1)
 mount (8)
 nc (netcat) (1)
 ncftpput (1)
 netcat(nc) (1)
 netstat (1)
 nice (2)
 nl (1)
 nmap (5)
 ntpdate (1)
 openssl (15)
 ping (1)
 pkill (1)
 ps (2)
 rar (1)
 recode (6)
 rename (3)
 rm (1)
 route (2)
 rpm (4)
 sed (4)
 smb (3)
 snmpwalk (2)
 sort (4)
 ssh (1)
 tar (6)
 tcpdump (10)
 top (1)
 touch (2)
 uniq (1)
 vi (11)
 wall (2)
 wget (3)
 yum (5)
 zip/unzip (6)

/dev/sdX로 하드 디스크 슬롯번호 체크

fdisk -l | grep "Disk /dev/" | nl -v0

# fdisk -l | grep "Disk /dev/" | nl -v0
0 Disk /dev/sda: 500.1 GB, 500107862016 bytes
1 Disk /dev/sdb: 500.1 GB, 500107862016 bytes
2 Disk /dev/sdc: 500.1 GB, 500107862016 bytes
3 Disk /dev/sdd: 500.1 GB, 500107862016 bytes
4 Disk /dev/sde: 500.1 GB, 500107862016 bytes
5 Disk /dev/sdf: 500.1 GB, 500107862016 bytes
6 Disk /dev/sdg: 500.1 GB, 500107862016 bytes
7 Disk /dev/sdh: 500.1 GB, 500107862016 bytes
8 Disk /dev/sdi: 500.1 GB, 500107862016 bytes
9 Disk /dev/sdj: 500.1 GB, 500107862016 bytes
10 Disk /dev/sdk: 500.1 GB, 500107862016 bytes
11 Disk /dev/sdl: 500.1 GB, 500107862016 bytes
12 Disk /dev/sdm: 500.1 GB, 500107862016 bytes
13 Disk /dev/sdn: 500.1 GB, 500107862016 bytes
14 Disk /dev/sdo: 500.1 GB, 500107862016 bytes
15 Disk /dev/sdp: 500.1 GB, 500107862016 bytes
16 Disk /dev/sdq: 2061 MB, 2061500416 bytes
Written by Hojung at 2010-11-23 14:47:52