I'll throw in a few non-root options as well for future readers:
In this particular question, where the user's shell was set to Zsh, which had been uninstalled:
wsl -e bash
The -e/--exec argument launches the specified executable in place of the shell defined in /etc/passwd. Then, of course, a chsh could be issued from inside WSL.
Or we can just shortcut it entirely with:
wsl -e chsh -s /usr/bin/bash
... to directly change the shell.
Finally, for users who have made a bad edit to one of their startup files and can't launch:
이 방법으로 해결. 쌩유베리감사
wsl ~ -e bash --noprofile --norc
This will launch Bash (in the default user directory) without processing the startup files, so you can find the problem and fix it.
'자바스크립트 문법 > 문법 정리 뼈대' 카테고리의 다른 글
append 와 appendChild 차이 (0) | 2023.01.01 |
---|---|
삽질의 연속. 학습기 (리액트+노드+서버) (1) | 2022.12.22 |
vscode 프린트 : 라인넘버, 행번호 출력 (0) | 2022.12.20 |
JSON.stringify(), JSON.parse() (0) | 2022.12.17 |
배열에 원소 추가: unshift, ...array, push (0) | 2022.12.17 |
js - react - node.js - react 끙끙 (0) | 2022.12.16 |
리액트 렌더링은 언제 언제? (0) | 2022.12.16 |
1107- 노마드/ 리액트 시작. 이틀째 잠시 보류 (0) | 2022.11.07 |
댓글