kkarhan, to linux

OS/1337 development:
Using the oldest still maintained did yield about 25% size reduction for it's binary...

The good news: I basically have a new size record with the same settings: 551kB for the Kernel and 402k for toybox - both targeting systems.

The bad news: I've got neither network nor USB support at all!

And I think Network support and having as minimal client is kinda necessary for to work as a "" system at all.

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

Okay, so. I have a #PDF and a #DOCX file. And I’d like to compare them. And since I’m a programmer, I don’t want to compare them visually, but with a #diff. But how?

Like this.

alias pdfcat='gs -q -sDEVICE=txtwrite -o-'
alias doccat='pandoc -t plain'

pdfcat a.pdf > a.txt
doccat b.docx > b.txt

git diff --no-index --word-diff a.txt b.txt

And since we’re using --word-diff, it doesn’t matter that the two files use wildly different line wrapping.

#Unix #Linux #terminal #CLI

dandels, to vim

some tips from living in the terminal:

mv foo{,.bak} is equivalent to mv foo foo.bak

cd - goes back to your previous directory. Also see pushd, popd if you want to treat the directory history as a stack. Nevertheless, excessively typing commands for navigating just gets you repetitive strain injury. I use ranger as a TUI file manager. Hopping in/out of the shell is as easy as S or Ctrl+D.

vim has an inbuilt diffing tool, vimdiff. It opens the two files side by side with color highlighting. It might not be provided by your default vim package. On Arch it's provided by gvim.

git rebase -i HEAD~5 is imo a better way to hack at your last 5 commits than (rebase, reorder, squash, edit, etc) than what I've seen GUI git tools do.

git add -p, git checkout -p(for "patch") runs the command on one chunk at a time, allowing you to inspect each one before doing anything. It's useful if you want to commit or undo only part of yout work. -p works for other commands too.

#git
#vim
#terminal

RL_Dane, (edited ) to random
@RL_Dane@fosstodon.org avatar

#Terminal Jockeys:
Do you rock a:

