Aside from the printer-specific options reported by the lpoptions(1) command, the following generic options are available: 除了lpoptions(1)命令报告的打印机特定选项外,还提供以下通用选项: -o collate=true Prints collated copies. 打印已校对的副本 -o fit-to-page Scales the print file to fit on th...
Not only can a programmer use regular file operations to work with a device, but some devices are also accessible to standard programs like cat, so you don’t have to be a programmer to use a device. However, there is a limit to what you can do with a file interface, so not all d...
enscripttext-file Thelpcommandcan print a plain text file to a printer. My favoritecommand: cattext-file | lp -o media=a4 -o cpi=12-o lpi=7.2-o page-left=48-o page-right=48-o page-top=48-o page-bottom=48 It is better to put the options into a script....
Used to find and replace text in a file(s). Linux Commands – B Command Description badblocks Search a disk partition for bad sectors. banner Used to print characters as a poster. basename Used to display filenames with directoy or suffix. bash GNU Bourne-Again Shell. batch Used to run ...
head file 只看头几行 tail file 只看尾巴几行 nl file 显示的时候,顺道输出 行号! od file 以二进制的方式读取文件内容! gzip 压缩 zaa.zip 文件名称 -r aa.zip 目录路径 代表压缩目录 -m代表删除源文件 unzip 解压缩 -x abc 排除abc文件外 其他都解压 ...
CUPS stands for Common UNIX Printing System. lpadmin is a command line tool used to configure printer and class queues provided by CUPS. A system running CUPS is a host that can accept print jobs from client computers, process them, and send them to the
To print any document file: Enter lpr <file_name> from the Linux shell command line and press Enter. The LPR GUI window appears. When you type only lpr and press Enter, the Select file(s) to print window appears first. Just select any files you want to print and click Open. In the...
# Test if enough command-line arguments where specified if test $# != 3 then echo "To few command-line arguments specified" echo "Usage:" echo " $0 TFF DATAFILE PRINTER" exit 1 fi # make a temporary file name PRINTFILE=`mktemp /tmp/tfprint.$$.XXXXXX` ...
Red Hat continues to support the usage of the yum term for consistency with previous major versions of RHEL. If you type dnf instead of yum, the command works as expected because both are aliases for compatibility. Although RHEL 8 and RHEL 9 are based on DNF, they are compatibl...
Red Hat Enterprise Linux 4 System Administration Guide Copyright© 2005 Red Hat, Inc. ISBN: N/A Table of Contents Introduction I.Installation-Related Information II.File Systems IV.Network-Related Configuration VI.System Monitoring Index Colophon...