⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 linux commands line.htm

📁 学习下linux哈哈。大家啊看看。
💻 HTM
📖 第 1 页 / 共 5 页
字号:
                                <TR height=17>
                                <TD height=17><SPAN class=Stile36 style3>cp -a dir1 
                                dir2</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>copy a directory</TD></TR>
                                <TR height=17>
                                <TD width=376 height=17><SPAN class=Stile36 style3>ln 
                                -s file1 lnk1&nbsp;</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>create a symbolic link to file 
                                or directory</TD></TR>
                                <TR height=17>
                                <TD height=17><SPAN class=Stile36 style3>ln file1 
                                lnk1</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>create a physical link to file 
                                or directory</TD></TR>
                                <TR height=17>
                                <TD width=376 height=17><SPAN 
                                class=Stile36 style3>touch -t 0712250000 
                                fileditest</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>modify timestamp of a file or 
                                directory - (YYMMDDhhmm)</TD></TR>
                                <TR height=17>
                                <TD align=middle colSpan=2 height=17><SPAN 
                                class=Stile20 style3>linux commands line v1.0 - 
                                LinuxGuide.it </SPAN></TD></TR>
                                <TR height=17>
                                <TD bgColor=#000000 colSpan=2 height=17><SPAN 
                                class=titolo_cmdline style3>File search 
                                </SPAN></TD></TR>
                                <TR height=17>
                                <TD height=17><SPAN class=Stile36 style3>find / -name 
                                file1</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>search file and directory into 
                                root filesystem from '/'</TD></TR>
                                <TR height=17>
                                <TD width=376 height=17><SPAN class=Stile36 style3>find 
                                / -user user1</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>search files and directories 
                                belonging to 'user1'</TD></TR>
                                <TR height=17>
                                <TD width=376 height=17><SPAN class=Stile36 style3>find 
                                /home/user1 -name *.bin</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>search files with '. bin' 
                                extension within directory '/ 
                                home/user1'&nbsp;</TD></TR>
                                <TR height=17>
                                <TD width=376 height=17><SPAN class=Stile36 style3>find 
                                /usr/bin -type f -atime +100</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>search bynary files are not used 
                                in the last 100 days</TD></TR>
                                <TR height=17>
                                <TD height=17><SPAN class=Stile36 style3>find /usr/bin 
                                -type f -mtime -10</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>search files created or changed 
                                within 10 days</TD></TR>
                                <TR height=17>
                                <TD width=376 height=17><SPAN class=Stile36 style3>find 
                                / -name *.rpm -exec chmod 755 {} ;</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>search files with '.rpm' 
                                extension and modify permits</TD></TR>
                                <TR height=29>
                                <TD height=29><SPAN class=Stile36 style3>find / -name 
                                *.rpm -xdev</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>search files with&nbsp; '.rpm' 
                                extension ignoring removable partitions as 
                                cdrom, pen-drive, etc.…</TD></TR>
                                <TR height=17>
                                <TD height=17><SPAN class=Stile36 style3>locate 
                                *.ps</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>find files with the '.ps' 
                                extension - first run 'updatedb' 
                                command</TD></TR>
                                <TR height=17>
                                <TD height=17><SPAN class=Stile36 style3>whereis 
                                halt</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>show location of a binary file, 
                                source or man</TD></TR>
                                <TR height=17>
                                <TD height=17><SPAN class=Stile36 style3>which 
                                halt</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>show full path to a binary / 
                                executable</TD></TR>
                                <TR height=17>
                                <TD align=middle colSpan=2 height=17><SPAN 
                                class=Stile20 style3>linux commands line v1.0 - 
                                LinuxGuide.it </SPAN></TD></TR>
                                <TR height=17>
                                <TD bgColor=#000000 colSpan=2 height=17><SPAN 
                                class=titolo_cmdline style3>Mounting a Filesystem 
                                </SPAN></TD></TR>
                                <TR height=29>
                                <TD height=29><SPAN class=Stile36 style3>mount 
                                /dev/hda2 /mnt/hda2</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>mount disk called hda2 - verify 
                                existence of the directory '/ 
