Lets assume my system has the root ( / ) partition located on "/dev/sda1" and the /home partition is located on "/dev/sda2", Why does "/home" have   " / " at the beginning since " / " is on a different partition?
123724
I have done some research about this on Google, but the results were cloudy. Why is the / sign used to denote the root directory. Are there any solid reasons behind it?
10337
Why do we use ./filename to execute a file in linux?  Why not just enter it like other commands gcc, ls etc...
89650
This is merely just a vocabulary question, but which keeps turning around in my head.  It comes from a practice exam from a  preparation book. The correct answer according to the book is that ~/Documents is a relative directory because it is relative to the home directory.  However, this book contains an honourable ratio of typos and mistakes so I cannot take for granted everything which is written there. Here I do not agree because for me ~ acts as a variable expanded by the shell into either the content of the $HOME variable or the current user home directory path (cf. ), so the actual path is /home/myuser/Documents which is indeed an absolute directory.  Even , for once, seems of no help to me on this topic (even if it seems to confirm that the book is wrong on this one):     An absolute or full path points to the same location in a file system   regardless of the current working directory. To do that, it must   contain the root directory.      By contrast, a relative path starts from some given working directory,   avoiding the need to provide the full absolute path.   Here again, I do not agree: according to this definition, the path /opt/kde3/bin/../lib which does not depends of the current working directory should be an absolute one, however my current understanding of this matches the book's author making this path a relative one.  A quick web-search is just adding to my frustration, according to :     absolute path - A path relative to the root directory. Its first character must be the pathname separator.   So $HOME/Documents, or even just $HOME would not be considered absolute directories? Or does this definition implies variable expansion? What about the shell's ~ character? Is there any reliable definition of relative vs. absolute directory I can find somewhere and am I wrong all of the way?
98607
How can we check the mount points for partitions listed in /dev/sd*? For example, I would like know if the partition for my home is /dev/sda4.
23805
What would happen if I delete the / directory while logged as root into Ubuntu?  Would I get some sort of error to the effect of Error: unable to self-destruct? Or would I actually be able to delete the directory?
12086
root@server # tar fcz bkup.tar.gz /home/foo/ tar: Removing leading `/' from member names   How can I solve this problem and keep the / on file names ?
69495
I'm new to Ubuntu. I'm running Ubuntu 14.04.1 LTS.   My problem is that when I try to access my desktop or any folder at my home directory, it always gives me this error   No such file or directory   even though the folder exists and I can see it with the ls command
23448
I managed to make a directory literally named ~.  (Apparently, Python's os.mkdir('~/something') does this.)  How do I remove it without nuking my home?  Also, if it helps, I have my real /home on a separate partition. And the duplicate ~ is located in (the real ) ~.
7483
Total Ubuntu/Linux in general noob here.   What is the difference between /home and /Home ? I've noticed I need to use sudo to do anything in /home. /Home (home folder?) has pictures, videos, etc. in it so thats where I want to really create new folders and stuff but I can't seem to get to it using cd.
8546
I have the following directory setup:  /var/www/html   and  /home/tim/Website/files_here   The folder html is actually a link to /home/tim/Website. This means all my Website files are in my home area (they get included in the backup etc).  Is there anything wrong with this method? Is there a better way to get the homepage to be in /home/tim/Website?  Are symbolic links on a web server ever incompatible with users not on linux?
14238
I installed 12.04 over a prior (experimental) install of 10.10. Somehow in the setup, I did not specify that /home be set to a separate (extended) partition (/dev/sda7). So the install set up /home on the /root partition, and I am now in a right serious muddle.  I would like to   1) tell it to set /home to sda7 (permanently so that it boots each time that  way), and  2) move my existing /home from my old workhorse 10.04 to /home on this 12.04 computer. (I remember that one creates a tarball on the source computer, copies it over to the target computer, then extracts the tarball on the new computer. But I don't know, and don't seem to find, the correct steps to do this.  How to resolve this?  Any guidance will be much appreciated. I use my computer heavily, but don't seem to have many problems and consequently never get much past the noobie stage of Linux in terms of using the terminal, so your kindness in laying out the steps will be most helpful.
21052
I find that under my root directory, there are some directories that have the same inode number:  $ ls -aid */ .*/  2 home/ 2 tmp/ 2 usr/ 2 var/ 2 ./ 2 ../ 1 sys/ 1 proc/   I only know that the directories' names are kept in the parent directory, and their data is kept in the inode of the directories themselves.  I'm confused here.  This is what I think when I trace the pathname /home/user1.   First I get into the inode 2 which is the root directory which contains the directory lists. Then I find the name home paired with inode 2. So I go back to the disk to find inode 2? And I get the name user1 here?
58458
I was working in my terminal, when I misspelled while cd to root (/). Accidentally, I typed // and I got in terminal:  root@weblocalhost://#   When i type pwd, i get response // but when I type ls -s i got same list as in / directory.  When you type more than 2, i.e. /// you get:  root@weblocalhost:/#   Always 1 / except for 2. Is there any difference and what is // for?
106011
So recently a Debian 5.0.5 installer offered me to have separate /usr, /home, /var and /tmp partitions (on one physical disk).  What is the practical reason for this? I understand that /home can be advantageous to put on a separate partition, because user files can be encrypted separately, but why for anything else?
122717
What is difference between %Windir% and %Systemroot% in Windows Path Location? Both of them show "Windows" folder location.
99927
I added a symlink to the current directory with ln -s . aa. If I execute cd aa, and after that I executed pwd, the response is /home/sim/aa.  But if I execute /bin/pwd it prints /home/sim (the current directory hasn't changed).  Where does this difference come from?
87667
What is the best way to share the same /home directories between different linux distribution?   I mean, I want to have both, say, Fedora and Arch, and I want to find my files at home no matter which linux distro I boot into. But if I mount the same partition for /home then I may mess up the configurations saved inside /home directory.  So what can I do?