Chinaunix

标题: Linux系统管理命令 [打印本页]

作者: wind998899    时间: 2009-04-02 13:56
标题: Linux系统管理命令

1.Linux连接windows的共享(即Samba连接)(1)mount -t smbfs -o username=,password=  ///  
如:mount -o smbfs -o
iocharset=uft8,codepage=cp936,clmask=777,fmask=777,userneme=,password=
//192.168.16.2/nfs/share /mnt/nfs
(2)编辑/etc/fstab添加:  ///      smbfs    default,username=,password=,codepage=cp936,iocharset=cp911 0 0

2.mount

加载光盘:mount /dev/[cdrom |cdrecorder] /mnt
加载iso文件:mount –o loop /xxx.iso /mnt
加载网络文件夹:mount 192.168.0.254:var/ftp/pub /mnt
加载usb设备:mount –t vfat /dev/sdb1 /mnt/usb
              mount –t usb  /dev/sdb1 /mnt
加载网络文件系统:
             mount –t nfs 192.168.153/var/public /public


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/94238/showart_1888552.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2