nebyoolae, (edited ) to random
@nebyoolae@masto.neb.host avatar

My top 5 most-used commands (filtered against recency bias):

  • git
  • cd
  • .. (aliased to cd ..)
  • rake
  • ls

My bottom 5 least-used commands (selectively chosen from 'used 5 times, used 4 times...used 1 time'):

  • ssh
  • rebash (aliased to source ~/.bashrc)
  • steep (aliased to brew update; brew upgrade)
  • vi
  • chmod

#cli #stats

TheIdOfAlan, to Mac
@TheIdOfAlan@hachyderm.io avatar

Watch out if you use iTerm2 on a mac. The latest version (3.5.x) integrates OpenAI/ChatGPT. It looks like you have to set keys to use it, but I don't want it even in the mix so I'm sticking with the 3.4.x release.

#mac #programming #cli

arn_fai, to Bash French
@arn_fai@toot.aquilenet.fr avatar

Nous cherchons des personnes -voyantes ou qui s'intéressent à la ligne de commande , pour voir si elle seraient prêtes à essayer notre librairie pour son .

Il y a déjà 13 commandes à tester.

Au delà des problèmes de vue, cette librairie peut faciliter la vie d'un public plus large, puisqu'elle filtre les sorties de commandes pour les réduire à l'essentiel.

https://codeberg.org/ARN/shell-a11y

N'hésitez pas à nous contacter. 😉

maegul, to random
@maegul@hachyderm.io avatar

Talking to someone about git's UI, and they compared it to vim and GUI IDEs.

When replying with how vi was basically a GUI of its time over more CLI editing with ed/ex ...

it struck me that it is perhaps glaring that we don't have a "vgit": A more visual/TUI tool that supplanted and erased git from memory apart from the "git compatibility mode" still available in "vgit".

I may be off here, but is this emblematic of the cultish worship of unix tooling in the "linux" era?

#git #cli #unix

sandboxgeneral, to archlinux
@sandboxgeneral@fosstodon.org avatar

paccache command from the pacman-contrib package is a wonderful command. I just cleared over 6GB of cache from / with the command.

https://wiki.archlinux.org/title/Pacman#Cleaning_the_package_cache

scy, (edited ) to linux
@scy@chaos.social avatar

TIL: You can ask GNU tar(1) to change the file names while extracting. (And you can limit tar to only extract specific files, but I knew that already.)

For example, I'm using this command to extract the static binary "resticprofile" from the release tarball, but give it a versioned file name (e.g. "resticprofile-0.26.0"):

VERSION=0.26.0
tar -xf resticprofile_$VERSION_linux_amd64.tar.gz --no-same-owner --transform "s,$,-$VERSION," resticprofile

#Linux #CLI #tar #shell

snail, to random
@snail@crmbl.uk avatar

Just installed the toot CLI Mastodon Clinet within my WSL.

Actually really like it, feels very old school and reminds me of using BBS's in the 90's.

scy, to linux
@scy@chaos.social avatar

🫸 sudo su -
👉 sudo -i

#PSA #Linux #CLI

lukaso666, to debian Polish
@lukaso666@chaos.social avatar
fabian, (edited ) to python
@fabian@floss.social avatar

🐍 aprxc — A #Python #CLI tool to approximate the number of distinct values in a file/iterable using the Chakraborty/Vinodchandran/Meel’s (‘coin flip’) #algorithm¹.

:codeberg: https://codeberg.org/fa81/ApproxyCount

Vs. sort | uniq -c | wc -l: needs slightly more memory, but 5x faster.

Vs. awk '!a[$0]++' | wc -l: just as fast, using much less memory (20x-150x for large inputs).

At the cost of ~1% inaccuracy (configurable).

Useful? You decide! :)

¹ https://arxiv.org/pdf/2301.10191#section.2

#math #ComputerScience

salcode, to random
@salcode@phpc.social avatar

I've noticed running the following from the command line on my Mac does NOT include a newline character at the end of myfile.md

pbpaste > myfile.md

My notes and ideas around this at https://github.com/salcode/salcode-zsh/issues/58

#cli

scy, to random
@scy@chaos.social avatar

Did you know that you can have a #SQLite CLI config file? Pretty handy for changing the default memory limit, output format, or even print a nice banner.

Here's mine:
https://codeberg.org/scy/dotfiles/src/commit/dbe858184c07634d16065773e31bf6c1cb50b357/.sqliterc

