Running into a slightly strange situation. Basically for reasons outside of my control I'm on a server that somebody else has set up. I've got sudo access, I just can't figure out what happened or find any documentation.
When I open
sudo nano ~/.bashrc) I get a static view that just overwrites the top row. I can exit only by hitting
enter after hitting
Ctrl+X. Screenshot below.
Same thing happens with
vi, and obviously this makes it impossible to edit anything on the server. Anyone have an idea as to what might be happening here? I've done a lot of googling, but it's tough to lock this down.
lsb_release -a pasted below.
Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic
Looking for any weird code lying around I found the following in the
case $- in *i*) ;; *) return;; esac
I'm not certain what's going on here tbh, but it was the only thing that I didn't recognize so it might be related?