日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

350個(gè)linux命令詳解( 二 )


文件搜索find / -name file1search file and directory into root filesystem from "/"
在 / 目錄中搜索文件或目錄find / -user user1search files and directories belonging to "user1"
搜索屬于user1的文件和目錄find /home/user1 -name *.binsearch files with ". bin" extension within directory "/ home/user1"
在/home/user1目錄內(nèi)搜索包含有.bin的文件find /usr/bin -type f -atime100search bynary files are not used in the last 100 days
搜索100天未用的文件find /usr/bin -type f -mtime -10search files created or changed within 10 days
搜索10天內(nèi)創(chuàng)建或更改的文件find / -name *.rpm -exec chmod 755 {} ;search files with ".rpm" extension and modify permits
搜索帶有修改屬性的.rpm的文件find / -name *.rpm -xdevsearch files with ".rpm" extension ignoring removable partitions as cdrom, pen-drive, etc.…
搜索全屬性的.rpm的文件locate *.psfind files with the ".ps" extension - first run "updatedb" command
搜索擴(kuò)展名為.ps的文件
- 需要先運(yùn)行updatedb命令whereis haltshow location of a binary file,source or man
搜索halt的路徑which haltshow full path to a binary / executable
取得halt列表并尋找當(dāng)halt作為命令給定時(shí)所運(yùn)行的文件linux commands line v1.0 - LinuxGuide.it linux命令詳解翻譯 - moon-blog.cn
COMMAND 命令DESCRIPTION 注解Mounting a Filesystem
掛載文件系統(tǒng)mount /dev/hda2 /mnt/hda2mount disk called hda2 - verify existence of the directory "/ mnt/hda2"
掛載名為hda2的硬盤設(shè)備umount /dev/hda2unmount disk called hda2 - exit from mount point "/ mnt/hda2" first
取消掛載名為hda2的硬盤設(shè)備fuser -km /mnt/hda2force umount when the device is busy
強(qiáng)行取消掛載設(shè)備umount -n /mnt/hda2run umount without writing the file /etc/mtab - useful when the file is read-only or the hard disk is full
不記錄掛載信息直接取消掛載
- 當(dāng)硬盤為只讀或硬盤已滿時(shí)很實(shí)用mount /dev/fd0 /mnt/floppymount a floppy disk
掛載軟盤mount /dev/cdrom /mnt/cdrommount a cdrom / dvdrom
掛載CDrom或DVDrommount /dev/hdc /mnt/cdrecordermount a cdrw / dvdrom
掛載CD-RW或DVDrommount /dev/hdb /mnt/cdrecordermount a cdrw / dvdrom
掛載CD-RW或DVDrommount -o loop file.iso /mnt/cdrommount a file or iso image
掛載一個(gè)文件或ISO光盤鏡像mount -t vfat /dev/hda5 /mnt/hda5mount a Windows FAT32 file system
掛載windows FAT32文件系統(tǒng)mount /dev/sda1 /mnt/usbdiskmount a usb pen-drive or flash-drive
掛載USB閃存設(shè)備mount -t smbfs -o username=user,password=pass //winclient/share /mnt/sharemount a windows network share
掛載windows網(wǎng)絡(luò)共享linux commands line v1.0 - LinuxGuide.it linux命令詳解翻譯 - moon-blog.cn

推薦閱讀