LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   elementary OS (https://www.linuxquestions.org/questions/elementary-os-112/)
-   -   bash: var/log: No such file or directory (https://www.linuxquestions.org/questions/elementary-os-112/bash-var-log-no-such-file-or-directory-4175649368/)

Charri 03-02-2019 05:03 AM

bash: var/log: No such file or directory
 
Does anyone know why I can no longer see my var/log directory? It was there like 20 minutes before I created this post.

Code:

carlos@carlos-ThinkPad-T470:~$ var/log
bash: var/log: No such file or directory
carlos@carlos-ThinkPad-T470:~$


syg00 03-02-2019 05:11 AM

Leading slash: "/var/log"

berndbausch 03-02-2019 06:52 AM

Even with the slash, the command will generate an error (a different one, though).

BW-userx 03-02-2019 07:15 AM

Code:

sudo ls /var/log
su
passwd
#ls /var/log

it don't want non root looking in it,
it might be set up like that.


All times are GMT -5. The time now is 06:57 AM.