this post was submitted on 03 Jan 2025
375 points (98.0% liked)

Linux

48903 readers
952 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
 

Which Linux command or utility is simple, powerful, and surprisingly unknown to many people or used less often?

This could be a command or a piece of software or an application.

For example I'm surprised to find that many people are unaware of Caddy, a very simple web server that can make setting up a reverse proxy incredibly easy.

Another example is fzf. Many people overlook this, a fast command-line fuzzy finder. It’s versatile for searching files, directories, or even shell history with minimal effort.

you are viewing a single comment's thread
view the rest of the comments
[–] hperrin@lemmy.ca 7 points 6 days ago (1 children)

degit is a tool that will check out a git repo (or a specific branch or commit), but not set it up as a git repo. Basically just downloading a specific commit to a directory.

[–] x00z@lemmy.world 2 points 6 days ago (1 children)

So just clone a git and delete the .git folder? Seems pretty useless to me.

[–] hperrin@lemmy.ca 2 points 6 days ago (1 children)

If you want to waste bandwidth downloading the entire commit history, go ahead.

[–] ABasilPlant@lemmy.world 3 points 6 days ago* (last edited 6 days ago) (1 children)

~~--depth=1? I use this all the time when I clone the kernel.~~

Edit: reread that you wanted to download code at a particular commit.

[–] Zykino@programming.dev 3 points 6 days ago (1 children)
[–] ABasilPlant@lemmy.world 1 points 5 days ago

Can single-branch handle cloning from a particular commit? I know that it's possible to clone particular branches and particular tags with depth=1, but OP states cloning at a particular commit, not HEAD.