MartinXYZ,

I wish I was better at using the terminal. I’m running EndeavourOS as my daily driver, so I use it a lot but I wish I was even more comfortable with it. Are there any good crash courses available for noobs?

zaphodb2002,

Linuxcommand.org is a great start. Writing shell scripts and using cli programs for things you actually need and will use will greatly accelerate learning. I stopped using a file manager entirely to force myself to learn how to get around, then switched to neovim from vscodium, taskwarrior instead of Obsidian Tasks, termdown for timers, etc. A tiling wm makes the transition easier imo because you can have many terminals open for visual multitasking. Like with anything, you’ll get better faster if you just do it a bunch and don’t be afraid to mess up and get your hands dirty.

fosforus,

============================================== Using emacs for everything

nickwitha_k,

Or vim. Both are fine choices.

akulium,

Both are fine choices for a text editor. But for everything? Vim doesn’t even have a web browser and a psychotherapist built in, smh absolutely unusable

nickwitha_k,

I dunno. There is the browser.vim plugin and with the vim-ai plugin, you can use chatgpt as a shitty, HIPPA non-compliant therapist that might give objectively harmful advice.

kenoh,
@kenoh@lemm.ee avatar

I know it’s faster and even easier for many things, but it’s with great shame that I would rather mess with network interfaces via GUI than on command line. nmtui is a poor substitute.

danikpapas,

Nmtui is a godly creation, there is no better way no setup NeworkManager

yojimbo,

A dirty linux admin here. Imagine you get ssh’d in nginx log folder and all you want to know are all the ips that have been beating againts certain URL in around last let’s say last seven days and getting 429 most frequent first. In kittie script its like find -mtime -7 -name “*access*” -exec zgrep $some_damed_url {} ; | grep 429 | awk ‘{print $3}’ | sort | uniq -c | sort -r | less depends on how y’r logs look (and I assume you’ve been managing them - that’s where the zgrep comes from) should be run in tmux and could (should?) be written better 'n all - but my point is - do that for me in gui

(I’m waiting ⏲)

Hobo,

In splunk this is a pretty straightforward query and can be piped to stats count and sorted. I don’t know if you’d exactly count that as gui though.

immortalgeek,

As a general rule, I will have most of my app and system logs sent to a central log aggregation server. Splunk, log entries, even cloudwatch can do this now.

But you are right, if there is an archaic server that you need to analyse logs from, nothing beats a find/grep/sed

dx1,

Seems like a lot of Linux/programming memes basically just stem from a place of real noob insecurity. “I can’t figure out how to quit vim!” “CLI is scary!” “Arch users say ‘I use arch BTW’!” No offense to the noobs, it’s just that, you know, people use this stuff for an actual reason. Yeah, vim requires you to be in normal mode and hit :q or even (gasp) :q! to quit sometimes, it’s also a hyperflexible editor that lets you program super powerful functions, macros, do dirt-easy regex replacements, etc. Including binding Ctrl-Q to quit if you really struggle with that.

30mag,

Seems like a lot of Linux/programming memes basically just stem from a place of real noob insecurity.

It is easy to relate to because everyone was a noob at one point.

TheKarion,

How the HELL do you use nnn???

dx1,

My absolute favorite is nnn (mine’s aliased from “n3”, is that insane) -> “r” which gives you a vim console for renaming all the contents of a directory. Beats perl-rename and everything else cause it’s actually interactive. Although it is possible to write files over each other with it, so gotta be careful.

In the default view you literally just use the arrow keys to navigate, basically the same as the old Windows tree explorer or whatever else like that. 1/2/3/4 flip between tabs. If you hit “right” on a file I think it hits xdg-open or something to open it in the default program. “e” opens text in your … default EDITOR? Guessing. “?” for help and a lot of other commands.

TheKarion,

How do you cut and copy a file? How do you edit the name of a file? And how do you make a symlink with it?

dx1,

I don’t really use it that much honestly. Let me see…Ctrl-R is rename for a single file. Copy/move I think are selection operations, one way is to press space next to file names, navigate where you want and do Ctrl-P to copy or Ctrl-V to move (cut). Symlink, uh, just put the cursor on the file, “n”, “s”, type the name out and press enter.

You can also use the batch rename editor to move files it looks like. I hadn’t tried that before, but it does let you put in an arbitrary path.

gareins,

Also, ddd

MonkderZweite,

It’s not about power but about usability. Most GUI tools are worse software, somewhere. Example: Evolution Mail and Foliate (E-Reader) just stopped working for me, because they somehow get bubblewrap to want to open something in /root/.cache (which fails), which is just silly.

