FG

How to recover file that is accidently removed in linux

Fresh3 days ago
Mar 15, 20262937 views
Confidence Score0%
0%

Problem

I have accidentally removed my apache2 startup file using command. How can I get that back?

Error Output

/etc/init.d/apache2

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to recover file that is accidently removed in linux

Low Risk

In this case the file is part of a package in the distribution. Just reinstall it. In apt-based systems like Debian or Ubuntu, i believe it's just

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment