Task: Running Multiple Commands Under Same Sudo Session
Task: Running Multiple Commands Under Same Sudo Session: a task in Terminal-Lego-15k (Harbor dataset). When executing multiple commands that need to share state (like a database connection), running them separately with sudo causes each command to execute in its own shell session. This means the…
The task
When executing multiple commands that need to share state (like a database connection), running them separately with sudo causes each command to execute in its own shell session. This means the connection established by the first command is lost before the second command runs.
Part of PrimeIntellect/Terminal-Lego-15k.