10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi all,when I cd to an environment variable "cd $MYDIR, if I type pwd, I don't the path to the environment variable dir I cd to. Appreciate the help, regards..Abbya (5 Replies)
Discussion started by: abbya
2. Shell Programming and Scripting
I am trying to use 'pwd' command in following way.
current_directory == /dirA/dirB/test/dirC
if ; then
I am not sure how to pass this in command way. Please help!
emily (10 Replies)
Discussion started by: emily
3. Shell Programming and Scripting
how can i get the absolute path of whatever directory a script and/or command is in when it is run?
i want to know the directory. say for instance, if i were to run the "who" command, i want to know exaclty where the who command is located.
if a user ran a script, i want to know where there... (2 Replies)
Discussion started by: SkySmart
4. UNIX for Dummies Questions & Answers
can anyone expalin the real importance of PWD as a variable.
However pwd command and $PWD is going to give the same result, then why do we have 2 different things.
Please give some example which illustrates the difference between both.
Thanks (9 Replies)
Discussion started by: pandeesh
5. UNIX for Dummies Questions & Answers
One more question, In unix when i use pwd the following I get:
Is there a way to get the out put like this in which the if there is a space in the directory eg directory name it should show as directory\ name:... (2 Replies)
Discussion started by: kevincobain2000
6. UNIX for Dummies Questions & Answers
Can you tell me if there is a command such as pwd which does not give me the absolute NFS pathname i.e. it starts with .autofs? At the moment on the unix when I use the 'pwd' command it always gives me the nfs pathname rather thanthe local pathname of which is what i want, is there an... (4 Replies)
Discussion started by: cyberfrog
7. UNIX for Advanced & Expert Users
Can anyone explain this in detail ...
Thanks in Advance (1 Reply)
Discussion started by: sakthi.abdullah
8. UNIX for Dummies Questions & Answers
Home directory mounted on one local system as /home/username, same directory mounted on a remote system as /home/engr/username.
How to use command to use remote host pwd. For example
rsh <remote host> ls -l ~pwd (2 Replies)
Discussion started by: bugsandbunny
9. Shell Programming and Scripting
We all know that pwd (or echo $PWD) gives us the present working dir as output.... but my doubt is that I'ld like to know how to get the present working folder - I mean - name of the current folder alone.. using pwd command I get the full folder name (right from root path)... I need to know... (2 Replies)
Discussion started by: mohanprabu
10. UNIX for Dummies Questions & Answers
Im using csh - how can i get the prompt to display my working directory as i navigate up/down.
Also - i would like to hightlight the prompt in a color - is this possible and how can i do this.
I am using Refelection X
Thanks (1 Reply)
Discussion started by: hitz