What is the difference between home directory and working directory?Home directory is the default working directory when a user logs in. On the other hand, working directory is the user’s current directory. Working directory can be changed. It can be changed using cd command.
Home directory in Linux contains user’s personal data, configuration files, settings of a software etc. The content of home directory is private and the user has a complete control of it.
What is the difference between home directory and working directory?Home Directory: Every user will have one home directory and will have complete control over it. On login, home is the default working directory for the user. It contains the configuration files and responsible for login and logout of the user.
Working directory: The directory in which the user is working currently is known as working directory. The home may also be the working directory, if the user is working in it.