MossBear,

I greatly prefer Krita with a GUI.

1984,
@1984@lemmy.today avatar

But it’s actually better!

I know it’s easy to think that it’s about showing off, but honestly, the Linux graphical tools are much worse than the command line most of the time.

Installing software is much faster and more reliable using the command line than any graphical tool I’ve used.

Neon,

It really depends.

For formatting drives i.e. i much prefer the GUI.

1984,
@1984@lemmy.today avatar

Yeah that I agree with.

backhdlp,
@backhdlp@lemmy.blahaj.zone avatar

Nothing can beat GParted imo

dx1,

Gparted is nicer for some stuff (have fun resizing a partition without it, for example), but for basics it’s hard to go wrong with cfdisk IMO. Or even plain fdisk. Very useful to actually know how to use that if you don’t have access to gparted, e.g., system recovery or install, and cfdisk is super easy to use too.

jarfil,

It also has an easy explanation:

  1. Programmer wants to solve a problem, writes some functions, can call them from main()
  2. Programmer is also Sysadmin, can’t be bothered compiling stuff for every simple thing, so adds a CLI parser to call the different functions from main()
  3. End user wants a GUI… but Sysadmin already has all they want on the CLI, so maybe someone puts up some GUI when they’re bored, or it really, really, really makes sense… or end user is SOL
superkret,

As an experiment, I set up a laptop with what I call Linu (Linux without X).
Just wanted to see how much functionality I could get on a CLI/framebuffer-only system.
I was pretty surprised. It could browse the web (with graphics), manage e-mail, view pdf files, read e-books, listen to music, torrent and watch movies, play some games, multitask…

It wasn’t practical at all, but definitely turned my netbook into a fun toy.

AlpacaChariot,

Linu

Brilliant, also works for Wayland systems

superkret,

I’m pretty sure currently every Wayland system still has X installed, no?

cley_faye,

It might be installed, but not used. You can’t have both running. But there’s a compatibility layer. Sometimes.

kuberoot,

I believe XWayland does, in fact, use X. That’s the way the compatibility layer works - anything that isn’t wayland-native gets ran in an X server, and XWayland then handles the input and display between Wayland and the internal X server.

cley_faye,

Oh, interesting. I should really try it out. But I’ve been on the “my machine’s working, and there’s no real incentive to change thing” team for a while now :D

kuberoot,

Yeah, the reasons to switch to Wayland are either just to use the newest thing, or niche things like fractional DPI scaling support in GNOME. I started using it for that and decided to stick with it, even though I no longer need that, and so far it’s been fine.

Many people complain about Wayland being a waste of time because of the missing features - I hope it grows to be a full fledged replacement of X, it’s probably not something you should be explicitly switching to if you don’t want to deal with the issues. I like setting things up and learning how stuff works, so it worked out for me.

I can tell you that if you switch, for example, screen sharing will probably be broken in various applications, you might experience some issued with copy/pasting between applications, screenshotting/screen recording software might have issues (in particular, there’s no way for an app to know where its window is on the screen), at least on Plasma some apps/games will pause/stop working when minimized, because they stop rendering and they might have logic tied to that.

So… Yeah, might be fun to try out - you can have both installed at once and choose which you want on the greeter - but might not be good enough as a daily driver for you.

MonkderZweite, (edited )

You know what, i just drop my personal list of noteworthy shell-tools here (note directfb2 and twin). And edir, clipboard, pass and portal/croc for the win.

alternatives

  • fd: simpler find
  • bat: nicer cat
  • lsd: ls with NerdFont icons
  • broot: smarter tree

GUI alternatives

Task Management:

  • dun: note-taking & task manager
  • cubby: encrypted note taking to cloud, with markdown
  • girok: TUI calendar

Services:

File Manager:

  • clifm: nice shell file manager with tagging
  • nnn: cli fm with split-view file preview
  • TUIFI Manager: cli fm with rendered images in 2D layout
  • xplr: hackable, minimal, TUI fm

Login Manager:

  • CDM: shell login manager with history
  • Qingy: directfb login manager

Others:

ease of use

  • edir: rename with text file
  • clipboard: shell clipboard manager & more
  • portal: cli file transfer agent between computers
  • croc: simple file transfer tool via local server, Android Appp too
  • transfer.sh: cli file sharing via cloud
  • detox: file name cleanup
  • ouch: simple de/compressor
  • mnamer: intelligent video renamer
  • gum: bells and whistles for shell scripters
  • pytermgui: bells and whistles for python scripters

