Score:0

How use specific commands

jo flag

I'm trying to install VMware. But because of some difficulties, I followed a tutorial which lists some commands to resolve my problems. I see this commands:

$ sudo apt update && sudo apt install -y linux-headers-$(uname -r) linux-modules-$(uname -r)

but I don't know how to use it. Should I replace uname -r by my username? I tried many ways but nothing works well.

PonJar avatar
in flag
No you don’t replace uname. It’s a Linux command that returns the kernel version
Dev Beginner avatar
jo flag
but my terminal respons $: command not found
PonJar avatar
in flag
Check that the command you have entered is exactly the same as the tutorial you are following. You can also check that uname -r works correctly by just typing that into the terminal
Dev Beginner avatar
jo flag
when i type uname -r i get a result. But when i type all the commande i get $ : command not found.... i type excately the command
Score:5
id flag

You should enter the terminal without first dollar sign.
First dollar sign ($) tells to you, this is a terminal command.
First dollar sign ( $ ) means you are a normal user.

sudo apt update && sudo apt install -y linux-headers-$(uname -r) linux-modules-$(uname -r)
Dev Beginner avatar
jo flag
Ok it work well, thanks very much
PonJar avatar
in flag
Good spot! +1 for that
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.