Linux command
conv 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Convert a value
conv [100f]
Convert metres to other distance units
conv [50m]
Convert weight
conv [75kg]
Convert data transfer speed
conv [100mbps]
Display help
conv --help
说明
conv is a lightweight, self-contained terminal utility for converting everyday units of measurement. A value and its unit abbreviation are written together as a single argument (e.g. `100f` for 100 degrees Fahrenheit), and conv prints the equivalent values in all other units of the same category. Supported categories and their abbreviations: - Temperature: c (Celsius), f (Fahrenheit) - Distance: cm (centimetres), ft (feet), in (inches), km (kilometres), m (metres), mi (miles), nm (nautical miles), yd (yards) - Weight: ct (carats), g (grams), kg (kilograms), oz (ounces), lb (pounds), st (stone) - Volume: cum (cubic metres), l (litres), guk (imperial gallons), gus (US gallons) - Speed: kmh (km/h), kn (knots), mph (miles per hour), mps (metres per second) - Data rate: bps, kbps, mbps (bits per second family); bs, kbs, mbs (bytes per second family) - Power: hp (horsepower), w (watts) - Other: bbl (petroleum barrels)
参数
- -h, --help
- Display help information and list all supported unit abbreviations.
- -v, --version
- Display version information.
FAQ
What is the conv command used for?
conv is a lightweight, self-contained terminal utility for converting everyday units of measurement. A value and its unit abbreviation are written together as a single argument (e.g. `100f` for 100 degrees Fahrenheit), and conv prints the equivalent values in all other units of the same category. Supported categories and their abbreviations: - Temperature: c (Celsius), f (Fahrenheit) - Distance: cm (centimetres), ft (feet), in (inches), km (kilometres), m (metres), mi (miles), nm (nautical miles), yd (yards) - Weight: ct (carats), g (grams), kg (kilograms), oz (ounces), lb (pounds), st (stone) - Volume: cum (cubic metres), l (litres), guk (imperial gallons), gus (US gallons) - Speed: kmh (km/h), kn (knots), mph (miles per hour), mps (metres per second) - Data rate: bps, kbps, mbps (bits per second family); bs, kbs, mbs (bytes per second family) - Power: hp (horsepower), w (watts) - Other: bbl (petroleum barrels)
How do I run a basic conv example?
Run `conv [100f]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -h, --help do in conv?
Display help information and list all supported unit abbreviations.