• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / How To / Change Home Directory In Linux – How To Go To Root Directory In Linux Ubuntu

Change Home Directory In Linux – How To Go To Root Directory In Linux Ubuntu

By Sourabh / May 9, 2023 Category: How To, Ubuntu

Tutorial explains how to go to root directory in Linux command – Ubuntu terminal and how to change home directory in Linux command line. See about the command to find root directory in Linux

Root Directory In Linux Ubuntu

The /root directory is the home directory of the root account. It must be known to all that the root is the user name or account that by default has access to all commands and files on a Linux.

The root account is also known as root user or the superuser.

The /root contains all other directories and their subdirectories. It is designated by a forward slash ( / ). It contains user’s configuration files.

It must be known that the /root is a subdirectory of the root directory, as indicated by the forward slash that begins its name.

How To Go To Root Directory In Linux Ubuntu Terminal

You can go to the root directory on a Linux system by using the cd command. The cd command is known as change directory command.

$ cd /

To navigate to the root user’s home directory, /root, run the command:

$ cd /root

If you are already logged into the root user account, the run:

# cd

You can also use the command cd ~ (note the tilde symbol).

Primary Sidebar

Latest Posts

Delete Directory And Contents Recursively Without Prompt On Linux

Check User Login History In Ubuntu Linux Command Line

Use Locate Command To Find File In Linux Terminal By Name

How To Change Terminal Color In Ubuntu Command Line

How To Run Fsck Manually In Linux To Fix Unexpected Inconsistency

How To Fix Broken Packages On Ubuntu From Terminal

Re Execute The Previous Command In Linux Ubuntu Command Line

How Much RAM Is Needed For Ubuntu PC

How To Find Large Files And Directories In Linux Command Line

How To Use Clear Command History In Linux Terminal

© 2026 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap