본문 바로가기

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)

IOS 마운트

mount -o loop file.iso /mnt/tmp

Written by Hojung at 2011-05-04 11:41:51

CIFS 마운트하기

mount -t cifs //server/share /mnt/tmp -o username=user_name,domain=dom_name,iocharset=utf8,file_mode=0644,dir_mode=0755

or

mount -t cifs //server/share /mnt/tmp -o username=user_name <--------- with minimum options

Written by Hojung at 2011-04-28 11:07:08

read-only 파일시스템을 rw로 재마운트

mount -o remount,rw /

Written by Hojung at 2011-02-05 10:11:07

NFS 서버의 nfs share list

showmount -e server_name

Written by Hojung at 2010-07-08 17:11:38

간단 SMB 마운트

smbmount //srv/share /mnt_dir -o username=mywindowusername,password=mywindowpassword

mount -t smbfs //srv/share /mount_dir -o username=mywindowsusername,password=mywindowspassword

wrong type으로 나오면 smbfs 설치
예: # apt-get install smbfs

한글 폴더/파일 이름이 깨져서 나올 경우
-o 옵션에 iocharset=utf8 추가
Written by Hojung at 2010-05-27 09:28:44

디바이스가 busy일 경우 강제 umount

umount -l /dev/sda1

Lazy unmount. Detach the filesystem from the filesystem hierar‐chy now, and cleanup all references to the filesystem as soon as it is not busy anymore. (Requires kernel 2.4.11 or later.)
Written by Hojung at 2010-05-19 12:17:10

간단 NFS 마운트

mount 172.28.71.45:/var/www/html/xe /var/nseweb

Written by Hojung at 2010-05-19 10:39:59

USB 드라이브 마운트하기

mount -t ntfs-3g /dev/sde1 /media/usb -o force

Written by Hojung at 2010-05-19 10:38:21