

The main contributors of the BashGuide, BashFAQ, BashPitfalls and ShellCheck hang around there. La otra utilidad es sudo (super user do), que es muy similar a su pero con algunas restricciones. (Archived) The Bash-Hackers Wiki – Extensive resource.
SUDO VS SU VS SUDO SU HOW TO
ShellCheck – Automatically detects problems with shell scripts.īashFAQ – Answers most of your questions.īashPitfalls – Lists the common pitfalls beginners fall into, and how to avoid them.
SUDO VS SU VS SUDO SU CODE
Google's Shell Style Guide – Reasonable advice about code style.Įxplainshell - Explain complex shell operations.
SUDO VS SU VS SUDO SU UPDATE
Update : Course is currently being rewritten Other Shells: /r/zsh, /r/fishshell, /r/oilshell, /r/batchīeginner's Guide to Command Line – A crash course for some common unix and shell commands.

If you drop the 'userid' it assumes you are trying to login as root - which you cant (unless you change the root password).
• Submission – General submission of any kind (link or text post). Normally you would use the format su -Without it, you cannot access things like the ‘service’ command for. When adding the ‘-‘ character to the end of this command, you are also put into the PATH of the superuser.

Solved – The submission used to be flaired as “help”, but your problem has been solved, or your question has been answered. I’ve always wondered this but finally got the answer as to why you should use: sudo su.“help” posts are usually self posts, though you may also submit a link to a thread in a different subreddit (e. Help – You seek help, or want to ask a question.You can choose one of these four flairs for your post: Links from the sidebar count as having been submitted already, so posting them without new context is also considered a repost. because you’d like to discuss another part of it, or because something has changed since the last time it was submitted, or because the link was updated since then). This is meant with regards to content, not just “the same link was submitted earlier” – it’s okay to resubmit an old link in some new context (e. However, the post should not be specific to another shell. This rule is interpreted generously general shell scripting content is mostly accepted.
