As a long time Linux user, you aren't asking yourself the same kind of questions a newbie is going to stumble upon. Obviously. One of these questions reached me via a friend who is just starting out with Linux. He was wondering: "What does the $ mean?"
Here is what I replied:
$
refers to bash or any command-line, simple as that. If you see a command, it is often written as
$ sudo apt-get update
The $
indicates that this is a command to run instead of an output. Output will be annotated without the dollar-sign.
On the topic of running commands two things to consider:
CLI is powerful, and with this power comes responsibility. Make sure to understand the command (roughly). If in doubt, ask someone who knows CLI/bash more.
You shouldn't include the
$
when executing the command. In the given example, the command you want to run is actuallysudo apt-get update
.
With this, Welcome to Linux :)
🙏🙏🙏
Since you've made it this far, sharing this article on your favorite social media network would be highly appreciated 💖! For feedback, please ping me on Twitter.
Published