Linux pwd Command Tutorial With Examples

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/linux-pwd-command-tutorial-examples/
PINTEREST
PINTEREST
INSTAGRAM

Linux pwd command is the acronym of the print working directory . This command is very old and popular command. This command have do not have a lot of features. But the features it have is very useful for us. Pwd is supported by Linux, AIX, HP-UX, BSD, UNIX.

Print Current Working Directory

The ultimate usage is printing current working directory in to the terminal. We will just issue the pwd command .

Print Current Working Directory

Print Current Working Directory

Assign Current Working Directory To Shell Variable

Another popular usage is setting current working directory value or full path in to a shell variable. We will run pwd command in a new shell and assign the returning value into current shells variable name mypath .

Assign Current Working Directory To Shell Variable

Assign Current Working Directory To Shell Variable

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/linux-pwd-command-tutorial-examples/
PINTEREST
PINTEREST
INSTAGRAM

LEARN MORE  How To Set Java Home Path?

You may also like...

Leave a Reply

Your email address will not be published.

Enjoy this blog? Please spread the word :)