Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I dont understand why is echo here?
Can you explain the brackiet command as well pls? -
@Gregozor2121 JK. Don't actually. It goes to /etc/ and overwrites all files with hello
-
Pro tip: To make these commands fun rather than horrifyingly terrible.
Execute these WITHIN A VM! -
C0D4669027y@vhoyer forkbombs are infinite self replicating functions that eat up cpu and ram until the system crashes.
I don’t advise “testing” it -
For windows users:
:S
start
goto S
Write it in notepad and save as .bat
have fun! -
enzop12347yDelete the sudo file is not so dangerous, sudo ils basicly a package so you'll just need to reinstall it (i think 🤔)
-
Linux434837y@HampusMa
What you are saying is wrong, a linuxbox is not depending on sudo, su is another story. -
Linux434837y@Wack
Just su in as root and install sudo, or just remove sudo from the commands that the supposed tutorial tells the user to use. -
That reminds me that in first year in my school, we got classes about Unix commands, and the teacher talked about sudo rm -rf * and how dangerous it was.
The thing is, since we have the lessons printed and the teacher said that we don't need to attend his classes, only the exam, some did not attend classes and surely expected that the printed lessons was enough (not really ofc)
Before exam, while we were testing the commands, one asked "what does sudo rm -rf * ?"
We grinned and jokingly said "go on, try it." We thought that it was obvious we were joking.
It wasn't that obvious apparently. -
iguana8107y@Linux you cannot su to root by default in Ubuntu. The root account is locked.
You can just reboot into a recovery console and set a root password if you remove sudo however. -
sudo chmod -R 000 /*
... for when you want to have everything intact but not be able to access them. -
Meta33347y@Linux @linuxxx why has it always been installed by default on my Debian systems then? 🤔
I cannot recall ever having installed sudo manually.
EDIT: Ohhh, it could be this:
"This is a side-effect of installation parameters. If you specify a root password during installation sudo is not installed by default. If you do not specify a root password, sudo is installed."
I never supply a root password so that it's locked 🤔 -
Give access everywhere.
chmod -R 777 /
Sounds not so bad but try login afterwards -
iguana8107y@Linux no, been that way for a long time. Still is that way. You must have set a root password.
-
Ex openssh require some security of keys and such. With 777 everywhere all kinds of security issues will trigger and leave a very bad system.
-
Skiribans-42yCan you please tell me more about the types of processes running on linux. How to manage them, what is the difference between them, etc. I am just starting to get acquainted with linux. There are some things in the literature that I don't understand.
-
Fransen162yMost of the processes that run on your Linux distribution are user processes. Those processes running in the background are daemon processes. Well, kernel processes are the ones that automatically run when resources become available to process them. Everything is about processes. If you want to know more about checking running processes in Linux https://hostforweb.com/article/... you need to read the article.
Related Rants
-
gururaju56*Now that's what I call a Hacker* MOTHER OF ALL AUTOMATIONS This seems a long post. but you will definitely ...
-
linuxxx70This guy at my last internship. A windows fanboy to the fucking max! He was saying how he'd never use anythi...
-
creedasaurus62Another dev on my team just got a new machine. Before he came in today I made two separate USB installers and ...
List of commands that will destroy your Linux system.
BEWARE! THESE COMMANDS WILL GREATLY HARM YOUR LINUX DEVICE! I AM NOT RESPONSIBLE FOR ANY DAMAGE DONE ON YOUR DEVICE! I AM NOT RESPONSIBLE IF YOU CANT GET YOUR DEVICE TO WORK AGAIN!
- sudo rm -rf /*
- mkfs.ext4 /dev/sda
- cowsay hello there >> dev/sda
- :(){:|:&};:
- rm -f /bin/su
- rm -f /usr/bin/sudo
- cd /etc;echo hello | tee *
random
linux
commands