orhun, to rust
@orhun@fosstodon.org avatar

Here is how you can view the assembly of your Rust code! 😍

🦀 cargo-show-asm: displays the Assembly, LLVM-IR, MIR and WASM generated for Rust code.

⭐ GitHub: https://github.com/pacak/cargo-show-asm

🐧 Packaged for Arch Linux: https://archlinux.org/packages/extra/x86_64/cargo-show-asm/

#rustlang #cargo #assembly #llvm #wasm #commandline #opensource #linux #archlinux

video/mp4

orhun, to rust
@orhun@fosstodon.org avatar

I'm excited to announce that the new version of git-cliff is out! ⛰️

🦀 A highly customizable Changelog Generator - written in Rust.

⭐ GitHub: https://github.com/orhun/git-cliff

🚀 Release highlights: https://git-cliff.org/blog/1.4.0

#rustlang #changelog #generator #commandline #cli #automation

watzon, to linux

Help mom, I'm scared
#linux #terminal #commandline #vim

orhun, to rust
@orhun@fosstodon.org avatar

New version of kmon is out! 🚀

🦀 Linux Kernel Manager and Activity Monitor - written in Rust.

⭐ GitHub: https://github.com/orhun/kmon

🐧 Changelog: https://github.com/orhun/kmon/blob/master/CHANGELOG.md

#rustlang #linux #kernel #tui #commandline

video/mp4

fosslife, to math
@fosslife@fosstodon.org avatar

Working with Numbers: Sandra Henry-Stocker explains how to use expr and other helpful commands on the Linux command line https://www.fosslife.org/math-linux-command-line #numbers #math #Linux #OpenSource #CommandLine #FOSS #expr

fosslife, to foss
@fosslife@fosstodon.org avatar
orhun, to rust
@orhun@fosstodon.org avatar

I'm excited to announce that we have released the new version of "ratatui" today! 🐁🧀

🦀 A #rustlang library that's all about cooking up terminal user interfaces.

⭐ Changelog: https://github.com/ratatui-org/ratatui/releases/tag/v0.24.0

🚀 Highlights: https://ratatui.rs/highlights/v0.24.html

🐭 Docs: https://ratatui.rs

#terminal #tui #commandline #linux

video/mp4

adamsdesk, to Bash
@adamsdesk@fosstodon.org avatar

Updated: Add Public IP Address Caching To Neofetch

  • Fix post image
  • Fix alt attribute
  • Fix version numbers
  • Fix post description
  • Fix punctuation

https://www.adamsdesk.com/posts/neofetch-ip-address-caching/

#100DaysToOffload #BASH #commandline #linux

adamsdesk, (edited ) to Bash
@adamsdesk@fosstodon.org avatar

Updated: Add Weather Data With Caching To Neofetch

  • Fix post image
  • Fix alt attributes
  • Fix version numbers
  • Fix punctuation

https://www.adamsdesk.com/posts/neofetch-weather-data-caching/

#100DaysToOffload #BASH #commandline #linux

jtk, (edited ) to Trivia

I miss @hal_pomeranz 's #CommandLine #Trivia challenges. Here is one inspired by a blog post I saw:

Write a command to extract the name of all active network interfaces.

hal_pomeranz, (edited )

Apologies to @jtk -- I've been sick or I would have responded much sooner.

I admit that the crufty old Unix admin in me still wants to do

netstat -in | tail -n +3 | awk '{print $1}'

But everybody keeps telling me that netstat is deprecated. So I guess the "modern" approach is

ip -br link | awk '{print $1}'

I'm using the '-br' (aka '-brief') option here to get one line of output per interface.

It's worth noting that the ip command has a JSON output mode. We could do a trivial example to pull out the interface names:

ip -j link | jq -r '.[] | .ifname'

Where JSON mode really shines is if you want to extract multiple fields:

ip -j link | jq -r '.[] | .ifname + "\t" + .link_type + "\t" + .address'

Woot! Woot! Tab-separated fields in no time flat!

#Linux #CommandLine

adamsdesk, to linux
@adamsdesk@fosstodon.org avatar

Updated: Share Wi-Fi Using A QR Code

https://www.adamsdesk.com/posts/share-wifi-using-a-qr-code/

Reorganized and added content for clarity.

#100DaysToOffload #commandline #linux

hamatti, to Software
@hamatti@mastodon.world avatar

I find JSON has a great balance between programmatic handling and human readability. But this leads to it being bit verbose.

I wrote about three tools in my toolbox for handling JSON on command line: jq, jless and fx.