(#BoostPlease? ;)

fell, to linuxphones
@fell@ma.fellr.net avatar

There it is. My #Nokia #N900 #eBay purchase has been blessed with #postmarketOS. This is going to be my new #MobileLinux #SSH #Terminal device.

#Linux #LinuxMobile

adamsdesk, to random
@adamsdesk@fosstodon.org avatar
scy, to vim
@scy@chaos.social avatar

Anyone got suggestions for a / that

• provides a standard 16(! not 8!) set of ANSI colors that actually correspond to the standard colors (i.e. green looks green, blue looks blue etc.)
• has good contrast between most of these colors, so that if a CLI tool decides to use gray-on-blue status bars, it’s still readable (this is actually the most important feature)
• uses neutral or warm colors (no blue-ish tint)
• optionally: has a 256-color variant for or

amadeus, (edited ) to Bash
@amadeus@mstdn.social avatar

Do you prefer #bash or #zsh and do you use #ohmyzsh? #linux #commandline #terminal

parcifal, to random
@parcifal@hachyderm.io avatar

Curious! Do you use the #terminal inside your #IDE or a separate terminal when you use it? 🤔

cyberghost, to linux

Question: today, I use in if I want to convert a video from to , using this command:

ffmpeg -i file.mkv file2.mp4

Problem is: it takes forever, but the main issue is that my laptop goes to 100% processor use and the cooler fans go nuts, looks like it will take off or set my house on fire.

Is there any app that is more efficient for this? I can't use a cloud service, I have lots of videos to convert, it's not practical

blakespot, to VintageComputing
kubikpixel, to workersrights
@kubikpixel@chaos.social avatar

These five tools are almost never mentioned to make your pleasant in the :

0️⃣ https://taskwarrior.org
1️⃣ https://timewarrior.net
2️⃣ https://taskell.app
3️⃣ https://jrnl.sh
4️⃣ https://github.com/sharkdp/fd

Bonus:
5️⃣ https://github.com/Peltoche/lsd

scy, to linux
@scy@chaos.social avatar

Anyone with a recommendation for a #TUI (aka #terminal) file manager with split (mc-style) or multiple window interface that supports #WebDAV and/or #SFTP on its own?

I know that I could just use FUSE to mount remote folders locally – except that I can’t use FUSE on one of the machines that I need this file manager on (because it’s running WSL1 – please refrain from commenting on that).

So, it needs to be able to talk to WebDAV or SFTP without FUSE.

Suggestions?

#askFedi #CLI #Linux

amoroso, to linux
@amoroso@fosstodon.org avatar

The Kermit communication system is underrated.

Although it's mostly known as a file transfer protocol, it can do so much more. This article describes Kermit's main features and provides examples of typical uses.

https://www.complete.org/kermit

#kermit #linux #terminal

feoh, to random

OK a question for the #terminal #CLI junkies out there.

Are you OK using next/previous key shortcuts to move between tabs, or are you like me where it's random access or GTFO?

For me, being able to Ctrl/Cmd-F1,2,3,4,5 etc to switch between sessions is a huge productivity boost.

I know a lot of folks love #tmux, but is a single key chord to switch sessions even possible in it?

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

A couple of command-line tools I’ve recently switched to using:

  • yazi as file manager instead of lf (fast and, for me at least, more intuitive and better handles default editor)

https://terminaltrove.com/yazi/

  • ouch for compression/decompression from CLI instead of getting the fucking unintuitive flags wrong every fucking time

https://terminaltrove.com/ouch/

(Thanks to @orhun for the recent link to Terminal Trove for the new finds.)

tripplehelix, to videos
@tripplehelix@fosstodon.org avatar

You can watch #videos completely in the #terminal using #mpv.... WHAT?!

use --vo=tct or --vo=caca

(Also the naming schemes are quite funny, including the profiles example in the config)

bitbonk, to random
@bitbonk@mastodon.social avatar

What's the best #terminal and the best #prompt on #macOS?

lori, to linux

Hey folks recommend me your favorite games that can run in the terminal that aren't:

  1. the most basic boring arcade stuff like snake or missile command

  2. roguelikes/dungeon crawlers (love em but there's no lack of those)

  3. chess, backgammon, etc., more meaty board games sure but there's already a million easy to find ways to play chess in a terminal

This is for my machine with no gui so when I say terminal I mean terminal not just like "text based and looks like it'd be in a terminal maybe".

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

The latest version of has our new terminal implementation. It has some real smarts, like command completion. Check it out in the new .

https://jebrains.com/rider

Uraael, (edited ) to linux

Given the importance placed on CLI usage by many in the Linux community it's weird that a terminal isn't open by default on many Distros. Today I remembered that while on Antergos a few years ago I'd installed a terminal that you could call simply by pressing a hotkey.

Enter Yakuake ("Yah-quake")

Yakuake smoothly drops down from the top of your screen in response to the hotkey (the default is F12) and voila!: a ready to use terminal! Add it to Autostart and it'll run whenever you run a session of Linux, forever saving you having to load Konsole (or whatever) every time you want to use it.

And as I'm running KDE the fact it uses Konsole tech means it has that familiar look and feel, but shows Session tabbing by default foregrounding the ability to run separate terminal sessions and putting it within easy reach of GUI users and a mouse-click.

What Terminals do you folks run with?

#Linux #Terminal #Yakuake #KDE #Konsole #LinuxIsAwesome

tantramar, to macos
@tantramar@nojack.easydns.ca avatar

Just picked up a copy of Joe Kissell’s Take Control of the Mac Command Line with Terminal, 3rd edition. @joekissell https://www.takecontrolbooks.com/command-line/?attribute_pa_format=ebook

tripplehelix, (edited ) to linux
@tripplehelix@fosstodon.org avatar

On the #Linux #Terminal, is there a way to list all #systemctl issues? For example, show the number of and which #services have issues, the same way cockpit does in the web interface?


Answer via @kura

systemctl list-units --state failed

You can find all states with

systemctl list-units --state help

or via @luap

systemctl --failed

gregorni, to GNOME
@gregorni@fosstodon.org avatar

I'm already in love with the Ptyxis terminal. The fact that I no longer need to type toolbox enter fedora every time I open the terminal is just 🤌

#Ptyxis #Terminal #toolbx #toolbox #GNOME

vyoma, to ubuntu
@vyoma@mastodon.world avatar

Good bye #WSL and hello #RemoteDevelopmentMachine

For quite a while now, I have relied on terminal into my Windows Subsystem for Linux on my main workstation, as my daily driver. While it works all right for most cases, there are certain compatibility issues that requires a "... in WSL" search term for documentations/issues.

Close to a month now I have been using a #Ubuntu #terminal only VM on my #homelab #Proxmox cluster. For ones who can roll this out, this seems the best approach.

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