I really enjoy using a command-line interface instead of a graphical user interface, and was wondering if anyone had any solid recommendations for applications that one can use in a terminal window.
Some great contributions here ... some that are missing (or at least scarce) which deserve more attention:
units - for a broad range of conversions without having to resort to Wolfram Alpha or a search engine bc -l - the -l option really empowers this awesome little calculator. mpv - awesome media player - point it at a media URL (it uses youtube-dl in the background, so perfect for viewing or listening with no ads,) but can also play from open directories / SMB shares, online radio, Play a series of images as video, Access any FFmpeg/Libav libavformat protocol or filter (including generating tones and images, and more. And once it's playing, has great interactive keyboard controls for many useful functions.
Agreed. >bc -l - the -l option really empowers this awesome little calculator. Right. Since bc is a Unix filter, you can also pipe expressions into it, to be evaluated, so it can be used in general Unix pipelines. E.g.:
echo *arithmetic_expression* | bc -l
and the output comes on stdout, so it can be further piped.
Edit: You have to quote any shell special characters in arithmetic_expression with single quotes, or better, just enclose the entire arithmetic_expression in single quotes. If asterisk (for multiplication) is not quoted, for example, it will be treated as a filename wildcard instead, and likely lead to an error. A wrong and a right example:
Comments (385) 158 threads
Show all comments
Showing thread 9 of 158
units - for a broad range of conversions without having to resort to Wolfram Alpha or a search engine
bc -l - the -l option really empowers this awesome little calculator.
mpv - awesome media player - point it at a media URL (it uses youtube-dl in the background, so perfect for viewing or listening with no ads,) but can also play from open directories / SMB shares, online radio, Play a series of images as video, Access any FFmpeg/Libav libavformat protocol or filter (including generating tones and images, and more. And once it's playing, has great interactive keyboard controls for many useful functions.
Agreed.
and the output comes on stdout, so it can be further piped.>bc -l - the -l option really empowers this awesome little calculator.
Right. Since bc is a Unix filter, you can also pipe expressions into it, to be evaluated, so it can be used in general Unix pipelines. E.g.:
Edit: You have to quote any shell special characters in arithmetic_expression with single quotes, or better, just enclose the entire arithmetic_expression in single quotes. If asterisk (for multiplication) is not quoted, for example, it will be treated as a filename wildcard instead, and likely lead to an error. A wrong and a right example: