home.social

#command-line — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #command-line, aggregated by home.social.

fetched live
  1. Unfortunately, dumping an Amiga diskette using the Greaseweazle board still needs to be done from the command line. Sigh... 🥺

    #Amiga #Greaseweazle #Commandline #Retro #Diskette #FloppyDisk

  2. 👨‍💻 Meet #Maiao, the new "revolutionary" way to complicate GitHub's PR process for those who find GitHub's UI just *too easy* 😂. Now you can manage your #PRs from the command line, because who needs a mouse when you can have endless terminal commands? 🖱️❌
    github.com/runetes/maiao #GitHub #commandline #techhumor #developerlife #HackerNews #ngated

  3. My new workflow for local code review with tuicr

    How I'm currently reviewing code from the terminal, using `tuicr`.

    fed.brid.gy/r/https://www.jvt.

  4. 🤔 Did you know that you can easily disconnect a particular network connection from Linux?

    The 'ss' command is typically used to display information about sockets, but it can do more. Yes, killing connections! 💀

    This option can be useful to drop an unwanted connection, one that is stuck, or to test out how software deals with unexpected disconnects 💪

    👀 See the image to only disconnect a SSH connection for one particular IP address.

    🔁 #Linux #terminal #sysadmin #commandline #networking

  5. 🤔 So what process is listening on a particular port?

    On Linux there are a few options, like using lsof (list open files) and fuser.

    For example with fuser: fuser 443/tcp

    Another great option is using the 'ss' command'.

    Do you have another tool that easily shows this information?

    🔁 #Linux #LinuxTips #LinuxCommands #terminal #commandline

  6. I've been a full-time #linux user for about 18 months now. First #ubuntu, then #mint, now #fedora (yes, it is very likely mastodon's fault). Very happy with it all. And I have learnt plenty. Seeking #recommendations for (e)books or courses for learning how to terminal/bash better. If it's free (or low cost) that'd be cool, because money is pretty tight right now.

    I'm not a complete beginner, but sed and parameter expansion and regex-looking things are intimidating.

    boosts welcome, I suppose.

    #terminal #bash #CommandLine #learning

  7. 🔎 You already know which directory takes up a lot of disk space and want to clean out? With 'find' you you can search for files bigger than a specific size.

    ⚠️ The size option of find is different for #OpenBSD, #FreeBSD, and others.

    find / -size +10000000c

    💡 In my Linux example I used mebibytes. Yes, that silly name thing where we sometimes use 1000 and sometimes binary 2^10 (1024).

    en.wikipedia.org/wiki/Megabyte

    #Linux #LinuxTips #commandline #files

  8. Okay this might be a really weird question but I have one question regarding command-line-only workflows.

    I am already used to and very comfortable working in the command line as is.

    And as any heavy user of the terminal will know, at some point you'll probably start writing scripts and functions and aliases to create your own little shortcuts for common tasks or preferred program call-up options and such. So do I.

    Now my weird little 'problem' is that I don't always remember all of the scripts,  aliases, functions and even programs I built for my workflow over the years off the top of my head.

    For example, I might have an "update" alias set up, but nine out of ten times will still enter the command manually out of sheer habit.

    Or I will have a calendar or to-do application for the CLI/TUI, but sometimes forget that I have it installed when I need it. Or I'll forget where the files are I set up to organise my journal or my time tracking.

    Or going even further, I don't always remember all the neat features of my shell I could use, or the computing/typing habits I wanted to build, or the projects I have going on, and so on!

    In a graphical desktop environment or on a mobile UI, you have tools like desktop shortcuts, quickstart icons or application launcher menus for an overview of all of your environment's user-facing programs. Seeing an icon out of the corner of my eye sometimes reminds me of things that a purely reactive user interface like a shell doesn't.

    Now there's obviously ways to solve this that come to mind:

    • writing a script that prints comprehensive documentation on everything, so I only need to remember that one script name.
    • keeping a physical cheat sheet next to my computer.
    • using a terminal multiplexer to have a permanent digital 'cheat sheet' or 'launcher' open at the side of the screen.
    • trying to just automate these things by using cronjobs/services and shell init scripts to, for example, show me the weather and my to-do list automatically on boot so i don't have to remember these commands at all
    • trying to keep a super organised self-documenting file system and harmonious custom dotfile configs so every config is in the same place, every program uses the same keybinds, all scripts are in ~/.bin/ or something etc.
    • writing my own "home page" type greeter.

    … but with all of these solutions, while they may work perfectly fine, something doesn't feel "right"!

    I mean it's nice and good to print these things upon shell start, but later on in the day that won't be there to look at anymore. The multiplexer one is cumbersome. The self documenting file system organisation sounds like a pain to maintain.

    I feel like this is an issue that corporate folks probably should have solved by now, as documenting workflows for employee handovers and stuff is critical there too. Do they use wikis for that? What about all those newfangled workflows like #scrum and #agile and all, do they have anything to say about documentation?

    Can anyone relate? How do you handle this?

    #linux #unix #commandLine #terminal #cli #tui #tech #askfedi #technology #fish #zsh #bash #shell

  9. 🤣 Ah yes, because nothing screams “creative writing” like a terminal interface! 📟 1667 promises to turn your novel into a tech support ticket, complete with tree diagrams and command-line #nostalgia. 📂 Because who needs distractions like spell check or formatting when you can squint at monospace text and pretend you're hacking the mainframe? 🚀
    1667.ai/ #creativewriting #techsupport #terminalinterface #commandline #HackerNews #ngated

  10. Ah yes, now you can turn your website into a "techie" playground with all the joy of a Linux terminal but none of the utility 😂. Because nothing says cutting-edge web design like terrifying your visitors with the command line 😱. Surely, your audience can't wait to misinterpret 'grep' as a new dating app 🕵️‍♂️❤️.
    sandbox.bio/training/embed #techieplayground #webdesign #humor #commandline #linuxfun #HackerNews #ngated

  11. I was showing some photos to a relative and he asked me "How many photos do you have, anyway?" That sent me down a long (but fun) rabbit hole answering that question, and a couple of followup questions, using the .

    shallowsky.com/blog/linux/cmdl

  12. 📄 Pandoc celebrează 20 de ani ca convertorul universal de documente în ecosistemul open-source!

    Instrumentul esențial creat de John MacFarlane împlinește 20 de ani de la primul commit, marcând două decenii în care a rămas soluția de referință din linia de comandă pentru transformarea textului structurat dintr-un format în altul.

    ✨ De ce rămâne Pandoc un instrument de neînlocuit:

    🔄 Sute de combinații de conversie:
    • Traduce impecabil între zeci de formate populare: Markdown, HTML, LaTeX, EPUB, Docx (Word), ODT, PDF, reStructuredText, Org-mode și multe altele.

    🧠 Arhitectură bazată sursă-AST:
    • Utilizează un arbore sintactic abstract (Abstract Syntax Tree) intern, permițând analizarea precisă a structurii documentului fără a pierde formatarea, notele de subsol sau tabelele în timpul conversiei.

    🛠️ Automatizare și scriptare avansată:
    • Integrează filtre în Lua sau Python pentru manipularea conținutului în timpul procesării, fiind o piesă de bază în fluxurile de lucru de tip Publishing-as-Code și Static Site Generators.

    🎓 Apreciat în mediul academic și tehnic:
    • Este unealta preferată de cercetători, scriitori și dezvoltatori pentru generarea de cărți, articole științifice și documentații tehnice direct din fișiere text simple.

    💻 Multiplatformă și ultra-performant:
    • Scris în Haskell, rulează rapid pe Linux, macOS și Windows, consumând resurse minime indiferent de dimensiunea proiectului.

    La mulți ani unui proiect FOSS legendar care continuă să simplifice viața tuturor celor care lucrează cu fișiere text! 🚀

    #Pandoc #OpenSource #Linux #Markdown #LaTeX #Haskell #TechNews #FOSS #Publishing #CommandLine

  13. New release of Mosscap, a tiny automation tool: version 0.0.18 adds include file support and fixes some minor issues.

    #automation #cli #commandline #linux #opensource #golang

    codeberg.org/scip/mosscap

  14. Cette librairie semble très intéressante pour créer du texte avec une belle mise en forme pour un terminal. github.com/kusoroadeolu/Clique #java #commandline #style #library #opensource

  15. Ce système semble permettre de communiquer en déposant votre site web sur une clé USB. C'est vraiment intriguant ... sneakerweb.org/ #web #matériel #réseau #bizarre #commandline

  16. 🚀🎉 Break out the champagne and the open-source confetti! #Linux has finally climbed to a whopping 10% #market #share in North America. Surely, this news will make everyone rush to their nearest command line, because who doesn't love a good old terminal party? 😂💻
    old.reddit.com/r/linux/comment #OpenSource #Celebration #TerminalParty #CommandLine #HackerNews #ngated

  17. Convert Excel Spreadsheet File Format (XLS, XLSX) to CSV

    Learn about the Free and Open Source Software options available to convert Excel spreadsheet file format (XLS/XLSX) to Comma Separated Values (CSV).

    adamsdesk.com/posts/convert-ex

  18. Updated: Get Your Public IP Address with Ident.me

    - Update Post Clarity
    - Update Post Image

    Explore the potential of getting your public IP address using a service that is simple, fast, reliable, and without advertisements, and distractions.

    adamsdesk.com/posts/get-public

  19. Other than org-mode – is there another interactivity and productivity focused plain-text markup language that allows me to magically enrich my marked-up notes with interactive elements, automation and such for the CLI/TUI?

    Like, most simple markup languages for text (e. g. Markdown) concern themselves with structuring and styling, which is great. Headlines, bold, italics, lists, all that.

    And then of course there are myriads of more complex markup languages (e. g. HTML) that are meant to be parsed by a program to provide functionality to the elements you marked up in the text.

    The latter is pretty much what I'm looking for; but HTML specifically isn't it, because it's focused on online hypertext documents, and has surprisingly little interactive elements without scripting, much less in the command line/TUI.

    I am basically looking for a markup language that is suitable for all kinds of text files I might write on my computer – to-do lists, idea collections, quick notes, structured articles, fiction stories etc. – that comes with a parser/reader/interpreter of sorts that not only adds visible style and structure, but actually makes my marked up elements as interactive, semantic and 'smart' as possible.

    Like selectable datetimes, automatic time zone conversion, parsing URLs, interactive checkboxes, to-do entries that can be ticked off and/or archived, proper tables, metadata like title and author, and so on.

    I want a semantic-as-fuck markup language.

    I feel like org-mode is nearly alone in that niche. It would be almost perfect but I don't use emacs, I don't like how it controls, and outside of the emacs community, there is therefore little support for org-mode, interpreter application-wise.

    [Not looking for advice on how to use org-mode or why I should totally give it a chance with tool neofoobar or whatnot, I'm only looking for alternatives. :P]

    #MarkupLanguages #Markup #Linux #AskFedi #OrgMode #CommandLine #Tui #Cli