Hi. I’m relatively new to Leap. When I use Dolphin and navigate to the Documents section in my home directory (/home/steven/Documents), I can see what is in that directory. However, when I use Konsole, I can only go so far as /home/steven. When I do a “pwd”, it shows I am in that directory. And when I do an “ls”, it shows everything in that directory with the executable files in green and the Directories in blue. But when I try to change to one of those Directories in blue, Konsole tells me that there is no such file or directory. I’m not sure why I can get at it in Dolphin but not Konsole. I have some files in the Documents directory that I built but can’t get in there to compile them. I tried switching to “su” thinking that would override something I’m missing but that didn’t work either. (I know that’s dangerous so I immediately exited out of it.) Thanks for any help you can give me.
Okay. I was using the backslash. I’m not on that PC right now but will try it when I am. Why wouldn’t I use the backslash? Because I am already in the parent directory? Thanks for your help. I knew it had to be something simple.
Try to understand the difference between absolute and relative pathes.
An absolute path starts with a / and is alwyas from the root of the one and only directory tree on your system.
When a path does not start with a / it is relative to your working directory.
This is very important, specialy when you are root because then doing things to the wronf files can wotk out as a disaster.
BTW when you use Konsole, it is not Konsole that matters so much. You are then using a shell, most probably bash. So when you want to know more about the commands you type there, you should learn and ask about using bash, not realy about Konsole. Shells work from every terminal, if it is the console of your system, a terminal connected (does not occur to often nowadays), or a terminal emulator like xterm or konsole.