350个linux命令详解(3)
2008-02-23 07:27:50来源:互联网 阅读 ()
搜索属于user1的文件和目录
在/home/user1目录内搜索包含有.bin的文件
搜索100天未用的文件
搜索10天内创建或更改的文件
搜索带有修改属性的.rpm的文件
搜索全属性的.rpm的文件
搜索扩展名为.ps的文件
- 需要先运行updatedb命令
搜索halt的路径
取得halt列表并寻找当halt作为命令给定时所运行的文件
| COMMAND 命令 | DESCRIPTION 注解 |
| Mounting a Filesystem 挂载文件系统 | |
| mount /dev/hda2 /mnt/hda2 | mount disk called hda2 - verify existence of the directory '/ mnt/hda2' 挂载名为hda2的硬盘设备 |
| umount /dev/hda2 | unmount disk called hda2 - exit from mount point '/ mnt/hda2' first 取消挂载名为hda2的硬盘设备 |
| fuser -km /mnt/hda2 | force umount when the device is busy 强行取消挂载设备 |
| umount -n /mnt/hda2 | run umount without writing the file /etc/mtab - useful when the file is read-only or the hard disk is full 不记录挂载信息直接取消挂载 - 当硬盘为只读或硬盘已满时很实用 |
| mount /dev/fd0 /mnt/floppy | mount a floppy disk 挂载软盘 |
| mount /dev/cdrom /mnt/cdrom | mount a cdrom / dvdrom 挂载CDrom或DVDrom |
| mount /dev/hdc /mnt/cdrecorder | mount a cdrw / dvdrom 挂载CD-RW或DVDrom |
| mount /dev/hdb /mnt/cdrecorder | mount a cdrw / dvdrom 挂载CD-RW或DVDrom |
| mount -o loop file.iso /mnt/cdrom | mount a file or iso image 挂载一个文件或ISO光盘镜像 |
| mount -t vfat /dev/hda5 /mnt/hda5 | mount a Windows FAT32 file system 挂载windows FAT32文件系统 |
| mount /dev/sda1 /mnt/usbdisk | mount a usb pen-drive or flash-drive 挂载USB闪存设备 |
| mount -t smbfs -o username=user,password=pass //winclient/share /mnt/share | mount a windows network share 挂载windows网络共享 |
| linux commands line v1.0 - LinuxGuide.it linux命令详解翻译 - moon-blog.cn | |
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash
