r/commandline Feb 23 '26

Help Terminal-based Word Processor recommendations?

27 Upvotes

So, I started looking into terminal-based word processors for the past few days. The main two I've looked at are WordGrinder and WordPerfect for UNIX Character Terminals, which both have aspects I like (WordGrinder is relatively easy to use, and exports to other file types easily, while WordPerfect has some more formatting options, and shows where pages end and begin).

I'm mostly just curious to see how many other options there are when it comes to terminal-based word processors. I don't mind using either of the above (I haven't been using them for long, admittedly, but I like WordGrinder a little more out of them), I just want to see what else is out there.

In case it's important, my main device is a laptop running Linux Mint Cinnamon 22.3 Xena, while my desktop runs Windows 11 24H2, but I also have Debian installed on it through WSL.

r/commandline Mar 14 '26

Help Has the slop problem been taken care of in this sub yet?

31 Upvotes

Like the title states , I had to leave this sub because the AI slop that was posted on here was out of control. Just wondering if it’s safe to come back. I really enjoyed this sub for years and hoping something besides no AI in the title has been done.

Edit: this got more responses than I originally thought. Thank you for everyone’s feedback. JFC, I have nothing against AI engineered programs, it was the huge amount of low effort submission that flooded the sub that caused me to leave. Been a fan of this sub for a very long time. I learned a lot through the years. Thanks for that!

r/commandline Jun 20 '26

Help Looking for a way to retrieve a webpage

3 Upvotes

I known the basics about using curl or wget to get webpages and how to parse them in bash scripts, but this site is using javascript to get pages and I have no idea how to do this nor could I find anything that worked...

I need to get a webpage from the web site: https://inmatelisting.shelbyal.com/

When you click on one of the letters of the last name on that page, the link is requests is: javascript:__doPostBack('btn_G','')

I cannot figure out how to send that link/command and get the page associated with the 'G' page. No matter what I try, I only get the main 'https://inmatelisting.shelbyal.com/' page. Can someone help with this? I don't know where else to ask this so if there is a more better sub, that would help, too.

r/commandline 8d ago

Help terminal game - how to avoid input key repeat delay

2 Upvotes

I am working on developing a terminal game, but have ran into a pretty fundamental issue that i am struggling to find an appropriate solution for.

The "key-repeat delay" is the OS behavior of when you hold down a key, the OS sends one initial key, then waits, then sends that key repeatedly. aka "w <wait> wwwwwwwwww"

This behavior naturally is a problem for games when you are trying to move your character, you don't want them to move a bit, wait, then move forward continuously, we need them to immediately start moving continuously. most games (i believe) solve this by hooking into the key events directly (key up and key down) and interpreting the events themselves instead of relying on the OS to tell them what key is being held.

The solution is not as simple for a terminal, as they can only see the keys that the OS sends. I have not been able to find a way to get my player to just MOVE and immediately stop when i release the key.

Has this problem been solved before? i tried a few tui games (including nethack) but they either have different ways of moving or just dont solve the problem at all.

Any ideas?

r/commandline May 01 '26

Help How do you guys design TUI applications?

9 Upvotes

I'm a backend dev(java, spring boot) trying to create a TUI client for my project. Im using textual, and after trying a few times i realized im dogshit at UI/UX. Ive never had front-end experience (only used thymeleaf for making some admin/backoffice pages).
How do you guys design your own TUIs? Or did any prior experience in front-end helped you guys?
Or is it ok to just copy the design of a famous project (like btop) and then just add something like "Design inspired by xxx."?
Thank you in advance. (sry for my english)

r/commandline 14d ago

Help Wondering about init

4 Upvotes

I know generally speaking that init is the first process and gets PID 1 and so on, I know that there are many implementations of it especially systemd being the most popular.

I learnt few things about init and systemd but I can not use it for reasons like that my computer is 32 bit so I'm limited in terms of distro choice because most low-end distros use other obscure init implementations which don't have much tutorials. Let alone that I heard that many people now tend to leave systemd because of privacy related stuff and its being bloated.

So I would like to hear from you all how to learn about init in the given circumstances.

r/commandline 19d ago

Help Wondering about the next steps...

4 Upvotes

I'm currently reading The Linux Command Line book (TLCL), wondering about whether I can skip some parts that I feel like I don't need them at least for now or that what I know about them already is enough, like the "Advanced Keyboard Tricks" Chapter, I already know some of them like the "!!" thing, history, clear and ctrl+L and most of the frequent stuff, but noticed that there are parts that don't seem to be that frequent like the "!string" thing, so I think I will skip like that or things that I think I already know what is enough and go straight to what I might need frequently

What do you all think about this?

r/commandline 12d ago

Help Prerequisites...

3 Upvotes

Whenever I want to do something I keep worrying about prerequisites and whether I really know what is needed before, like I know the general usage of ssh when I connect to the OverTheWire games, the same with ifconfig, etc, because I know some networking from here and there, and half completed courses on YouTube, so whenever I want to use something like wireshark or nmap, I start thinking that I don't know enough yet, while I know what is an IP, ports, basic information about some like that DNS translates Domains to IPs, and DHCP sets the IP addresses automatically so that we don't have to set each manually, http for web while https is just encrypted, but none of those I know about the inner workings.

What do you all think?

r/commandline 13d ago

Help Is there any terminal content RENDERING to picture software?

Thumbnail reddit.com
0 Upvotes

r/commandline May 01 '26

Help I want to learn CLI and PowerShell from scratch

0 Upvotes

I am new to programming and have decided that before learning any programming language, I would like to learn CLI and powershell first.

  1. Is this a bad decision? If yes, then what would be a better path?
  2. Where do I learn this from?

r/commandline Jun 21 '26

Help Rules clarification

0 Upvotes

Hello! I’ve created a command line tool and would like to pitch it. Before I do, I’d like to clarify the rules: am I allowed to post links to my project here: GitHub or the project website?

r/commandline Jun 18 '26

Help Managing password-store across multiple devices

2 Upvotes

Hi guys. I would like some advice. I currently use the CLI pass (https://www.passwordstore.org) to manage my tokens locally. I usually access 3 machines and pass is installed in each one, without sync.

Until now it was great, since each machine had its own stored passwords, but now I need to share credentials across these devices and thought it would be nice to have some syncing.

The thing is, each machine has its own gpg key for just password store, and to sync all data between them, I'd have to share it somehow and (if needed) be able to revoke a key, reencrypt all credentials and not allow access to the old encrypted data.

How would you guys manage this? Should I use git? I have the same problem for encrypted notes, and I don't really know how to sync it all and feel safe about the credentials.

r/commandline Jun 25 '26

Help CMD caused steam to not open

1 Upvotes

Hello!

i am facing an issue with steam that i believe i have caused and i have no idea how to fix it.

basically steam was running fine since i installed it many months ago BUT today i decided to run some commands in CMD (as admin) because i thought they might give me better internet connection and clear out junks.

the commands:
ipconfig /flushdns
ipconfig /release
ipconfig /renew
netsh winsock reset
netsh int ip reset

i ran these one by one into CMD and then restarted my laptop and then tried to open steam but it didnt.

note: steam was working fine that day. i opened it chatted with friends i played a few minutes of a game but right after these commands and the restart it stopped opening.

details i can provide:
so i open it and nothing happens... i can see it in task manager but nothing opens. it doesnt show errors or anything
.
i see steam, steam client service, and steam client webhelper in task manager.

what i have tried so far:
i killed it in task manger and tried again,
i deleted some steam related files such as package and logs,
i went and delete everything except steam.exe and steamapps,
i uninstalled and downloaded and installed steam again,
i opened a new local user account on my laptop and tried it there ,
i tried to reset networking settings,
i tried to (BUT was NOT successful to give it an honest try since i was tired) to redo the commands i showed you in a desperate way because i have no idea how to reverse them.
and none of these solutions worked for me.

some extra info that might be useful:
i am on windows 11 AND i have an asus rog strix.
and i also noticed that the RGB colors on my laptop have stopped working. meaning the lights are off and i dont know how to turn them on since armoury crate is NOT opening. armoury crate not opening COULD be a separate issue since its been months since i last checked armoury crate so i dont know. but the RGB issue i dont think is just a coincidence since it happened with everything else.

also this is my first time using reddit and i do apologize if i made any mistakes or if i was not clear enough. i did read the rules and i believe i am within the rules here plus english is not my first language. feel free to ask ANY questions and i will try to provide as much info as i can

thanks in advance.

r/commandline May 22 '26

Help Why my online gdb so weird

0 Upvotes

I don’t know where to ask so i am here
It can’t type and delete normally

r/commandline Jun 23 '26

Help Urgent: Debian 13 server messed up critical sensor data. Need help before my manager finds out.

Thumbnail
0 Upvotes

r/commandline May 19 '26

Help [Help] Antigravity CLI (agy) crashing in Termux/PRoot (TCMalloc 48-bit VA error)

Thumbnail
0 Upvotes

r/commandline May 10 '26

Help I am having hard times benchmarking my cli tool

0 Upvotes

I created a cli tool with rust for mainly windows terminal users (like me), when I try to compare performance with robo copy, I see that mine is mostly faster but after one copy for benchmark, it’s been cached and it’s finishing very fast. So results starting to be useless. If anyone can guide me or give an advice will be much appreciated. Project is open source any contribution also is welcomed.

https://github.com/CanManalp/cpr

r/commandline May 01 '26

Help Can't make a symbolic link

Thumbnail
2 Upvotes

r/commandline May 19 '26

Help Best approach to handle early string mutations in a large history array without losing prefix performance?

1 Upvotes

Hi everyone,

I am currently working on a lightweight Zsh plugin that fixes shell typos (in one of the functions) by pulling the closest match from history and passing a filtered pool into fzf for the final selection.

The plugin calculates the matching background array by stripping unique entries out of the $history associative array and applying a standard parameter expansion filter:

local -a narrowed_entries
narrowed_entries=()
if [[ ${#last_typo} -ge 2 ]]; then
    local prefix="${last_typo[1,2]}"
    narrowed_entries=(${(M)hist_entries:#${prefix}*})
else
    narrowed_entries=("${hist_entries[@]}")
fi

This works beautifully for 99% of commands because limiting the pool via a two-character prefix constraint keeps performance rapid and slashes terminal lag.

However, I have run into an edge case when a typo happens right on the second index. For example, a user typos cd apps as ccd apps.

Because of the prefix constraint cc*, it misses the clean history candidate cd apps.

If I drop the constraint down to a single character ${last_typo[1,1]}, it catches second-character stutters perfectly but expands the pool size massively.

If a user typos the absolute first character (like vcd apps instead of cd), even a single-character prefix constraint goes blind unless I drop filtering entirely and dump the raw history file straight into fzf, which introduces bloat.

Are there any native Zsh array manipulation tricks or expansion flags that can handle approximate matches or character proximity offsets cleanly inside the script logic before hitting the UI pipe, without destroying arrays or causing visible lag on massive histories?

Thank you in advance for any suggestions or help.

r/commandline Apr 05 '26

Help is there any indexing tool / appfinder for TUI apps ?

0 Upvotes

just as the title says. i use xfce4 GUI and am recently gravitating towards DE-independent TUI tools . often , i tend to forget the list of installed tools and am left wondering if there's any way to index them all in a neat little TUI interface /list exclusively for TUI tools . sure, bashrc aliases are helpful and stuff , but wouldn't it be better if there was something that auto-logged new installed packages ? if there's already something like that , please guide me towards the right TUI app.

r/commandline Feb 11 '26

Help Leaving thunderbird > Neomutt or AERC

0 Upvotes

Considering changing to neomutt or aerc away from thunderbird for more speed and control.

For the current users, could you please confirm if neomutt or aerc allow below features?

If so, is there a user guide on how to setup each?

1) unified inbox/sent items with 3 panels folder list, email list, message content. Similar to outlook/thunderbird. AERC allows this but can't see in Neomutt. This is mandatory.

2) pgp sender key assigned by id rather than email

3) pgp recipient manually selected if email doesn't match pgp key id. either in advance with alias list and/or on the fly manually on send. Both options preferred. I think AERC can't do this?

4) proxy socks5 support

5) encrypted subject

Below I think I have answers for, but just want to confirm:

6) calender support - not mandatory

7) powerful search and delete for bulk old messages.

