You are not logged in.
Pages: 1
Fresh Arch install.
I tried running some commands in startx xterm (e.g., cat, vim), but got this error message:
[user@machine ~]$ cat /etc/wpa_supplicant/wpa_supplicant.conf
bash: $'\302\211cat': command not foundHow can I fix this?
wpa_supplicant.conf exists.
Last edited by PauseUser (2014-07-11 14:16:04)
Offline
It's not a file's problem. Bash's found strange charachters before the command cat.
Offline
I don't know if I can help you, but, it's not about wpa_supplicant, but cat isn't found.
Show your bashrc, what is the output from 'which cat'?
Offline
This looks like a malformed PS1 (shell prompt) problem. Have you tried to customize it (with colours, or bold, etc) lately?
Check your bashrc and bash_profile files.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
A bad PS1 should not create such issues. A bad PS1 can create very odd visual artifacts, but the shell will still get the proper input.
I'm guessing the whole command was copied/pasted from somewhere else (eg a website). Rather than just copying the text, if some formatting was copied, it could easily create such an issue.
If this were due to a PS1 issue, the OP would get such errors with every single command entered in a terminal.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1