Quick Answer: How Do I Change javaHome in Linux?
Contents How Do I Change the Default Home Directory in Linux? You Need to Edit the /Etc/Passwd File to Change Home Directory of Users That Are Currently Logged...
Contents
How do I change the default home directory in Linux?
You need to edit the /etc/passwd file to change home directory of users that are currently logged in. Edit the /etc/passwd with sudo vipw and change home directory of the user. vipw highly recommended other than vim or other editors since vipw will set lock to prevent any data corruption.
Must Read
How do I change environment variables in home?
How to change environment variables on Windows 10
- Open the Start Search, type in “env”, and choose “Edit the system environment variables”:
- Click the “Environment Variables…” button.
- Set the environment variables as needed. The New button adds an additional variable. …
- Dismiss all of the dialogs by choosing “OK”. Your changes are saved!
31 авг. 2018 г.