this post was submitted on 18 Sep 2023
819 points (98.0% liked)

Linux

50861 readers
905 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
 
(page 3) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago

OMG always assumed that -c always stands for "compress" and I always placed .gz at the end to remember to place -x when extracting

[–] [email protected] 2 points 1 year ago (2 children)

I always use tldr for these things, super handy to have.

load more comments (2 replies)
[–] [email protected] 2 points 1 year ago

That looks really cool. And finally a guide that knows -z is not necessary all the time.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Or -I 'compress-command' -cf ... if not supported.

[–] [email protected] 2 points 1 year ago

Nowaday I have ChatGPT spew me command. I usually do a quick validation before running. Nevertheless, most of simple operations are correct so I don't need to.

I then note the command to my persional gist cheatsheet. Next time, since the command is "cached", I'll be able to be productive quicker.

So much better than googling.

[–] FarceMultiplier 2 points 1 year ago

I like -v. If it doesn't scroll like mad I don't feel like I'm working.

[–] [email protected] 1 points 1 year ago

Check out atool

[–] [email protected] 1 points 1 year ago

Do more like this (・へ・)

[–] [email protected] 1 points 1 year ago (1 children)

Don't you have to specify the compression algorithm when extracting? I always use tar -xzf for gzip files and if I remove -z it just fails.

[–] [email protected] 2 points 1 year ago

I've been using only xf for a long time now. Don't remember ever getting an error from it in the last years. Maybe tar can now check the magic number or something to figure out what the format is?

[–] [email protected] 1 points 1 year ago

great, now how do I use it together with the 'feather' command?

[–] [email protected] -2 points 1 year ago* (last edited 1 year ago)
[–] [email protected] -5 points 1 year ago (4 children)

tar is just the worst shell command in existence. Why do people still bother with it?

[–] [email protected] 2 points 1 year ago (2 children)
[–] [email protected] 0 points 1 year ago

I use zip/unzip if I have the option

[–] [email protected] -3 points 1 year ago (6 children)

I avoid it and use zip or 7z if I can. But for some crazy reason some people stil insist on using that garbage tool and I have no idea why.

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago) (1 children)

Because everyone else does, and if everyone else does, then I must, and if I do, then everyone else must, and then everyone else does.

Repeat loop.

[–] [email protected] -5 points 1 year ago (4 children)

For all I care it goes on the same garbage dump as LaTeX.

load more comments (4 replies)
load more comments (4 replies)
[–] [email protected] 1 points 1 year ago

You've never used find have you? Let's not even get started on the config file syntax for sendmail either.

[–] [email protected] 0 points 1 year ago

@anteaters @sebastiancarlos a little knowledge really is a dangerous thing

load more comments (1 replies)
load more comments
view more: ‹ prev next ›