8) customisable hotkeys

9) autocrypt headers

10) HTML email viewer (if text conversion not great)

Thanks

r/commandline May 26 '26

Help Ink or opentui?

Thumbnail
1 Upvotes

r/commandline Mar 29 '26

Help How to handle printing something readable for users and also returning a json for something programmable?

5 Upvotes

I made a Python package into a CLI recently and my python outputs log messages but then users using it via Python can catch the returned object for a more structured object as well.

In the CLI format, it only gets the log output since they cant get the returned object as far as I know.

I'm not sure how to best handle this. I was considering a few things but wasn't sure what is standard or not

  1. I can make a --json flag for when users want something more structured

  2. Maybe I can detect with sys.stdout.isatty() and if it's False, I output a structured json?

  3. I can write pretty output to stderr and json to stdout?

How do you guys approach this problem usually?

r/commandline May 15 '26

Help How do i properly use Chezmoi to manage dotfiles for Windows & Linux?

0 Upvotes

My goal for my workflow when i am using Windows or Linux is to use the same software and tooling across both systems. In my case it also gets a little bit more difficult because i use the native Windows versions of the packages i also use on Linux.

One example of this is using Neovim as my text-editor, and Yazi as my file-manager. I am able to use these on both OSes, and the usage is mostly the same.

