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
-
Welcome to Linux then.
If your have any questions there are people here which are happy to help.
One thing though: the root account is dangerous. Only do stuff as root that really needs root. -
Now you can do the advanced hello world
sudo echo "Hello World" > /dev/sda
(Don't actually do that) -
disco2886yIn the beginning it might feel like you need root a lot. You don't. Learn to love the sudo and best practices!
Welcome to the club. -
olback107946y@disco Been a Linux user for a few years now and 'sudo -i' is what I almost always use. Bad practice, I know.
-
R-C-D157496y@WhAtEvErYoUmEaN why is it dangerous? Because of the access?
You mean I creat one limited account for daily use? -
olback107946y@R1100 Most distros won't even let you log in as root. You don't really need root privileges most of the time anyway. So yes, you use another username to log in but your user is part of the sudoers group which allows you to use sudo.
-
olback107946y@R1100 well, root is root. When you're logged in you never need to enter your password again. If you're a regular user in the sudoers group, you have to run every "admin command" with sudo. Sudo will ask for a password unlike when you're root.
user@host$ reboot now
Permissions denied
user@host sudo reboot now
[sudo] password for user: <enter password>
Rebooting... -
@olback because I always shut down my arch with `poweroff`. No need for sudo there
Today I had my first :
root@DEC:~# echo "hello World"
in my linux terminal ! :)
Just knew some commands but finally wanna master that !
rant