220

I've been using linux for more than a decade at this point, but in all that time I've rarely had a disk drive. The fact that this command exists and is just, one of the core utils included with your distro along with su and kill and mount and more is just… so beautiful. 10 years amore with this OS and I'm still learning things that the elders in the audience are snickering at me for only learning 5 minutes ago while they were popping their disk trays open with a single command back when disk drives were a non optional component.

you are viewing a single comment's thread
view the rest of the comments
[-] Squiddlioni@kbin.melroy.org 26 points 2 days ago

Almost 20 years ago I convinced my high school library to let me install Debian on one of the computer groups. I found the "eject" command, and wrote a script that just invoked it with an argument to close the tray. I named that script "inject". Being high schoolers, my friends and I made scripts to "eject" and "inject", along with various beeps, and named the scripts suggestive and tawdry things. We all had a good giggle setting the systems off on their little routines and walking away.

[-] furrowsofar@beehaw.org 5 points 2 days ago

Eject is not just for CDs. You still have to eject any hot mount physical media. Sadly the eject command only works in some cases. I do not think it works for hot mount SATA dives for example.

[-] swab148@lemm.ee 5 points 2 days ago

I want it to work for all drives. Sometimes I just wanna launch my SSD across the room for shits and giggles, is there a bash command for that yet?

[-] CapillaryUpgrade@lemmy.sdf.org 3 points 2 days ago

No, sadly not. Maybe it's implemented in Fish?

[-] swab148@lemm.ee 2 points 2 days ago

Ooh, or maybe an oh-my-zsh plugin!

this post was submitted on 08 Jan 2025
220 points (95.8% liked)

Linux

48914 readers
681 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS