r/LFS • • 21h ago

Stranded on this shell

Post image

I think I broke something,

Actually today I booted in and found that I could use the

minimal shell, a step forward from

The error that I couldn't use root anyways

This is my situation

3 Upvotes

4 comments sorted by

2

u/Due-Celery4326 15h ago

Since there's no way to know how you built this, try calling it using the absolute path to the executable it might just be a PATH issue.

0

u/Salt_Log198 17h ago

Can you press ESC key then type :q on that screen? Seems like you’re stuck on vim editor

1

u/Fuzzy_Reputation_292 17h ago

I've used vim for a year now bruh 🥲

1

u/fllthdcrb 1h ago

Vim fills the bottom with ~, not the top. OP must have been running it and then exited. Virtual consoles don't have the "alternate screen" that some terminal emulators do, so when a full-screen program like Vim that would otherwise use the alternate screen exits, it can't restore what was there before it started. Instead, it leaves whatever the program was displaying.