Do you use something different? Share tips in replies!

https://hamatti.org/posts/handling-json-on-command-line/

#JSON #Software #development #WebDev #Blogging #CommandLine #CLI

opensuse, to linux
@opensuse@fosstodon.org avatar

Mastering the command line in #Linux opens doors to endless possibilities & happiness. Try an @opensuse distribution & learn the power of 🐧 control. Use your powers responsibly & have a lot of fun! get.opensuse.org

david_megginson,

@opensuse Yes, agreed about the power of the *nix command line as a UI.

It used to seem like magic when a client would hold a meeting to plan a week or two to make a complex change in thousands of data, documentation, and/or code files, then before the end of the meeting I'd tell them it was already done and ready to commit. 🙂

#tech #Linux #Unix #commandLine

Edent, to blogging
@Edent@mastodon.social avatar

🆕 blog! “Use WP CLI to find all blog posts without a featured image - two methods”

This uses the wp shell command. It gives you an interactive prompt into which you can do various WordPress "things". One small annoyance is that it doesn't like multi-line entry. It treats every hit of the enter key as "plz run the codez" - s…

👀 Read more: https://shkspr.mobi/blog/2023/10/use-wp-cli-to-find-all-blog-posts-without-a-featured-image-two-methods/

#blogging #commandline #HowTo #WordPress

orhun, to rust
@orhun@fosstodon.org avatar

In Rust, here is how you can find out which shell you are running 👀

🦀 whattheshell: Infer the current shell the application is running on.

⭐ GitHub: https://github.com/zekrotja/whattheshell

📚 Docs: https://docs.rs/whattheshell

#rustlang #linux #shell #commandline #opensource #library

pug50, to linux

I just heard someone pronounce CLI as "klee", and now I want to be put into a cannon and shot into the sun.

#Shell #Linux #CommandLine

kzimmermann, to random
@kzimmermann@fosstodon.org avatar

Introduction to the command-line - a manual/book of sorts guiding newcomers to the #commandline interface of a (UNIX-like) computer.

https://libreplanet.org/wiki/Ittcl-online/

I found it in the #FSF newsletter, but it wasn'very clear about the source. It seems it was published in 2009 but some parts were lost or had to be "reverse-engineered" to be published again in plain-text? At any rate, it seems like an excellent way to start, even if the screenshots are a bit dated (hooray for conservative text interface!)

scott, to programming
@scott@tams.tech avatar

A thought just struck me, fuck command line options, why not just use environment variables? What makes git commit --message "fixed shit" better than message="fixed shit" git commit?

edit: apparently environment variables don't work the way I thought they did. I thought you could prefix a command (without a newline or semicolon between) with vars and they would be set only for the command

#programming #commandLine #linux #shitpost #development #shell

galaxydinodragon, to fediverse

Are there any #commandline ways to access the #fediverse lol? Sounds fun

iamkale, to random

It's 2023 and I still can't wrap my head around the fact that I can't freely move my cursor around the terminal, either by keyboard or by mouse, like I can a text editor. I know Ctrl+A to jump to the start of a line, but it's Opt + Arrow keys for anything else.

It's muscle memory at this point, sure, but please, someone, anybody: there's gotta be a better way.

#commandline #nosiridontlikeit

panigrc, to linux
fosslife, to linux
@fosslife@fosstodon.org avatar
Riduidel, to opensource French
@Riduidel@framapiaf.org avatar

Un outil très rigolo permettant de découper un fichier en plusieurs morceaux pour le protéger. https://github.com/jesseduffield/horcrux #sécurité #encryption #fichier #opensource #commandline #macosx

celfred, to Bash French
@celfred@framapiaf.org avatar

Je relis mon .bashrc et ceci me rend bien des services car j'oublie souvent tous les paramètres pour extraire des archives en ligne de commande. Là, je tape extract nom-de-l-archive et c'est réglé :)

extract () { if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xvjf $1 ;;
*.tar.gz) tar xvzf $1 ;;
*.bz2) bunzip2…

Note:
https://shaarli.demapage.fr/shaare/4YKJ3w

#bash #ligneDeCommande #commandLine #linux #Shaarli2Mastodon

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • ngwrru68w68
  • everett
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • GTA5RPClips
  • Durango
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • provamag3
  • ethstaker
  • osvaldo12
  • tester
  • cubers
  • cisconetworking
  • mdbf
  • tacticalgear
  • modclub
  • Leos
  • anitta
  • normalnudes
  • megavids
  • lostlight
  • All magazines