🤜
Working at 127.0.0.1
- ~/
Pinned Loading
-
-
-
Grep all lines from the first to the...
Grep all lines from the first to the last occurrence of a pattern in a file 1# !/bin/bash
2#
3# greplines.sh
4# Grep all lines from first to last occurrence of <pattern> in <file>
5#
-
Useful linux commands
Useful linux commands 1`ctrl+x+e` **Open an editor for writing a large command**
23`mount -t tmpfs tmpfs <folder> -o size=8192M` **Mounts a temporary RAM disk to folder. Useful for temp files with very high speed.**
45`tee -a <file>` **Captures stdout and writes it to \<file\>**
-
Pass from a no-interactive shell to ...
Pass from a no-interactive shell to fully TTY 1# Python
2```bash
3python -c 'import pty; pty.spawn("/bin/bash")'
4```
5
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.