Code: Select all
root@acer-aspire-one:~# ls //This prints nothing
root@acer-aspire-one:~# ls -a
. .. .bashrc .profile
Code: Select all
root@acer-aspire-one:~# dir //This prints nothing
root@acer-aspire-one:~# dir -a
. .. .bashrc .profile
Code: Select all
root@acer-aspire-one:~# ls //This prints nothing
root@acer-aspire-one:~# ls -a
. .. .bashrc .profile
Code: Select all
root@acer-aspire-one:~# dir //This prints nothing
root@acer-aspire-one:~# dir -a
. .. .bashrc .profile
Code: Select all
ls /bin
Code: Select all
# login <username>
Code: Select all
$ cd /home/<username>
Code: Select all
stan@acer-aspire-one:~$ ls
help
stan@acer-aspire-one:~$ cd /Instagram-Scheduler
stan@acer-aspire-one:/Instagram-Scheduler$
Code: Select all
stan@acer-aspire-one:~$ ls /bin
'[' netcat
2to3-2.7 networkctl
aa-enabled newgrp
aa-exec ngettext
addpart nice
apropos nisdomainname
apt nl
//And so on
You called the full path for the cd command so the Instagram-Scheduler directory isn't in your home directory.stan_willems wrote:Hi, I've logged into my user account and it gives this outputSo ls doens't show the folder Instagram-Scheduler but I can cd into it.Code: Select all
stan@acer-aspire-one:~$ ls help stan@acer-aspire-one:~$ cd /Instagram-Scheduler stan@acer-aspire-one:/Instagram-Scheduler$
Code: Select all
ls /
Oh, thanksHead_on_a_Stick wrote:You called the full path for the cd command so the Instagram-Scheduler directory isn't in your home directory.stan_willems wrote:Hi, I've logged into my user account and it gives this outputSo ls doens't show the folder Instagram-Scheduler but I can cd into it.Code: Select all
stan@acer-aspire-one:~$ ls help stan@acer-aspire-one:~$ cd /Instagram-Scheduler stan@acer-aspire-one:/Instagram-Scheduler$
TrySee also https://en.wikipedia.org/wiki/Path_(com ... tive_pathsCode: Select all
ls /