If someone has more/better tools, please shout.

stepanzak,

Thanks for the list! You links doesn’t work because they are all in a code block btw. I also love these tools:

  • zoxide: smart cd
  • atuin: shell history with synchronization and beautiful fuzzy search (but i unbinded it from the up arrow)
  • Tealdeer: fast and good looking tldr pages
MonkderZweite, (edited )

Nah, it’s just that lemmy can’t do markdown.

edit: Oh. It does.

stepanzak,

Test


<span style="color:#323232;">[Test2](https://example.com)
</span>

Yeah maybe it’s lemmy’s fault, but removing the code block should fix it.

stepanzak,

Do you know about any way to render nerd fonts in framebuffer? That’s actually the only thing stopping me from using only terminal in most cases.

stagen,
@stagen@feddit.dk avatar

Rings true for Mac users too.

And windows, to some extent.

southbayrideshare,

Finally ditching Apple’s “Music” player for MOC after watching Apple dismantle/bury basic features over the last decade.

Rbon,
@Rbon@lemmy.sdf.org avatar

The next level above that is installing a keyboard-driven window manager like i3. That’s where the dopamine really comes from.

Andrew15_5,

As a person who uses terminal almost all the time, this is sort of true. The real power comes with automations.

FuglyDuck,
@FuglyDuck@lemmy.world avatar

I dunno. There is something empowering whenever windows-super users find out you (almost) never have to reboot to update.

(Just for the kernel, then all it is, is a reboot. I like windows where it requires installation while booting- actually.) (Okay, so I just run the command line on startup automatically. You’re right.)

moist_towelettes,
Siegfried,

I prefer the magic of “installing the new OS” without formatting or formatting your OS while “keeping your user config files”

kionite231,

/bin/bash

Andrew15_5,

/bin/zsh

qjkxbmwvz,

The nicest aspect, for me, is that I rarely need to do something just once. So while I sometimes prefer a GUI workflow for a simple one-off, if it’s something I may end up repeating, then I’d rather have a command-line approach which can be chucked in a shell script, run by cron, or easily invoked over ssh on my phone.

But for highly interactive things (e.g., reading email), I’ll stick to GUI solutions like a pleb.

FinalBoy1975,

Linux is so awesome because of scripting and automation. It’s just there, an expected thing it wants the user to do. My favorite thing about automation and scripting is how you can write a script in the terminal and make it part of the GUI experience. Everyone has their own preference about how to edit a file. I’ve been writing scripts since the 1990s, so I’m just used to doing that in the terminal. The OS has evolved since then so much. So, I write up my script in the terminal, then I turn it into something I can click on and run when I need to, on top of scheduling its execution. I think that’s really special and unique about Linux now. Mac OS was like that in the past. It got less so over the years and Apple made it harder for the user to do this. Linux has maintained this type of thing that has always been since UNIX and I really think it is a driving force for the future of computing. It now stands as the only OS that allows the user to customize his or her experience through scripting as a totally functional and integrated aspect of the OS. You don’t have to do anything special to get scripting to work. It comes to you this way. You just write your script. You decide how you want to execute your script, which can even include executing it in the GUI if you want. Microsoft Windows never had this and is desperately trying to catch up, but in order to do it on that OS, it’s very clunky. Linux right now is the only OS available that allows you to do exactly what you’ve described. You only have to do it once if you have the know-how. And it’s just there. No special things to install or create.

FinalBoy1975,

It’s like, when you install arch, you just feel like not bothering with installing the gui stuff, because you’re so above pointing and clicking on things. If only they’d make a command line version of Metro Exodus. Metro Exodus on the command line would be so much more powerful. It’s so lame with graphics. Don’t get me started on editing my photos of the kids and fam. Just load that pic up on the command line as raw data. I’ll just eliminate the red eye reading the machine code and editing it. GUIs are for weaklings. Just install arch without X or gnome or any of that stuff. Don’t even get me started on the KDE wussies. Oh yeah, you want things to look all pretty on your screen to click on. Computers aren’t pretty. They take commands. All you need are fingers and a keyboard. You can play tetris on the terminal, you know. No need for graphics. The linux devs just added graphics and a GUI for wussy users. Even invented that penguin thing to make it pretty and dumbed down.

ObviouslyNotBanana,
@ObviouslyNotBanana@lemmy.world avatar

Arch with gnome? cursed, I say

TheGreenGolem,

… btw

Slotos,

Libcaca renderer for Metro Exodus would be… intriguing.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • oklahoma
  • feritale
  • SuperSentai
  • KamenRider
  • All magazines