this post was submitted on 18 Sep 2023
768 points (98.2% liked)

Linux

56339 readers
695 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 6 years ago
MODERATORS
 
(page 3) 41 comments
sorted by: hot top controversial new old
[–] MonkderZweite@feddit.ch 2 points 2 years ago* (last edited 2 years ago)

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

[–] h_a_r_u_k_i@programming.dev 2 points 2 years 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.

[–] callyral@pawb.social 2 points 2 years ago

I would also recommend -v for verbose and -z when compressing for gzip

What does --auto-compress do?

[–] MangoPenguin@lemmy.blahaj.zone 2 points 2 years ago (2 children)

So a serious question from someone who can't remember console commands ever despite using them constantly.

Why are so many linux CLI commands set up with defaults that no one ever uses? Like if you pretty much always need -f, -v is often used, and --auto-compress is needed to recognize type by extension. Why aren't those the defaults to just using tar?

A lot of applications I find are like this too, they don't come with defaults that work or that anyone would ever use.

load more comments (2 replies)
[–] 1984@lemmy.today 2 points 2 years ago* (last edited 2 years ago)

daily-standup.png eh... :)

Who is taking pics of the standup.. :)

[–] DavidGarcia@feddit.nl 1 points 2 years ago

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

[–] xinayder@infosec.pub 1 points 2 years ago

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.

[–] karet@sh.itjust.works 1 points 2 years ago

Check out atool

[–] Blizzard@lemmy.zip 1 points 2 years ago

Do more like this (・へ・)

[–] bullshitter@lemm.ee -2 points 2 years ago* (last edited 2 years ago)
[–] anteaters@feddit.de -2 points 2 years ago (22 children)

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

[–] ccunix@lemmy.world 1 points 2 years ago

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

[–] qirenni@mastodon.social 0 points 2 years ago

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

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