Linux current directory FAQ: How do I show what directory I'm currently in on a Unix or Linux system?
Just use the Unix/Linux
pwd command, like this:
If you're in a directory named /home/al, the output looks like this:
$ pwd /home/al
If you're in a directory named /tmp, the output looks like this:
$ pwd /tmp
That's all there is to the
There’s just one person behind this website; if this article was helpful (or interesting), I’d appreciate it if you’d share it. Thanks, Al.