Chaos of confusion RESOLVED - was [Re: When specifying path to file - confused about ./ and ~/]
- To: debian-user@lists.debian.org
- Subject: Chaos of confusion RESOLVED - was [Re: When specifying path to file - confused about ./ and ~/]
- From: Richard Owlett <rowlett@cloud85.net>
- Date: Mon, 3 Apr 2017 07:46:09 -0500
- Message-id: <[🔎] b20c0db8-d75f-c982-8ee5-57fb01b47563@cloud85.net>
- In-reply-to: <20170327124715.GA30191@tuxteam.de>
- References: <e6fe9d1b-f008-23fd-91ea-7e61be67cbd6@cloud85.net> <b8c01815-0914-8aad-1a6e-d42929715576@ludikovsky.name> <583c52df-4227-15b1-a95e-b61e5b2f5505@cloud85.net> <CAMPXz=pE9A3EJrU_oxrwf-vL=Yska9=zvuGFvhu6HRBOXdYSOg@mail.gmail.com> <20170327124715.GA30191@tuxteam.de>
On 03/27/2017 06:14 AM, Richard Owlett wrote:
Please avoid trying to briefly explain.
Please refer me to a good web page.
I *KNOW* I'm missing something fundamental.
...
On Mon, Mar 27, 2017 at 11:25:30PM +1100, David wrote:
http://www.ee.surrey.ac.uk/Teaching/Unix/unix1.html
http://www.ee.surrey.ac.uk/Teaching/Unix/unix2.html
Sections 1.4, 1.6 part 2, and 2.1 demonstrate use of '.' and '~' to
represent directory names.
To the best of my knowledge, '.' is intrinsic to the filesystem
On 03/27/2017 07:47 AM, tomas@tuxteam.de wrote:
Yes and no (see below)
[massive snip]
Of course, if you start your path with /, it's an absolute
path, like /usr/local/bin/foo/command.
That was the key.
*BUT* it went unrecognized until crashed full tilt into another problem.
My subject line SHOULD HAVE BEEN:
" When specifying path to file - confused about ./ and ~/ and /"
Particular examples would be the difference among
"ls ./" and "ls ~/" *AND* "ls /".
richard@march-9-Jessie:~$ cd testfolder
richard@march-9-Jessie:~/testfolder$
richard@march-9-Jessie:~/testfolder$ ls ~/
Documents metime Public Videos
Downloads Music t1 wordpress_install
apr-3A new file Templates
richard@march-9-Jessie:~/testfolder$ ls ./
test-script-0 test-script-1
richard@march-9-Jessie:~/testfolder$ ls /
bin dev home lib
media boot etc initrd.img
richard@march-9-Jessie:~/testfolder$
Reply to: