• 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

Downlaod Ubuntu 26.10 Stonking Stingray

How To Shutdown Linux With A 15 Minute Delay And Message

Using Linux Terminal How To Get Total Disk Size In GB

Count And Find Number Of Files In A Linux Directory Using Command

Check How Many Users Are Created In Linux Ubuntu

How To Check User Permissions In Linux Using Command

Check Which Folder Is Taking More Space In Ubuntu Linux

How to Install Claude Desktop App in Ubuntu Linux

Job Scheduling Using At Command In Linux With Examples

How To Check Permissions Of A Directory In Linux Command

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

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