In Linux and Unix-based systems, administrators and users often need elevated privileges to perform certain tasks. Two common commands for obtaining root or superuser access are sudo and su. Although both serve similar purposes, they function differently and are used