Questions tagged [command-line]

Software to be used from the command-line or in shell scripts.

Filter by
Sorted by
Tagged with
7 votes
4 answers
1k views

Determine file type from its content (not trusting the .extension)

I have millions of files like report.bin which are maybe a Word file or maybe a PDF file. I can not trust the filename extension. Also, I must distinguish between PDF/A and PDF/X, and other distinct ...
4 votes
1 answer
5k views

Command line tool for converting between 3D formats

I am looking for a command line tool (i.e. automatable from the command line) for OS X that can convert between various 3D modelling formats, and satisfies the following: Supports any of the input ...
0 votes
0 answers
9 views

Reusable command-console widget library or app

I'm developing a Windows-based, C++ app, for which I want to add a command console. The app is a toy 3d editor. I have a basic console running using ImGui, but it's got some issues that are difficult ...
1 vote
1 answer
715 views

Set a timed reminder from the terminal

How can I issue a shell command in my terminal that will alert me with a notification once a given time has passed? To make it a bit more specific, some things I am looking for are: I only need one ...
1 vote
3 answers
847 views

Comparing RTF files and returning the difference in an RTF format

I am looking for a STDIN/STDOUT supported program that can return the difference (preferably in RTF format) between two RTF files or strings, similar to how GitHub tracks changes between two text-...
2 votes
3 answers
328 views

Convert Office Documents to PDF on Ubuntu Server

I need to merge multiple documents into a single PDF in a web application running on Ubuntu Server. I've merged PDFs in the past so that shouldn't be an issue, but the documents can also contain doc, ...
1 vote
1 answer
36 views

Command-line tool for flattening directories

Examples: https://stackoverflow.com/questions/52366028/auto-overwrite-when-flattening-file-structure-in-osx https://stackoverflow.com/questions/20211911/find-all-files-and-copy-them-to-a-folder-...
4 votes
1 answer
81 views

Linux command to define ad hoc option/switch overloading in utils

Suppose some favorite util foo has a useful switch -n bar which is almost but not quite what's needed. To get what's needed, one could: Edit the source code to add what's needed. (Usually not ...
1 vote
1 answer
167 views

Command line calculator with good hex support

Is there a command line calculator that will let me do bit operations and has good support for hex. E.g. for operations like: 0xff << 3 (1 << 5) ^ 0x77 Bad solutions: bc - laughable ...
2 votes
1 answer
50 views

Is there a (command line) tool to calculate percentage change between two files of the same format full of numbers?

Is there a (command line) tool to calculate percentage change between two files of the same format full of numbers? Example: File A: 100 100 File B: 150 70 Invocation: $ calc_perc_change A B +50% -...
2 votes
1 answer
31 views

Workflow: git status & git diff in command-line

This question was rejected at in the Software Engineering StackExchange, I was pointed here. I use git entirely in the command-line and I look for ways to speed up my workflow. Many times a day, I ...
3 votes
1 answer
508 views

Light modern DNS benchmarking for linux

I'm currently building and setting up my own Linux router, and one of the advantages of this is the ability to run benchmarks on my router directly. I'm currently using 8.8.8.8 with dnsmasq for name ...
1 vote
1 answer
25 views

Opening a TCP port and returning an HTTP error

I need a gratis tool for Windows which opens a specific TCP port (configurable, e.g. Port 80) and returns an HTTP error code (configurable, e.g. HTTP 503). It must have a command line version. It ...
0 votes
2 answers
48 views

Shell with undo and full cursor support

I spend a lot of time on OSX in Terminal running Bash on SSH. Most of the time it's fine, but when writing commands I miss several "standard" text editor features: undo typing (/redo) cut ...
4 votes
1 answer
148 views

A command line calculator that supports numbers with commas

