programming language feature abuse
meh@Deej:~$ python -i python-shell.py
meh@Deej:/home/meh>>> ls()
python-shell.py
meh@Deej:/home/meh>>> ls('/').lines()
['bin', 'boot', 'dev', 'etc', 'home', 'init', 'lib', 'lib32', 'lib64', 'libx32', 'lost+found', 'media', 'mnt', 'opt', 'proc', 'root', 'run', 'sbin', 'snap', 'srv', 'sys', 'tmp', 'usr', 'var']
meh@Deej:/home/meh>>> (ls('/')|grep('b')).lines()
['bin', 'boot', 'lib', 'lib32', 'lib64', 'libx32', 'sbin']
programming language feature abuse
Yes, that is the normal python repr (I didn't make my own loop for it), and yes I did make this shell upload itself to github.