this post was submitted on 11 Aug 2025
986 points (98.8% liked)
linuxmemes
26744 readers
1955 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
- Don't get baited into back-and-forth insults. We are not animals.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn, no politics, no trolling or ragebaiting.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. π¬π§ Language/ΡΠ·ΡΠΊ/Sprache
- This is primarily an English-speaking community. π¬π§π¦πΊπΊπΈ
- Comments written in other languages are allowed.
- The substance of a post should be comprehensible for people who only speak English.
- Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures
We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations. - Keep discussions polite and free of disparagement.
- We are never in possession of all of the facts. Defamatory comments will not be tolerated.
- Discussions that get too heated will be locked and offending comments removed. Β
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Mint comes with dir aliased for ls, and the only other one I regularly use is cls for clear.
Yes I grew up on DOS, how can you tell?
Powershell does the opposite, having an alias from
ls
to whatever the powershell equivalent ofdir
is.It gets better. PowerShell 5, which is still the default installation on Windows 11, aliases
curl
andwget
toInvoke-WebRequest
. The fucked-up part is that Win11 includes the realcurl
too, but the alias shadows it, and you have to usecurl.exe
. The even more fucked-up part is thatInvoke-WebRequest
still uses Internet Explorer to parse the result, and will panic if-UseBasicParsing
is not passed every time, or IE isn't installed and initialized.I used to develop applications in PowerShell. I still wear the mental scars.
That is absolutely horrifying.
And
curl
, and several othersI got used to all the other Linux commands, but I had to make an alias for md=mkdir. Why that already isn't a thing is beyond me.
I have a simple way of getting around that - I only make directories in the GUI.
People type
clear
instead ofCTRL+L
?I've never had a terminal that that didn't work in. Or at the very least have a shortcut be able to be set for.
CTRL+L
andclear
command do two different things (at least when using Bash on Debian):CTRL+L
scrolls the terminal output one screen so you don't see your previous output, unless you scroll up;clear
does indeed clear terminal output completely, and your previous command history is available only through thehistory
command.If you want
CTRL+L
to clear your screen completely you can add following to the.bashrc
(or other file that is sourced when starting Bash, e.g..bash_bindings
):bind -x '"\C-l":clear'
Note that it might not work if you use Vi mode inside Bash, but who does that.
I often use
clear
when I need to rerun the same command and want to see the output in isolation each time, so I might runclear && ./build.sh
and then just press the up arrow and run it again.But I think, many people are also just not aware of the keyboard shortcut or don't care to remember it, since they don't use it often and
clear
is easy enough to guess.I guess I'm the other kind of brain. I tap Ctrl+l on cooldown. But the up arrow thing makes sense. But still doesn't explain the alias if you're not actually typing it often.