Linux command
see 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
View
see [filename]
View
see [mime/type]:[filename]
Display
see --norun [filename]
说明
see is an alias for run-mailcap --action=view. It opens files using the appropriate viewer based on MIME type as configured in the mailcap database (~/.mailcap and /etc/mailcap). Each file can be specified as its mime-type, its encoding (e.g. compression), and filename together, separated by colons. If the mime-type is not specified, it is determined from the filename extension using the mime.types database.
参数
- --debug
- Turn on extra information to find out what is happening
- --nopager
- Ignore any "copiousoutput" directive and send output to STDOUT
- --norun
- Display the found command without actually executing it
FAQ
What is the see command used for?
see is an alias for run-mailcap --action=view. It opens files using the appropriate viewer based on MIME type as configured in the mailcap database (~/.mailcap and /etc/mailcap). Each file can be specified as its mime-type, its encoding (e.g. compression), and filename together, separated by colons. If the mime-type is not specified, it is determined from the filename extension using the mime.types database.
How do I run a basic see example?
Run `see [filename]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --debug do in see?
Turn on extra information to find out what is happening