> For the complete documentation index, see [llms.txt](https://blog.rootkid.in/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://blog.rootkid.in/exam-prep-notes/junior-penetration-tester-ejptv2-notes/host-and-network-penetration-testing/post-exploitation/upgrading-shells.md).

# Upgrading Shells

#### Upgrading Non-Interactive Shells

**Starting an Interactive Bash Shell:**

* `/bin/bash -i`

**Starting an Interactive Shell:**

* `/bin/sh -i`

**Using Python to Spawn an Interactive Bash Shell:**

* `python -c 'import pty; pty.spawn("/bin/bash")'`

***

***

***

**`Hacker's Mantra:`**`Hackers are the warriors of the digital battlefield.`
