sllop.blogg.se

How to make tilde a
How to make tilde a




how to make tilde a

Again, not that this extra "security" is really needed on WSL anyway.Īs with JoL's answer, this will allow: cp ~/myfile ~w/Documents/Īnd with the caveat that this could cause problems in some corner cases, you can use useradd's -badname option to force it to accept ~ as a username: sudo useradd -badname -home-dir /mnt/c/Users/ "~" # or. That user would have the nologin shell, an expired password, and a locked account.

how to make tilde a

This would create a user w with the same user id and group id (1000:1000) as the primary WSL user (just a personal preference on my part to avoid polluting the system with unnecessary uids/gids). However, "best practice" would probably be something more like: sudo useradd -no-user-group -non-unique -u 1000 -g 1000 -shell /sbin/nologin -f0 -e0 -home-dir /mnt/c/Users/ w To add a Tilde for Nunez, Press ALT+ 0209.

#HOW TO MAKE TILDE A FULL#

wsl -u root already gives you full access to everything in a WSL instance without a password).Ī simple. Hi, Julia, Sorry it took so long to get a reply to you but you were in the wrong forum. There's really no downside to creating a user for this purpose on WSL, since there's no concept of user-level security (i.e. For example, to type a, hold down CTRL, SHIFT and, release and type o. It also appears to be possible to use ~ for the username, resulting in a ~~ shortcut. To type a lowercase character by using a key combination that includes the SHIFT key, hold down the CTRL+SHIFT+symbol keys simultaneously, and then release them before you type the letter. Also, for a method of answer that works on most shells (at least Bash, Fish, Zsh, and even Dash), you can simply create a new user named w with a home directory pointing to your Windows' user profile.






How to make tilde a