Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pasokan
· 6y ago · 0 comments
Can you please tell me the exact location of the file to configure the system-wide WSL?
Would it be the equivalent of /etc/profile?
Comments
[–]
sp332
6y ago
Start WSL, say by opening a terminal window in it. Then in an Explorer window navigate to:
\\wsl$
Or, in the terminal cd to your homedir and then type "explorer.exe ." including the dot. This will get you specifically to your homedir.
[–]
int_19h
6y ago
Where to set global environment variables (and I mean global for all users here!) depends on the distro. On Debian and most derivatives, you can use /etc/environment for this.
[–]
ketozhang
6y ago
The ~/.bashrc file usually.