Tuesday, May 21, 2024
 Popular · Latest · Hot · Upcoming
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 60534  / 3 Years ago, tue, october 12, 2021, 4:58:50

I need to get into the root directory to delete a file. How do I get there?


More From » directory

 Answers
4

This will get you to the root from command line:



cd /


If you are using ftp it might go to the root of your ftp (not per definition the root of your system).



I would be careful if I was you: in general nobody creates files in "/". Removing needs to be done with sudo in front of the rm and you need to be using an admin account.


[#21726] Tuesday, October 12, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
hirtieve

Total Points: 207
Total Questions: 104
Total Answers: 114

Location: Cook Islands
Member since Thu, May 21, 2020
4 Years ago
;