• 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

Ubuntu 25.04 ‘Plucky Puffin’ Is Available To Download

How to Login as Root User in Linux Terminal

Install Firefox In Ubuntu Terminal Command Line

How To Check Kernel Installed Date In Linux Ubuntu

How To List All Kernel Modules That Are Loaded In Ubuntu

Enable Ubuntu Auto Login Without Password

Download Ubuntu 25.04 Official Default Wallpapers

How To Fix Initramfs Error In Ubuntu Command Line

How To Check All Available Kernel Version In Linux Ubuntu

3 Best Artificial Intelligence Domain Name Generators

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

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