Home Directory Terminology
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2018
    Location
    Port CoQuitlam, BC
    Posts
    17
    Linux (Fedora) Firefox 64.0

    Home Directory Terminology

    What is considered the "home" directory?

    /home or /home/userlogin?

    cd ~ brings me to /home/orcacomputers, then run a pwd and boom /home/orcacomputers tells me this is home.

    Click image for larger version. 

Name:	Screenshot from 2019-01-13 09-49-04.png 
Views:	5 
Size:	7.7 KB 
ID:	29994

    Am I correct?

  2. #2
    Join Date
    Jul 2005
    Posts
    940
    Linux (Fedora) Firefox 64.0

    Re: Home Directory Terminology

    useradd will define the home directory for each user. Traditionally /home/<user> will be the home directory for a given user, but you can specify whatever directory you choose to be "home" for a new user.
    ======
    Doug G
    ======

  3. #3
    PabloTwo's Avatar
    PabloTwo is offline "Registered User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    7,875
    Linux Chrome 71.0.3578.98

    Re: Home Directory Terminology

    For regular users, /home/$USER is the "home" directory.
    Code:
    $ echo $HOME
    /home/paul
    The tilda "~" is a shortcut to /home/$USER
    If you are not in your topmost user home directory, entering just "cd" alone will take you back to your home directory.
    Code:
    [paul@Brody ~]$ cd /usr/share
    [paul@Brody share]$ pwd
    /usr/share
    [paul@Brody share]$ cd
    [paul@Brody ~]$ pwd
    /home/paul
    Entering "cd -" (a hyphen), will take you to the last previous directory you were in.

    /home can have many users,
    /home/jack
    /home/bettysue
    /home/daffyduckdude

    Each one is a private directory for use by that user alone. Only root can access it freely.

    The home for full root is /root. Does this help?

  4. #4
    Join Date
    Dec 2018
    Location
    Port CoQuitlam, BC
    Posts
    17
    Linux (Fedora) Firefox 62.0

    Re: Home Directory Terminology

    Thanks for the responses @PabloTwo yes that does help, gracias.

  5. #5
    Join Date
    Jun 2005
    Location
    Montreal, Que, Canada
    Posts
    5,612
    Linux (Android 9) Chrome 71.0.3578.99

    Re: Home Directory Terminology

    If you are logged in as root, then /home is the system's home directory. I think it is possible to even create a special system location to be your $HOME
    Run this command: sudo cat /etc/passed. You will see one entry for your logon. Note the locations of some other Linux subsystems.

    By the way, cd [enter] also returns you to $HOME. Do man cd for more info
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840

  6. #6
    Join Date
    Feb 2005
    Location
    London, UK
    Posts
    767
    Windows 7 Chrome 71.0.3578.98

    Re: Home Directory Terminology

    FYI: You may also see /home/<domain>/<user> for home directories.

Similar Threads

  1. Home Directory is gone :(
    By Ernst0 in forum Using Fedora
    Replies: 17
    Last Post: 27th June 2009, 05:20 AM
  2. no directory /home/###! logging in with home=/
    By tzwen in forum Using Fedora
    Replies: 11
    Last Post: 4th April 2009, 01:08 PM
  3. Replies: 0
    Last Post: 15th October 2008, 08:30 PM
  4. fedora directory server with automounting home directory
    By balorg in forum Servers & Networking
    Replies: 2
    Last Post: 7th August 2006, 12:20 AM
  5. /home partition vs. /home directory
    By leasure98 in forum Using Fedora
    Replies: 3
    Last Post: 28th May 2004, 04:39 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •