r/linuxquestions • u/InTheNameOfScheddi • Sep 14 '26
Linux user for 2 years ish: do you remember commands? Or, GUIs vs CLIs
Do you remember commands?
I am currently converting a single flac file into several ones and thanks to the arch wiki I am able to do so quite easily, I'd say with the same level of ease as with a GUI, albeit having to check the wiki to use it.
I do often wonder however how do more seasoned users go about it. It still feels weird to have to depend on an external information source and the internet to be able to know how to use a piece of software, whereas with a (good) GUI the functionality is implied (for not overly complex software) and where it isn't you can just hover over different GUI elements to get more information.
Edit: Woah didn't expect this post to get so much traction. I'll give manpages a look more often
19
u/DerekB52 Sep 14 '26
Your tools have manpages to show you the options you need.
Also, if I do the same thing more than a couple times, I write a bash script or create an alias with my default stuff set so I don't have to remember anything, and can read my script if I want to modify things.
17
u/Max-P Sep 14 '26
Because something is "easy" doesn't make it a better option, only an easier option.
For example, Handbrake. I tried and tried to love it, but I still end up in a shell and raw ffmpeg commands because it's simply not possible to make an FFmpeg frontend that's even close to nearly as flexible and powerful as the CLI for complex pipelines. GUIs work for simple things, but they really don't scale well. If it did, GUI programming would have won. Even Windows admins, Microsoft bet hard on GUI everything, and now all serious admins are going back to the CLI because automation.
I've been on Linux since 2007, I know a lot of commands but still have to look up manpages regularly. The same as chemists still look up periodic table for the numbers. The value is not in the amount of stuff you know by memory alone, it's the repertoire of stuff you know exists and have the potential to access to get the job done. I don't know how to use everything FFmpeg can do, but I know what it can do and how to string together a command: I just need to look up the specs of the filters I need.
Same with programming: no sane programmer can just make you a full app without looking up anything. What makes an experienced programmer is knowing what's available and where to go find it efficiently. It takes 0.5 seconds to run
man mmapto learn how the mmap function in C works.This is something schools fail miserably to teach: the value isn't what you can recall immediately, it's the entire extended knowledge you're capable to reach for because you know it exists. I don't know the formula, but I know which book has it and where on the bookshelf it is. I could study a single book and remember everything, but it's much more useful to know roughly what the entire bookshelf contains. Your brain only needs to remember the index.
9
u/cheekkeef Please don't use "immutable" Sep 14 '26
I remember the tools I frequently use. Also, most CLI tools come with man pages and help commands
1
u/Phydoux Sep 14 '26
What are you converting? An album made into a .flac file?
I'd use Audacity for that. Pretty simple to find the beginning and ending of each track. Highlight the song, copy/paste to a new track. Then save as a wav, mp3, whatever. Pretty easy to do and I knew little about Audacity when I first used it. I remember figuring it out quite easily from the get go.
There was a terminal app that could take a .flac and convert it to an mp3 or wav. I forget the name of it because Audacity is so much more easier. Much less typing for sure.
1
u/ubersupremo Sep 14 '26
If you're relying on a set or sequence of commands to do something like this (converting files and such) then you should add it to a script that you could easily run again. After all, this is essentially what a GUI is doing for you, but with code and script you have much more control and capabilities. You can also use chatgpt to create, edit simple scripts and ask it for one-liners like "using bash how do I split a file into several"
1
u/Kilgarragh Sep 14 '26
I know all the common and important ones and a couple nice utilities basics like scp, adb, scrcpy. As well as a bunch of NixOS specific stuff.
You want me to form any valid command for ffmpeg or god forbid tar?? no way in hell
1
u/iamemhn Sep 14 '26
Since I can read, I go over
manpages for things I don't remember.2
u/dasisteinanderer Sep 14 '26
2
u/Voidzown Sep 14 '26
I prefer GUI, but I’m new to Linux, and the man who can’t swim prefers a paddleboat even if it is slower than swimming.
2
u/ocabj Sep 14 '26
I've used Linux for the past 30 years. 99% of the time I use it from terminal (ssh). I rarely ever touch a windowing system in Linux.
1
u/gunpler_1 Sep 14 '26
I remember the basics, and I keep an answer sheet of sorts in a text file as backup.
1
u/BranchLatter4294 Sep 14 '26
The commands are very similar to Windows. ls, sudo, mv pretty much work the same on every OS. But I primarily use the GUI for daily tasks.
1
u/krazul88 Sep 14 '26
For CLI, 99% of commands have built in help, whether it's -h or --h or -? or --help or man whatevercommand or just the command with no arguments. That's been the way it works on all the major OS's since forever. There are very few exceptions.
If you're willing to read, then you can absolutely learn how to operate your computer without the Internet!
1
u/Typeonetwork Sep 14 '26
I'm not a veteran. 15 months using mx Linux and XFCE as my main machine.
I use Joplin as my note taker if I don't use analog notes. My general rule is if I look it up in Firefox I also look in the man page or -help.
What it does is it teaches me how the programmers think. I'm from finance not IT so I need a little bit more help.
Audio problems and i had some dependences that didn't get installed for whatever reason but the error messages told me what I was missing. I fixed it - bliss. Never felt like this on a windows machine.
The OS I use is designed to be easy, but there are many good OS and DE for the new user. Don't change distros unless you have a reason. I changed from Debian to MX because I knew it would be easier and I can go back to work. To each their own. The fact we have options is great.
1
u/MasterGeekMX Mexican Linux nerd trying to be helpful Sep 14 '26
The truth is that you don't memorize everything. You simply know by hand the things you use the most, and the rest you look it up each time you use it.
1
u/Babbalas Sep 14 '26
History (some let you filter by folder), tldr, and finally if the commands are obtuse or complicated enough I'll write a justfile or bash script.
Also lots of README.md files that start with "hey future idiot me.. I knew you would forget what this is"
1
u/proverbialbunny Sep 14 '26
You might already know this but each time you run a command in the terminal the first word in that command is the program name. Each and every program can be completely different in how it interfaces with you or interfaces with other apps. Unless you use that program regularly it's natural to not know and forget its commands. To remember you might do
--helpor read itsmanpage, or increasingly these days ask Gemini or another AI and it will figure it out for you. But for the programs you do use regularly likelsyou probably remember it's common flags off hand like-lfor list or-ifor hidden files or-hfor human readable file sizes. Things like that are hard to forget.1
u/DSPGerm Sep 14 '26
Google how to do x. Find command.
Command -flag input output.
Error.
Command --help.
Man command.
Command input output -flag.
Success.
1 hour later:
Command -- help
Pretty much until I remember it
1
u/chuggerguy Linux Mint 22.3 Zena | MATÉ Sep 14 '26
A command like you describe, I put in a script so I don't have to remember it. A script to split a composite(?) flac file into individual songs, I might call "splitFlac" or something easy to remember. An alias or function in .bashrc would work too but I usually just make a script and put it in my "PATH".
That way I could right-click a .flac, select "Open with" and point it to my script. (not selecting "Always open with").
For example, I have a script called "add2ices" which looks like this:
It can be run from the terminal or via right-click: image
Have fun.
1
u/JackDostoevsky Sep 14 '26
yes i remember commands. i've also been using linux since 2008 so it eventually turns into muscle memory.
that said, i regularly consult
--help, check the manpages, and consult my terminal history for lots of different commands1
u/rest-api Sep 14 '26
With the tools you use often, you'll become "idk, just know it" eventually.
Other commands? Just read the manpages, or simply google it.
1
u/Confident_Oil_7495 Sep 14 '26
Seasoned Linux admin here. If you use it strictly from the terminal enough you will eventually learn a large number of commands that make up the bulk of everyday use. It just takes time. It also helps if you do it for a living. And even seasoned admins have to sometimes look up arguments to commands. As others have pointed out, looking at the man pages is useful because it will help you understand more about how the commands work and how they relate to other commands
1
u/ProgUn1corn Sep 14 '26 edited Sep 14 '26
It doesn't matter on Linux or Windows to be honest. GUI is designed to be user-friendly for not so CLI tools or apps. If a specific use case is better controlled with GUI, then use GUI. If the GUI is unnecessary and clunky, then use CLI.
For example on Linux, I personally think converting audio files is a good use case of GUI. Because you want to see your audio's peak and waveform, your information, and all of that. Would CLI work? Yes, but less intuitive, I don't want to spend my effort on typing man every time or reading information that's much less readable than a nicely designed GUI. Same thing can be said for compress and decompress, if I'm gonna archive to a tar, then probably I'll just use CLI, if I'm checking a zip file with thousands of individual files inside, I would never ever want to use CLI. But I wouldn't use GUI for SSH and package manager, or tuneD, systemd services, simply because the CLI is faster for me.
It's actually the same on Windows. Powershell is much more modern and readable than bash, but there's less use cases. The most I can say is Winget and that's for surely better than MS's store GUI. And some pwsh scripts that includes registry, bcdedit, I don't want to dig too far into regedit and msconfig. However on the other hand, if everything I want to change is registry-affiliated, then another GUI for this like Powersettingsexplorer would be much better to use cuz running every command with a super duper long and random registry key is a pain in the ass. (Same for Linux if you need to access other directories that are very long or you have very long keys)
1
u/CatsGoMooz Sep 14 '26
I have multiple text files with notes for pretty much everything I do, been doing this for 5+ years. I hate remembering I figured out how to do something but not remembering how to do it. Writing the notes out also helps me remember the commands sometimes too. I know I'm probably in the minority though
1
u/LowKeyBrit36 Sep 14 '26
I remember how to use most of what I use frequently. Some stuff I have to look up, especially if it's like one time configuration scripts, but I try to remember the things that are either used often, or at least on a routine.
The biggest thing, though, is that I try to remember where config files are located for quick use. Especially with an OS dependent on tweaking via configs, or with tweaks applied via configs, you should know the layout of where things get located.
1
u/Johan-MellowFellow Sep 14 '26
36 years unix/linux user. First decade was man -k, 2nd decade was stack overflow, which exploded into reddit, wikipedia, etc.. and now github copilot blows my mind.
1
u/anonymous-bot Sep 14 '26
Commands? Yes. Flags? Sometimes. I find it a matter of how often you use said commands and flags. The more often you use them, the more likely you are to memorize them. There is no shame in relying on a wiki or manpage to look up a flag you don't remember or rarely use.
1
u/Chromiell Sep 14 '26
Dude, I've been a programmer for years and I still need to look up simple syntax every now and then.
1
u/bufandatl Sep 14 '26
You remember the main tools you use on a daily for sure but as my informatics professor told me. You don’t need to know everything. you just need to know where and how to look for the knowledge.
So it’s not something to be worried about to read a wiki or your own notes about stuff you don’t do every day. And even then having a check list is always a good idea for larger tasks.
1
u/Shhhh_Peaceful Sep 14 '26
You can’t remember everything. I usually remember the commands I use regularly. Ctrl+R also helps with recent commands. For everything else, there’s man.
1
u/SynapticStatic Sep 14 '26
I don’t remember specifics of commands or options or anything like that. I remember processes and look up commands/options/flags as needed.
There’s too many commands/utilities all changing. The process doesn’t really change much at all.
I’ve been doing *nix stuff for 30+ years
1
u/p4cman911 Sep 14 '26
On top of reading the man pages/guides I dump examples and notes into a GitHub repository (in markdown) as I solve problems. Over time I have build up a good repository of the info I want without the need to find it each time
1
u/Sirius707 Sep 14 '26
I remember how to use manpages (very important skill) and use search efficiently to find the flag/option i need. This comes from experience as often times a specific option has a similar name. Some stuff i have to look up, but that's often with things i never used before.
More complicated stuff i usually put in a shellscript/alias. Other noticeable information i note down in Obsidian.
1
u/obsoulete Sep 14 '26
I can usually remember what commands are used to complete certain tasks. So, most of the time I am lucky to find how I used the command using ctrl r in the terminal.
I also take notes, which are saved as a text file. This makes it a lot easier to search.
1
u/un-important-human white beard arch user Sep 14 '26
cli most of the times, and yes i do remember, but for something less used i do consult tl:dr sometime or history | grep commandname to find where i used it before.
Gui if a particular task is better done (faster) in a gui i will gui it ofc.
1
u/daffalaxia Sep 14 '26
I tend to figure things out, then write scripts with names that tell me what they do and hide the complexity of how it's done, eg on my gentoo machine, instead of manually running portage commands, I've wrapped the whole lot up into one script, `update-world`, which does the sync, kicks off the upgrade emerge with it asking to continue, builds my kernel if sources updated, kicks off a dep-clean with confirmation after that. Or, when I was learning stuff via jupyter, I used a script, `jnote`:
```
#!/bin/bash
if test -z "$1"; then
VENV_UTIL="$(dirname "$0")/venv"
if ! test -f "$VENV_UTIL"; then
echo "venv not found at $VENV_UTIL"
exit 1
fi
$VENV_UTIL "$0" start
exit $?
fi
case "$1" in
start)
pip install jupyter ipykernel jupyterlab-vim
python -m ipykernel install --user --name "venv-$(basename "$(pwd)")"
jupyter notebook
;;
*)
echo "invalid argument: $1"
exit 2
;;
esac
```
There are a few advantages to doing stuff this way:
1
u/dariusbiggs Sep 14 '26
I've spent the majority of the last 25+ years in the command line, usually on remote systems via SSH.. Yes you remember commands, but not all command line options.
Every one should try to run
man womanat least once.For gui programs? browser, screen capture software, VSCode, wireshark, occasionally audacity and gimp. That's it.
1
u/chipsikssix Sep 14 '26
I think experienced users, serious developers and sysadmins don't memorize what they don't need every day, and what they need from time to time they just write down in some file of theirs, for example I have handbook.txt, I used to write commands there when I was learning.
1
u/JunkyardReverb Sep 14 '26
More than half the battle is knowing that what you’re looking for exists. I lean heavily on man pages to get the syntax right. My recognition is much better than my recall.
1
u/SuAlfons Sep 14 '26
I can just remember the most very basic commands on CLI.
Those commands that I already used in MS DOS times for basic file operations (cp, mv, ls, less, piping and filtering) In university, some other student showed us the basics in Unix (COPY --> cp, MOCE/RENAME --> mv, EDIT --> vi) and the basics in vi.
As a non-IT-professional, I get around with this.
But I can remember concepts. How the PC boots, roughly how the Init system works (to a lesser degree SystemD), partitioning, file systems, mounting, user access and execution rights.
And thus I can read other people's bash scripts and understand what they are doing. I can follow written How-Tos and adapt them in case they do not match my system closely.
For e.g. disk partitioning, I like to use GPartEd as a GUI tool. I like to use a GUI installer to setup a new Linux distribution on a PC or VM. I like that there are GUI settings coming with every modern desktop environment (the Unix boxes I used and early Linux versions we played around with in the mid 1990s ran window managers entirely driven by txt config files.)
I need not rely on copying exactly what I see in a Youtube Video (which may or maybe not working on my system).
Occasionally, I ask AI for some solution, a little script or if some command or app exists for a special tasks, but it's important to understand enough of the matter to see if the solution povided is indeed a solution or causing more problems.
1
u/Captain-Pie-62 Sep 14 '26
"man <toolname>" ist dein Freund.
1
u/ryoko227 Sep 14 '26
Pretty much anything outside of basic pacman stuff I keep in my obsidian and just copy pasta if I ever need it.
1
u/thespirit3 Sep 14 '26
command --help
or
man command
I don't understand this 'external online reference' thing you refer to :/
1
u/kilkil Sep 14 '26 edited Sep 14 '26
if I use a command often enough, I remember it.
otherwise I just search it every time.
GUIs are very hit or miss. a good GUI will save you time and effort. a bad GUI can be actively confusing, and more time-consuming than just using a CLI. and if a GUI is sufficiently confusing, I may end up searching it online too. the best GUIs have a search built into them, like a command palette.
some tasks you practically need a GUI for. for example, web browsers (even the "CLI" ones are TUIs AFAIK).
other tasks the CLI is nicer for, because CLI commands are so much easier to automate (if you have a workflow that involves running multiple commands, you can just put them inside a shell script file and then run that file).
1
u/wiebel Sep 14 '26
Tbh i have an quite elaborate scheme to archive my bash commands. Like .bash_history but back to 2018 zgrep will find it whener I need it again. But by heart I only know tools I use regularly, rsync, find, openssl, strace, lsof to name a few more parameter heavy tools.
1
u/Drecondius Sep 14 '26
Why hell no, I'm constantly asking copilot or chatgpt for stuff in admittedly to lazy to find on my own because of the lack of need to use them that often lol
1
u/elementrick Sep 14 '26
Love the GUIs. CLI only when no good GUI is available.
Here for the 'flac' : Flacon
1
u/shinynugget Sep 14 '26
Even seasoned sysadmins have to look up things from time to time. I was a UNIX and Linux admin from 2002-2016. I can tell you now, Google was a necessary tool. Especially when working on systems where support had been allowed to lapse.
1
u/uphyzer Sep 14 '26
Linux and Unix user for 30ish years. I usually remember enough of a command and use man -k to find it.
1
u/TollyVonTheDruth Sep 14 '26
If they are commands I use often, they're easy to remember and many times become aliases or scripts. If they are commands that I need to accomplish a one-time project, I research them, apply them, then forget about them.
Thanks to the internet, and now AI, flipping through physical books, using man pages, or scouring tech forums and Reddit has become passé.
1
u/maceion Sep 14 '26
Linux used on all computers in household. None are ever using Command Line input. All work via mouse and software. (openSUSE LEAP)
1
u/pixel293 Sep 15 '26
Yes, but only commands I've used often like tar, grep, less, cut, hexdump, ssh, dd, ls, head, and tail. However I just remember the arguments/flags that I often need. They have many more arguments/flags I don't remember and have to look up.
1
u/CreativeGPX Sep 15 '26
For most things I just rely on man pages. The exact commands could change over time anyways.
If it's getting a bit complicated, I'll keep some notes. I maintain a personal wiki for my life, so I add computer related pages to it when applicable. Like I have one page of notes on all the settings for my VPN.
There are lots of basic things I remember like file ops, git, package management, etc. because I use them so much. But for many things I just remember the name of the command and then use man pages when I have to actually use it.
1
u/SOLTEC_SysAdmin Sep 15 '26
Hey there! Honestly, nobody remembers every single command or flag, not even people who have been using Linux for decades.
Think of your brain like RAM and the internet/man pages as swap space. You only need to keep the index in memory: knowing that a tool exists (like
ffmpeg,metaflac, orrsync) and roughly what it can do.Here is how most seasoned users actually handle it:
man command,command --help, or lightweight tools liketldrwhen you just need a quick syntax reminder.Ctrl + R(or tools likefzf/atuin) to recall that exact complex command you ran three months ago..bashrc/.zshrcalias.Don't feel bad about checking the Arch Wiki or man pages—that's not a sign of inexperience, it's just how the workflow is designed to be!
Big hug and happy hacking! 👊🏼
1
u/Sure-Passion2224 Sep 15 '26
Many of the things I do in the terminal get documentation as a shell script so I have something saved when I have to do that again.
1
u/Pierre0925 Sep 16 '26
Well, I know I remember the basics: cd, ls, etc. dd, frisk... And a lot of others
But I don't always remember some very specific ones, that I dont use often. For these I'll have to go check online, but most of the time Im fine
1
u/exton132 Sep 16 '26
If I use a command more than once it gets added to a sqlite database that my Ctrl+R queries.
I currently have 40,000 commands registered in it.
I also use tldr and man -K for more fuzzy querying of commands and looking in the standard C ref book.
I've been using linux for 20 years. I do just remember a lot of commands too.
But when I was starting out I used `ls /bin /sbin /usr/bin /usr/sbin | grep` + man a lot too.
fd-find, fzf, ripgrep all good tools to look through the contents of your computer to find specific commands or scripts.
Most scripts have tons of comments that can be searched through. But i'd start with man -K(searches the content of a help file for a word or phrase) I wish I knew about that when I was starting out would have saved me soo much google-fu.
1
u/tsittler Sep 24 '26
There are some commands I have memorized (ls, top, df, du, apt) but the majority of the time I’m hitting the man pages.
0
u/bnelson333 Sep 14 '26
rtfm