cli icon indicating copy to clipboard operation
cli copied to clipboard

docs: replace redirection with tee command with sudo for file creation

Open vostok92 opened this issue 1 year ago • 0 comments

This pull request addresses an issue where using sudo-prefixed echo does not grant elevated permissions for the subsequent redirection operation, resulting in a failure to write files under /etc/apt. By replacing the redirection with a sudo-prefixed tee command, this change ensures that files are written with root privileges, effectively resolving the permission issue. This modification is essential for operations requiring write access to protected directories.

vostok92 avatar Feb 07 '24 11:02 vostok92