Benches / macOS
▲ 4 ▼
Single user mode character limit ? apple Verified · 3 years ago
Imported from the Apple Support Forums via the Wayback Machine 🔗
I am trying to remove files in single user mode (opened via cmd-S at stat up) but i cannot write the file name since the path to the listed file is long and it goes to the start of the line again and again. is there any character limit for each line?
for example : when i try to wrtie this:
rm /private/var/folders/cd/s5rr8_ujksvghdd87123t2200000gn/0//com.apple.LaunchService-0234.csstore
the cursor goes back to the beginning of line after i wrtie "....LaunchServ"
So I cannot write the command. Thanks in advance for any help.
4 replies Sign in or join Beachball Help to reply.
▲ 0 ▼
VikingOSX · 3 years ago
Imported from the Apple Support Forums via the Wayback Machine 🔗
UNIX filenames are 255 characters, and pathnames can be no more than 1024.
In single user mode, you can expand the length of your typing line:
export COLUMNS=1024
and the next long typing line will go wide. This also effects other output so be aware of that side effect.
▲ 0 ▼
cellectus · 3 years ago
Imported from the Apple Support Forums via the Wayback Machine 🔗
Thank you. It worked. Best regards.
▲ 0 ▼
leroydouglas · 3 years ago
Imported from the Apple Support Forums via the Wayback Machine 🔗
Did you try simply dragging the window wider(?)
I see now Single user mode, got it.
▲ 0 ▼
cellectus · 3 years ago
Imported from the Apple Support Forums via the Wayback Machine 🔗
I was using 27 inch display in single user mode black screen . So I did not need to enlarge it :) Thank you very much again.