Score:-2

What is the path of the `top` program?

cn flag

Where is the top program? What is the file path to the program that I usually just call with a top statement in bash?

Score:2
in flag

You can find out by running

type top

It's usually /usr/bin/top, but it depends on the distribution. It can also be aliased to htop etc.

cn flag
That works locally, but what if I'm on a VM (EC2) and I get "bash: type: top: not found" do I need to install it?
cn flag
figured it out had to update sources.list & install htop on debian
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.