It allows SQLite to use up to 1 GiB of page cache, uses nice Unicode box drawing characters, and tracks the runtime of queries by default. It also reminds me of how to turn these things off again.

(Pro tip: Set .timer on last, else it will print the stats for each of the start-up commands … 😬)

#CLI

quincy, to random
@quincy@chaos.social avatar

nice,

lynx -dump -listonly

extracts all the link urls from a html page. #CLI

arn_fai, to accessibility French
@arn_fai@toot.aquilenet.fr avatar

Pour cette 13ème édition de la journée mondiale de sensibilisation à l'accessibilité #a11y, ARN, @hackstub et le groupe a11y-libre, propose à toutes les personnes qui pratiquent la ligne de commande, un hackaton « asynchrone » sur le thème « ligne de commande et cécité » !

Vous avez jusqu'au 31 mai, pour envoyer vos contributions. Il y a de nombreux lots à gagner.

https://arn-fai.net/fr/blog/shell-accessible

#shell #bash #yunohost #cli

Anachron, to linux German
@Anachron@fosstodon.org avatar

Got any #linux blogs, especially with #cli tooling and Automation? Please let me know.

julienbarnoin, to programming
@julienbarnoin@mastodon.gamedev.place avatar

Nowadays terminals and other text views can get rendered with GPU acceleration support, like the kitty terminal that I use.

🤔 That means we could get bloom, chromatic aberration, distortion, depth of field and other post process effects into our terminals, what are we waiting for?

martijn, to vscode
@martijn@ieji.de avatar

The Microsoft #devskim project looks great, but it could use some #dev activity.

There is a great opportunity to improve the #vscode plugin or the #cli tool or to improve it's current default ruleset. You can use this tool for #security in your code, or common best practices.

Will you help me popularize it's usage? For me it's a serious contestant for the sluggish #sonarcube if it gets a bit more love 🩷

https://github.com/microsoft/DevSkim

gnulinux, to nano German
@gnulinux@social.anoxinon.de avatar

Nano 8.0 - oder doch lieber Micro?

Nano, der Texteditor für die Kommandozeile, bietet in der neuesten Version Key-Bindings, die auch Normalsterbliche bedienen können.

#Terminal #Editor #cli #Nano #Micro #Linux

https://gnulinux.ch/nano-8-0-oder-micro

davidbisset, to webdev
@davidbisset@phpc.social avatar

SuperFile is a "fancy and modern #terminal file manager". #cli #webdev

https://github.com/MHNightCat/superfile

ehmicky, to programming
@ehmicky@fosstodon.org avatar

We just released Execa 9, which is our biggest release so far.

If you're currently using Execa, you should check out the new features! Also, if you're currently using zx or Bun shell, you might be interesting in this alternative.

https://medium.com/@ehmicky/execa-9-release-d0d5daaa097f

scy, to linux
@scy@chaos.social avatar
scy, (edited ) to linux
@scy@chaos.social avatar

Edit: Found it, it's sfdisk. Thanks @tante and @trilader!

I'm looking for a specific command-line utility for Linux to do partition and file system manipulation. It's not fdisk.

I remember that it had an option to remove existing filesystem signatures, and you could pass it a desired partition layout as command line arguments, which it would then create.

But I can't remember the name, and it's 2024 so search engines suck.

What's the name of the tool I'm looking for?

aral, to random
@aral@mastodon.ar.al avatar

Just updated my WezTerm¹ configuration file. (In case you’re the kind of person that gets excited by such things.) 👋🤓

https://codeberg.org/aral/.config/src/branch/main/wezterm.lua

¹ https://wezfurlong.org/wezterm/

#WezTerm #config #dotConfig #terminal #cli

ebel, to Bash
@ebel@moytura.org avatar

Any good cli/terminal spell checking programmes? Pass in a file, get an terminal interactive “replace this with that / ignore / add to dict.” workflow.

I remember using aspell(1) back in Ye Olden Days. Is that still the best?

:boost_ok:

dedsyn4ps3, to windows
@dedsyn4ps3@fosstodon.org avatar

The newest project is finally ready for its public debut! Inspired by a tool on #Kali for XFCE desktops, Nix-Incognito was developed to provide a similar mechanism for masking a user's GNOME desktop to better blend in with surrounding #windows PC's during #redteam engagements!

Although it's meant for use on #NixOS systems, it can easily be compiled and ran on any device running #GNOME. Support for other DE's is in the works! 🙌 🤘 😎 #rustlang #cli #programming

https://github.com/dedSyn4ps3/nix-incognito

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