mnt/hda2'</TD></TR>
                                <TR height=29>
                                <TD height=29><SPAN class=Stile36 style3>umount 
                                /dev/hda2</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>unmount disk called hda2 - exit 
                                from mount point '/ mnt/hda2' first</TD></TR>
                                <TR height=17>
                                <TD height=17><SPAN class=Stile36 style3>fuser -km 
                                /mnt/hda2</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>force umount when the device is 
                                busy</TD></TR>
                                <TR height=29>
                                <TD height=29><SPAN class=Stile36 style3>umount -n 
                                /mnt/hda2</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>run umount without writing the 
                                file /etc/mtab - useful when the file is 
                                read-only or the hard disk is full</TD></TR>
                                <TR height=17>
                                <TD height=17><SPAN class=Stile36 style3>mount /dev/fd0 
                                /mnt/floppy</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>mount a floppy disk</TD></TR>
                                <TR height=17>
                                <TD height=17><SPAN class=Stile36 style3>mount 
                                /dev/cdrom /mnt/cdrom</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>mount a cdrom / dvdrom</TD></TR>
                                <TR height=17>
                                <TD height=17><SPAN class=Stile36 style3>mount /dev/hdc 
                                /mnt/cdrecorder</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>mount a cdrw / dvdrom</TD></TR>
                                <TR height=17>
                                <TD height=17><SPAN class=Stile36 style3>mount /dev/hdb 
                                /mnt/cdrecorder</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>mount a cdrw / dvdrom</TD></TR>
                                <TR height=17>
                                <TD height=17><SPAN class=Stile36 style3>mount -o loop 
                                file.iso /mnt/cdrom</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>mount a file or iso 
                                image</TD></TR>
                                <TR height=17>
                                <TD height=17><SPAN class=Stile36 style3>mount -t vfat 
                                /dev/hda5 /mnt/hda5</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>mount a Windows FAT32 file 
                                system</TD></TR>
                                <TR height=17>
                                <TD height=17><SPAN class=Stile36 style3>mount 
                                /dev/sda1 /mnt/usbdisk</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>mount a usb pen-drive or 
                                flash-drive</TD></TR>
                                <TR height=17>
                                <TD height=17><SPAN class=Stile36 style3>mount -t smbfs 
                                -o username=user,password=pass //winclient/share 
                                /mnt/share</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>mount a windows network 
                                share</TD></TR>
                                <TR height=17>
                                <TD align=middle colSpan=2 height=17><SPAN 
                                class=Stile20 style3>linux commands line v1.0 - 
                                LinuxGuide.it </SPAN></TD></TR>
                                <TR height=17>
                                <TD bgColor=#000000 colSpan=2 height=17><SPAN 
                                class=titolo_cmdline style3>Disk Space 
</SPAN></TD></TR>
                                <TR height=17>
                                <TD height=17><SPAN class=Stile36 style3>df 
                                -h</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>show list of partitions 
                                mounted</TD></TR>
                                <TR height=17>
                                <TD height=17><SPAN class=Stile36 style3>ls -lSr 
                                |more</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>show size of the files and 
                                directories ordered by size</TD></TR>
                                <TR height=17>
                                <TD height=17><SPAN class=Stile36 style3>du -sh 
                                dir1</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>estimate space used by directory 
                                'dir1'</TD></TR>
                                <TR height=17>
                                <TD width=376 height=17><SPAN class=Stile36 style3>du 
                                -sh * | sort -rn&nbsp;</SPAN></TD>
                                <TD width=387 
                                bgColor=#e0e0e0 class=descrizione style3>show size of the files and 
                                directories sorted by size</TD></TR>
                                <TR height=29>
                                <TD height=29><SPAN class=Stile36 style3>rpm -q -a --qf 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -