Code snippets for executing various systems functions