this post was submitted on 13 Jun 2023
14 points (100.0% liked)

Linux

47885 readers
1165 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
 

Big fan of commandline tools such as vim, htop etc. What is in your opinion must have tools?

top 25 comments
sorted by: hot top controversial new old
[–] wildbus8979 8 points 1 year ago

xclip is incredibly useful to get and set data from the clipboard!

gopup is to html what jq is to JSON. It allows you to parse html to extract specific data for a given selector.

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

I mentioned this in another post, but tmux is awesome

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

I basically live in nvim. Being able to configure my editor in an actual programming language makes it so much more useful to me than vim could ever be.

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

I found lua to be a better programming language, but the text specific design of vimscript makes way more sense to my brain.

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

fzf for quickly matching file names especially deep in the directory hierarchy

ripgrep for quickly searching for text content within files

dtrx for handling the right extractions of different archive types

[–] wildbus8979 3 points 1 year ago (2 children)

What is the difference between ripgrep and just plain grep?

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

ripgrep is a reimplementation of grep in Rust. It benchmarks faster for large file searches and also comes with quality of life features like syntax highlighting by default.

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

It also ignores files in .gitignore and some others by default

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

It also has a much simpler and forgiving syntax. Just type rg anything and it finds anything

[–] wildbus8979 1 points 1 year ago

grep does that through fgrep

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

Even better, there is ripgrep-all that can also search in binary files like PDFs and office documents: https://github.com/phiresky/ripgrep-all

[–] [email protected] 3 points 1 year ago
  • ranger and mc - both are file managers, and their approach is so different that I choose one of them I need at the moment depending on what do I want to do (mc for traditional file management, ranger for looking around the directory tree and peeking into files)
  • htop, tmux - classics
  • weechat, profanity - for my IM needs
  • ripgrep - for searching through files
  • magic-wormhole for file and ssh public key exchange
  • mosh for when the network conditions aren't ideal
  • nmap to see if that machine I've connected into the network is up and what IP did it get
  • bat for quick looking into files
  • gdb, with mandatory gdb dashboard
  • nvim for serious text and code editing, micro for more casual editing
[–] [email protected] 3 points 1 year ago

Ranger and/or vifm as file managers. Can't live without them

[–] [email protected] 2 points 1 year ago
  • gcalcli : helps accessing google calendar using calendar api
  • neix : rss reader
  • I don't know if it counts but : fish shell
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

ffmpeg

alsamixer

And on a more devops front k9s https://k9scli.io/

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

k9s is a game changer

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

They might have specific uses that most users might not need and there may be better alternatives but some of the ones I've been using are:

CISO - A command line tool for making compressed ISO files that can be used in emulators and some video game consoles running custom firmware.

RAR - The Linux version of WinRAR, which doesn't have a UI like the Windows version does.

Flatpak - Probably well known but in case a newer Linux user sees this, it's used to download and install flatpaks from Flathub.

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

I have mostly replaced all command line stuff with Emacs, but there are still a few CLI utilities that I continue to use, whether I am in the CLI directly or whether I am using Emacs:

  • tmux or screen (terminal multiplexing)
  • bash (shell scripting)
  • grep, sed (filtering, formatting)
  • ps, pgrep, pkill (process control)
  • ls, find, du (filesystem search)
  • ssh, nc, rsync, sshfs, sftp (remote access, file transfer)
  • tee, dd (pipe control)
  • less, emacs, diff, patch, pandoc (text editing)
  • man, apropos (manual)
  • tar, gzip, bzip2, xz (archiving)
  • hexdump, base64, basenc, sha256sum (data encoding, checksums)
  • wget, curl, (HTTP client)
  • dpkg, apt-get, guix (package management)
  • mpv (media player)
  • ldd, objdump, readelf (inspecting binary files)
  • zfs (maintaining my backup filesystem)
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

i use kibi as a text editor

i also have terminal client called alacritty

also doas instead of sudo

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

off the top of my head:

  • vim
  • git
  • bash
  • make
  • whatever-compiler-im-using
  • curl
  • less
  • grep
[–] [email protected] 2 points 1 year ago

I am thoroughly enjoying using mcfly.

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

argos-translate for offline machine language translation.

tmux & neovim for editing files and organizing the terminal displays.

asciinema for recording and playing back terminal sessions.

load more comments
view more: next ›