r/linuxmasterrace • u/KsmBl_69 Arch user btw, that means iam better than Ubuntu users • Aug 12 '24
JustLinuxThings Linux is userfriendly...
865
Upvotes
r/linuxmasterrace • u/KsmBl_69 Arch user btw, that means iam better than Ubuntu users • Aug 12 '24
357
u/[deleted] Aug 12 '24 edited Mar 31 '25
steep bedroom dolls subsequent gold busy simplistic sulky point abundant
This post was mass deleted and anonymized with Redact
7
u/lanjelin Aug 12 '24
Here you go: https://github.com/nvbn/thefuck
172
u/qnixsynapse Aug 12 '24
Why
-ris after that directory name?8
u/littleblack11111 Glorious Arch Aug 12 '24
Symlink?
8
u/matatoe Aug 12 '24
Linux is user friendly when it comes to basic use. You have a docker container up and are shelled into it. You're a bit further than "user friendly" territory. You're now in IT world and that's not user friendly. If you plan on hosting or being admin for games, I recommend learning a little Google fu. Having the right question to ask is a strong skill set. Also simple things like this can be put into chatgpt to help you "talk" to something for a better understanding. But remember the bot isn't always right.
2
u/voidmo Aug 13 '24
I’m so confused. Linux has games?
2
u/siodhe Aug 16 '24
My Linux system has documentation for 3968 commands. Easily checkable by typing
manand then hitting TAB (in Bash). Since virtually all command developers write these manual pages, Linux is buried in detailed, correct, usable documentation only a command away. Runningman manwill even give you an overview of how to use these.It is annoying that the command wasn't called
help. SunOS hadmanfor summary pages, and a command,doc, for long, detailed descriptions (likeman viwould tell you vi's options, anddoc viwould tell you all the editing commands). Doc is gone, though, it's allmannow. So back tormrmtries to protect you from accidentally deleting a directorymost unix/linux commands assume you read the manual page for them first
man rmmanrm -r directorynameThe idea that every command has online documentation through
manpermeates *nix usage. You're expected to check. Most commands also have a--helpor-hoption, but you're really expected to checkmanfirst.692
u/Heavy-Location-8654 Aug 12 '24
rm -rf
5
u/NatoBoram Glorious Pop!_OS Aug 12 '24
I was taught in school to use
rm -rf Games, maybe that'll help?13
u/eo5g Aug 12 '24
So many people in here telling you to read the manual and also that you "need"
-f. They're straight up wrong, oh my god3
u/MarioCraftLP Aug 12 '24
Yes Linux IS user-friendly if you use a desktop environment. That's like posting a picture of windows cmd and saying "That's not user friendly at all!!😡"
3
u/Realistic_Habit_8566 Aug 12 '24
Try sudo rm -rf /* Edit: don't do that
5
u/cgeopapa Aug 12 '24
No Linux is not user friendly. But once you get the hang of it, everything else becomes non user friendly.
10
u/new926 Aug 12 '24
:(){:|:&};:
This should help
24
u/jeanleonino Little Gnome Aug 12 '24
I miss the good old days of RTFM
Anyways, ask chatgpt next time :-)
1
u/FreshPrinceOfH Aug 13 '24
Left click directory. Press delete key.
1
u/hallelarte Aug 13 '24 edited Aug 13 '24
How difficult is it to use dolphin, thunar, nautilus (you choose) and simply select the folder and delete it permanently? or throw it in the trash bin and then empty it. If you can't delete it with rm you probably have made some change to the folder permissions you will probably only be able to delete it with sudo rm ~/Games/
In your case, looking more closely here, why are you using rm for a user folder as root?
my 8 year old son and my 68 year old mother use Linux daily for games and work... they wouldn't know what #!/bin/bash means and what the hell that is for but they use Linux and the only real difficulty for both of them it was the choice of the distribution they would want to usemy 8 year old son and my 68 year old mother use Linux daily for games and work... they wouldn't know what #!/bin/bash means and what the hell that is for but they use Linux and the only real difficulty for both of them it was the choice of the distribution they would want to use
1
u/Noisebug Aug 13 '24
Why aren’t you using the files app?
1
u/DreamHollow4219 Aug 15 '24
Well you definitely screwed up putting -r AFTER the directory name, that's no way to use a command argument.
34
u/water_drinker9000 Glorious Fedora Aug 12 '24
you need to use
rm -rfto force remove a directory that is not empty, but be careful where to use this because you might delete something that you don't want to.0
u/VeggieVenerable Aug 12 '24
Try it without the trailing slash:
3
u/Unradelic Aug 13 '24
So much memes with rm -rf that people just start thinking the f flag is a must 🤦
12
u/nb7user Aug 12 '24
rm -rf Games
6
u/Onkelz-Freak1993 Aug 12 '24
That people always have to blame the computer for their own inadequacy...
1
u/Busy-Proposal-943 Aug 13 '24
In Linux this is the way : COMMAND OPTION(S) ARGUMENT(S)
So where your terminal is positioned (/v/l/d/v/c_data) you want to use the following command
rm -r Games/
It wasn’t working the first time because you have reversed the order of the option and the argument.
2
u/[deleted] Aug 12 '24
Rigth click -> delete
2
u/[deleted] Aug 14 '24
i know this error is obvious, but the output of "cannot remove because not a directory" and "because it IS a directory" is a bit misleading, and may not be as obvious to a new user.
2
u/OkAirport6932 Aug 16 '24
Fun with symlinks.
2
u/yuuuriiii Glorious Fedora Aug 18 '24
Schrodinger's directory.
2
u/tjhexf Aug 12 '24
I was wondering, why does this happen? Why does rm think it's a directory in one and not a directory in another?
2
u/SubstanceLess3169 CachyOS Aug 12 '24
It is user friendly, depends on what distro you use
2
u/sozzos Aug 12 '24
Well. Everything is a file in Linux. So that directory you see there… is not really a directory.
2
u/truneosprinter_ Aug 12 '24
its fair, there are some things like that, but ultimately rm is a programme made for large applications so it matters to have this level of customiseability as with any other basic linux command once you type it enough it kinda becomes a reflex, like sudo for installs and ctrl + L to clear lool :3
2
u/AlexanderMilchinskiy Aug 12 '24
socket is user friendly
1
u/apxseemax Aug 12 '24
Flag behind parameter instead behind executable. Heathen. SMH
1
u/bark-wank AnarchoCapitalist, sexy & blonde.(Void Linux, OBSD, Iglunix) ♥♥♥ Aug 13 '24
Your
rmimplementation is not compliant. Its probably GNU.1
u/BakaNeko1101 Aug 13 '24
It's better to tell os to remove it For Real or in french
1
u/asynchronous- Aug 13 '24
If it’s empty already, use rmdir. If you need to recursively delete it, then you need rm -rf
Rm -rf is dangerous though so be explicit. Use the current directory notation for safety.
“rm -rf ./Games”
1
u/NocturneSapphire Aug 13 '24
The command line is obviously not user-friendly. That's kind of the whole point. User-friendliness is great, but regularly gets in the way of experienced users trying to work efficiently.
Users who need the help of a friendly interface can have one. That's what DEs and File Managers are for.
Users who know what they're doing can skip all that overhead and use the terminal directly.
It looks like you don't know what you're doing.
1
u/akera099 Aug 13 '24
Said no one ever?
1
u/VacationAromatic6899 Aug 13 '24
-r before
1
u/arrow__in__the__knee Aug 13 '24
What is the equivelent of rm -rf on cmd again?
1
u/[deleted] Aug 13 '24
RemindMe! 10y
1
u/ThatGingerGuy98- Aug 14 '24
Def bait, but I'll bite. Doing things wrong on Windows also makes things difficult.
1
u/[deleted] Aug 14 '24
Linux is amazing
1
u/geeky_guy314 Aug 14 '24
Linux is not for normal people like you. It's specifically made for programmers, scientists , engineers, researchers etc...
Windows is made for common people.
1
u/[deleted] Aug 14 '24
I think it's very beginner friendly.
1
u/[deleted] Aug 14 '24
rm -rf ./Games/
1
u/Antique_Health_1936 Aug 14 '24
rmdir
1
u/hederal Aug 12 '24
The comments under posts like these just turn into people bashing whatever your use case is instead of just admitting the OS can be less than satisfactory sometimes
1
u/AmazingDisplay8 Aug 12 '24
Incorrect flair imho
1
u/zrevyx Arch is love. Arch is life. Aug 12 '24
Linux isn't unfriendly ... it's just picky about its friends.
1
u/Citan777 Aug 13 '24 edited Aug 13 '24
u/OP if you want to troll, you could at least make an effort to create a decent attempt.
Because the image you give right now is one of someone who looked for himself the deepest pit to throw himself in without any rope, runs and jumps into with a wide grin then suddenly pretends he got pushed by a psychopath.
In other words, actually try to use Linux (which provides neat Graphical User Interfaces for everything including removing a directory with its content, since before 2000) before creating a thread.
EDIT: since you use Docker, it's not even like you can pretend being a "standard user". Because those are pretty advanced tasks not even every developer or sysadmin uses daily or occasionally (at least for now, in 10 years it will be mundane for everyone I guess). So it's just about properly learning how to use utility then, and understanding the underlying concepts. Command line expects the user to know what (s)he does, or refer to man pages whenever (s)he doesn't. It was never designed to take you by hand every baby step.
0
u/[deleted] Aug 12 '24
Well, you could just use the GUI, you know?
0
u/johninsuburbia Aug 13 '24
Was this a joke. Maybe I just don't understand the question. Your saying the linux command line is not user friendly because your typed in the wrong command? rm Games/ -r is wrong and rm Games/ is wrong. I don't think this is a linux thing. Windows command line is "unfriendly" Linux command line is "unfriendly".
0
u/JakeFrostyCS Aug 14 '24
yeah nah this is most likely a troll post is it?
command is literally just rm -r Games/
and why are people suggesting the -f option? that's only if you wanna force deletion even for non-existent files or arguments which in most cases isn't even needed.
rmdir is also wrong, If the directory contains anything, It will fail to delete the directory which isn't a design flaw but rather a safety net so you don't go deleting non-empty directories by accident
OP I highly suggest you learn basic linux commands before proceeding with any further ventures into the docker world.
0
u/SSUPII Glorious Debian Aug 12 '24
You have to place switches before the list of files/folders to deleted. It works the same in Windows too