How Do I Change the Home Directory Name in Linux?
Contents

How do I change the home directory in Linux?

File & Directory Commands

  1. To navigate into the root directory, use “cd /”
  2. To navigate to your home directory, use “cd” or “cd ~”
  3. To navigate up one directory level, use “cd ..”
  4. To navigate to the previous directory (or back), use “cd -“

2 июл. 2016 г.

How do I change a directory name in Linux?

To rename a directory on Linux, use the “mv” command and specify the directory to be renamed as well as the destination for your directory. To rename this directory, you would use the “mv” command and specify the two directory names.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest