benjaminhollon, to random
@benjaminhollon@lowkey.zone avatar

So far, https://tty1.blog has largely been tutorials on how to use particular commands or workflows. I'll keep doing that, but I also want to highlight some real-world problems that can easily be solved with some knowledge of shell scripting and the command line.

To start off, here's how I used the find command to create a script for @nantucketebooks to help them easily update the code for all of their books at once.

https://tty1.blog/articles/real-world-solutions-updating-ebooks/

benjaminhollon, to random
@benjaminhollon@lowkey.zone avatar

As a joke, this week I coded a Linux shell: moosh. The whole idea behind moosh is that it responds to every command with a random-length "MooOooOOo…"

So, yes, it's a joke. But let's take a look at it and see if there are any ideas about scripting we can learn along the way.

https://tty1.blog/articles/moosh-the-moo-shell/

benjaminhollon, to neovim
@benjaminhollon@fosstodon.org avatar

Another round of ? Don't mind if I do.

benjaminhollon, to random
@benjaminhollon@fosstodon.org avatar

About a year ago, I stopped using Spotify for my music, instead moving to local audio files. I've never regretted that decision. When I started transitioning to a terminal-based workflow, though, I had to find good utilities to manage and play my collection.

I think that the results have been far more useful than the graphical apps I used to use were.

https://tty1.blog/articles/terminal-music-management/

benjaminhollon, to random
@benjaminhollon@fosstodon.org avatar

Have you ever noticed that there are certain directories everyone has? ~/Documents, ~/Downloads, ~/Desktop, and so forth? Some of them you don't need, some of them you might wish were named differently, but any time you rename or delete them, the originals reappear?

You see, these directories follow a standard so that all programs know where they are—with the right tools under your belt, you can customize them.

https://tty1.blog/articles/xdg-user-dirs/

#tty1

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

Loving the blog, bro!

benjaminhollon, to random
@benjaminhollon@fosstodon.org avatar

A file manager feels like an essential part of an operating system. In a blog where I talk largely about using terminal applications instead of GUIs, you might think I'd spend this article exploring some terminal-based file managers.

Not so. Spare me a moment of your time, friend, and I will endeavour to illuminate why you, master of command-line secrets, have no need for such a petty thing as a "file manager."

https://tty1.blog/articles/no-file-manager/

benjaminhollon, to random
@benjaminhollon@fosstodon.org avatar

While there are hundreds of difficult-to-understand commands out there, few have acquired the notoriety of tar. Most guides are filled with abstruse commands such as tar -czvf archive.tar.gz ~/Downloads/ with little to no explanation. Based on conversations I've had, people who interact with tar tend to just memorize a basic command or two, like tar -xvf <filename> and hope for the best.

Let's take a closer look at tar and learn how it actually works.

https://tty1.blog/articles/how-to-save-the-world-with-tar/

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

I'm proud to present tty1, my new blog about everything to do with the Linux terminal! Check it out if you enjoy noodling around on the command line, spent all your time in your lovingly-configured terminal emulator, or simply want to learn some cool tricks, go check it out!

Introduction post: https://tty1.blog/articles/introduction/
RSS: https://tty1.blog/feed/

Feedback on the site design and writing is very appreciated!

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