I often want to copy/paste some numbers from a website into a calculator to do some quick arithmetic. These numbers are typically formatted for display, so they include commas as thousands separators (...
0 votes
0 answers
9 views

Command line tool to track time spent and traffic volume on visited websites

I am interested in knowing what are the top websites I visit with respect to: the time spent on the website the traffic volume of the website The monitoring should be at the computer level (so ...
1 vote
1 answer
147 views

Simple offline translation software with command line control (Windows)

I'm looking for a translation software that I can use completely offline. I have searched the web but most things I found were focused on online translators (google, deepl, ...). The few things I ...
0 votes
0 answers
30 views

Is there a Windows command-line utility to convert saved "Webpage. HTML Only" files to "Webpage, Complete" files?

I have many locally-saved .HTML files that have links to remote images. I am looking for a command-line utility that would batch convert these "HTML Only" files to "Webpage, Complete&...
43 votes
5 answers
39k views

Text based browser that runs JavaScript

I am searching for a text browser running JavaScript. It should be compatible with Linux platform. Other features: run JavaScript (this is the most important) minor CSS rendering (text colors, ...
4 votes
2 answers
214 views

Format HTML file(s) from the command line

I want to format HTML source files from the command line, one file at a time or in bulk. Tool requirements Should be installable on Windows, Linux, and macOS. Must be capable of formatting in place, ...
0 votes
0 answers
118 views

Recommendations for CLI-based Anki-alternatives?

I need free software, that I can use from my terminal, for learning vocabulary in French and for memorizing famous quotations in English. The closest that I've found is VocabCLI, but it is not exactly ...
1 vote
1 answer
37 views

Windows CLI tool to take full ownership of a file

I do auditing of Windows Systems, I need a simple and robust CLI tool that can take ownership of any file to the full extent. I've dabbled with takeown and icacls but they seem to be quite limited, ...
1 vote
2 answers
64 views

Render HTML + CSS + JS to Image File

Does there exist a tool that can render HTML code to an image file? I'm writing a scifi novel and I have an idea to include images of social media threads as chapter headings. I have some experience ...
2 votes
2 answers
351 views

Command-line JSON browser with TUI

Given a large-ish JSON, browse it interactively in terminal. $ output_long_json {"packages":[{"name":"ba... <fill up entire screen> It is already possible with repeated invocation of jq: $ ...
0 votes
0 answers
49 views

C Library For Quickly Writing CLI Programs

I'm working on porting most of my PHP, Python, and Bash scripts over to C. As a "beginner" with the C language I am overwhelmed with the documentation and all the memory management ...
1 vote
1 answer
39 views

What widely-available cross-platform command line program can I use to render a string containing color emoji

I have a program which allows users to create gifs from youtube videos using yt-dlp and ffmpeg. Unfortunately, ffmpeg does not support color emojis. Here's what it looks like when you try: ffmpeg -ss ...
2 votes
2 answers
107 views

Looking for Linux command line twitter client to send image and text in tweet

I have a need to programatically generate status tweets along with a graphical picture in embedded linux using command line. I want to invoke the client using system() (C library) call and pass the ...
0 votes
2 answers
274 views

Command line anti virus scanner for offline usage

I want a good anti virus software that should have following requirements: Be able to scan offline. So no upload to cloud etc Be able to be started via command line. Example: "C:\AV\AwesomeAv....
6 votes
4 answers
1k views

Command-line tool to query Wikidata (or another SPARQL endpoint)

In the Linux terminal, I want to run a SPARQL query, and get as output the result as CSV: $ query --service https://query.wikidata.org/sparql?query=SPARQL --sparql "SELECT ?i ?c WHERE { ?i wdt:P31 wd:...
1 vote
0 answers
44 views

Generate private key from insecure public key

Supposing I have a 512-bit RSA public key (insecure by modern standards), how can I brute force to obtain a valid, corresponding private key assuming I have infinite time? Suppose: I generate an ...
2 votes
0 answers
45 views

Is there a terminal-based image viewer that enables directory browsing after viewing a single file?

I am searching for a lightweight terminal image viewer like feh,meh, sxiv, pqiv, or qiv, with the end objective of having a terminal image viewer that allows you to explore all pictures in a folder ...
2 votes
2 answers
119 views

Commandline config manager

Is there a tool for managing entries of a config file? E.g: by toggling comments, or setting some keys to some values. I know, for a one-time configuration it's easy to just use sed or awk like: awk '/...
1 vote
0 answers
54 views

Lightweight CLI Website Uptime Monitoring

I'm looking for a very lightweight, open-source, linux CLI tool for monitoring the uptime of a set of websites. I do not want a tool that includes a web server. I'm thinking of something like mon, but ...
1 vote
1 answer
20 views

grep tool that colorizes matches and (C) code comments?

This is somewhat similar to the question in https://unix.stackexchange.com/questions/33131/how-to-grep-on-source-code-without-catching-comments - however, what I actually want, is this: provided a C ...
0 votes
0 answers
11 views

A database migration/refactoring tool for RDF triple stores?

Is there a refactoring tool that can track changes in database migrations, similar to Flyway or Liquibase, but for RDF triple stores? Triple stores are similar to graph databases. They are used in ...
0 votes
2 answers
85 views

Tool for storing and easy executing command lines (Windows)

Do you know any tool that allows you to store command lines and easy execute them (maybe even supporting parameters)? Something like: c:\foo\bar\baz.exe --foo [play] c:\foo\bar\qux.exe --bzz [play] ...
1 vote
1 answer
16 views

Where can I fund a Windows OS GUI interface that would be a file manager to results output from the GNU find command?

I am very adept at using the GNU (Unix / Linux) find command. Now I am looking for a GUI UI tool where I can run any find command I want, or point it to a script and have the results displayed in a ...
2 votes
1 answer
36 views

Linux CLI Tool to batch convert PDFs to default to Continuous Page Display

I have googled this extensively, but not had any luck. I have a large selection of .pdf files, some of which default to displaying discrete pages or facing pages, and some of which default to ...
0 votes
0 answers
10 views

Programm that can use Inputs from Telegramm to Control a website automatically

I am looking for an AI or non AI Tool with which I can read Out Telegramm Messages (from my PC, Telegramm App) smbdy. or better Said a friend of Mine sends me and which then gives Inputs to a specefic ...
0 votes
0 answers
12 views

What framework/library compiles the smallest possible "hello world" application stand-alone executable in 2023?

I'd like to use typescript for creating simple (command-line) applications. But I can't really find a tutorial/guide/docs that show me how to create a small binary. pkg, deno compile etc creates ...
0 votes
0 answers
13 views

Terminal menus supporting Mnemonic Keys

Mnemonics keys: are the underlined characters in a context menu. This is popular in GUI menus, e.g: Alt+e, n in Firefox opens settings. For more concrete example, I'm looking for a program ...
1 vote
1 answer
72 views

Free terminal based dictionary for Linux

I'm looking for a dictionary that can be used from the terminal. I'm expecting something like dictionary <word-in-double-quotes>. Should be installable from apt and should be free. PS: OS - Kali ...
14 votes
4 answers
10k views

Command-line tool for lossless JPEG compression and optimization for Ubuntu

I am looking for a command line lossless JPEG compression tool which will have the following functionality: be a command line tool with no GUI interface I can provide list of folders (where my ...
2 votes
0 answers
20 views

Tool to keep duplicate information in source code repository consistent

Sometimes it can't be avoided to duplicate information in a source code repository: E.g. parts of the README file will often be duplicated in the full documentation, the current version will often be ...
2 votes
1 answer
604 views

Is there a modern cross platform task runner, like make, for running simple scripts?

I have some build, test, etc scripts written in various interpreted languages but in Windows Powershell or cmd you cannot invoke a script directly from the command line. # Rather than ./build # On ...
0 votes
0 answers
8 views

Sort lines with a locale across platforms

Requirements Must run on Linux, MacOS, and Windows (only recent versions would be fine, no legacy support is needed). Must be implemented in one of the pre-commit supported languages, except "...
0 votes
2 answers
14 views

Is there a Linux tool for creating a DataURI of a given file?

How can I easily obtain the DataURI of a file in a terminal-based environment? The tool should be installable via apt-get and feature simple syntax. Could you suggest some suitable options? Thank you ...
2 votes
0 answers
106 views

Command line tools to do a diff of csv/tsv files?

I work on a bioinformatics tool that produces large TSV files with many (~100) and long (~5-200 char) columns. Getting a whole line from a normal diff is overwhelming. It's more important to have the ...
1 vote
0 answers
64 views

Is there an alternative to grc (CLI output colorizer) for Windows?

I'm wondering if there's any Windows CLI tool that can easily colorize popular command output, such as log file contents and some commonly used CLI commands like ping. I'm looking for something that's ...
1 vote
1 answer
131 views

CLI Markdown viewer with Chapter selection support

I'm looking for a simple CLI Markdown viewer with support for Chapter selection for Ubuntu. My main goal is to have a single file with notes separated to chapters so I can list those and select one to ...

1
2 3 4 5
7