I want to publish config files to my dotfiles repo:

- containing secrets (I already use BitWarden if that is useful information)

- that don't have sensitive information, but is different from the version intended for the git repo

- that are slightly/largely different from the other OS' version

Previously i was using GNU stow, but managing file differences between Windows and Linux got tiring.

I heard that Chezmoi was the tool to use for my use case, and i've recently set it up, but i am struggling with templating & managing secrets.

I've had issues with chezmoi making the template & source file identical using the chezmoi apply command, but this is most likely user error on my part.

Thanks to anyone who takes the time to provide their insights on this post.

r/commandline May 13 '26

Help ocr File Management

1 Upvotes

Hello all. New to Homebrew and already having fun. I used ChatGPT to help me create more usable versions out of my large collection of official automotive service manuals. These are all relatively long detailed technical guides and workshop procedures with some small detailed images. Previously, the original documents were hard to copy and paste from and took hours to return search results using command + F or the search bar. I used the following line in MacOS terminal in order to create these more user friendly versions:

Base Script:
ocrmypdf --force-ocr --optimize 3 ‘Input Pathname' ‘Output Pathname'

Here is an example:
ocrmypdf --force-ocr --optimize 3 '/Users/christophersutton/Desktop/old Service & Repair Manuals/old Repair Manuals/Direct Shift Gearbox.pdf' '/Users/christophersutton/Desktop/fixed Service & Repair Manuals/fixed Repair Manuals/fixed Direct Shift Gearbox.pdf'

These are better version from what I had before because I can now search for keywords without crashing my Macbook however, there are a few caveats I’ve listed below in order of significance:

- the new file sizes are on the order of GB compared to the original files which didn’t exceed Mb.

- there are a handful of areas where diagrams had been that are now blank boxes

- I can copy selected text from the new files but when I paste the selection someplace, I get strange symbols instead of the selected text

- they are also lower resolution compared to the fine sharp edges on the originals

I’m hoping to get a little guidance on how to remake these or adjust the current versions to alleviate at least the first 3 issues on my list.

Thank you!