Fresh user profile: Difference between revisions

From LWP-Wiki
Jump to navigation Jump to search
(FTF in homedir deletion)
No edit summary
Line 9: Line 9:
This command forcibly removes all dot files and directory and their content from your home dir:<br/>
This command forcibly removes all dot files and directory and their content from your home dir:<br/>
  rm -rf ~/.*
  rm -rf ~/.*
Or if you want to save the dot files you can do this:<br/>
mkdir ~/backup_dot_files && mv ~/.* ~/backup_dot_files/
Switch back to your window manager (CTRL-ALT-F7) and log in again.
Switch back to your window manager (CTRL-ALT-F7) and log in again.

Revision as of 14:24, 29 January 2018

Fresh profile

Log out, open TTY 1 (CTRL-ALT-F1), log in with your p-number.
Back up any important files.
Go to /home and delete the dot files and folders, or your whole /home directory.
Alternatively, write the dot files to a tarball for later reference, and make sure not to delete the tarball.
After you delete your home directory the system will create a new and fresh profile for you when you log in again.

This command forcibly removes all dot files and directory and their content from your home dir:

rm -rf ~/.*

Or if you want to save the dot files you can do this:

mkdir ~/backup_dot_files && mv ~/.* ~/backup_dot_files/

Switch back to your window manager (CTRL-ALT-F7) and log in again.