Thursday, May 9, 2024
68
rated 0 times [  68] [ 0]  / answers: 1 / hits: 74222  / 3 Years ago, wed, august 18, 2021, 4:29:10

I found myself in a situation where I need to reinstall the ps binary. I accidentally copied the binary to another location and immediately deleted it. The binary is no longer in the bin directory.



I have attempted to reinstall the coreutils package in Ubuntu, but ps was not reinstalled; is there another package where ps comes from?


More From » package-management

 Answers
0

Using dpkg -S /bin/ps will tell you that this program is in the procps package. Reinstall it using apt-get install --reinstall procps.


[#37955] Wednesday, August 18, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
whipstder

Total Points: 189
Total Questions: 110
Total Answers: 99

Location: Uzbekistan
Member since Sat, Feb 27, 2021
3 Years ago
whipstder questions
Wed, Nov 9, 22, 09:45, 2 Years ago
Tue, Sep 14, 21, 10:54, 3 Years ago
Sun, May 28, 23, 03:52, 1 Year ago
Sat, Jul 17, 21, 07:10, 3 Years ago
;