This repository has been archived on 2025-08-18. You can view files and clone it, but cannot push or open issues or pull requests.
Files
new-home/src/shell/commands/sudo.ts

16 lines
347 B
TypeScript

import { IShellCommand } from "./IShellCommand";
export class sudo implements IShellCommand {
getName(): string {
return 'sudo';
}
getManPage(): string {
return 'sudo - execute a command as another user\n\nUsage: sudo command';
}
execute(args: string[]): string {
return 'Permission denied';
}
}