🪴 notes

Search

Search IconIcon to open search

sudo -s -E

Published May 5, 2023 Last updated Oct 31, 2024 Edit Source

Spawn a sudo shell while preserving the current environment.

beware when creating files. it will have conflicting permissions when editing without elevated permissions. something about read-only file