this post was submitted on 21 Nov 2024
70 points (98.6% liked)

Linux

48329 readers
843 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
 

I'm a complete moron, I should've had that backed up and used trash...
I had to learn the hard way lol

you are viewing a single comment's thread
view the rest of the comments
[–] davel@lemmy.ml 40 points 3 days ago (2 children)

I should’ve […] used trash

For those who don’t know: trash-cli

[–] gazby@lemmy.dbzer0.com 7 points 3 days ago

It upsets me to no end that this isn't a standard package 😭

[–] UnRelatedBurner@sh.itjust.works 5 points 3 days ago (1 children)

What an awesome tool that I wish I knew sooner. Also the && operator in sh. I think you can figure out what happened.

[–] clb92@feddit.dk 4 points 3 days ago* (last edited 3 days ago) (1 children)

Also the && operator in sh. I think you can figure out what happened.

I'm guessing something like... Copy file/dir from location A to location B and then delete from A, but the copy had failed (and the delete unfortunately worked fine)?

I left the last sentence open ended, for comedic effect, but if you really wanna know:

I transcoded videos with ffmpeg, and tried to exit out of the bash script with ctrl C. the script was something like:

for
    ffmpeg file finishedFile;
    rm file;

my ^C broke out only from ffmpeg and before I realized what happened the file got removed and the next ffmpeg call filled my terminal. I tought the key didn't register, or something was stuck, so I pressed it again.. and again.. it cost like 45minutes of footage, wasn't that important tho.