Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
/bin/pwd against pwd
Name: frank dolivka Date: February 10, 2005 at 07:35:39 Pacific OS: AIX CPU/Ram: RS6000
Comment:
Hi,
I get different results when I execute pwd with full path.
If I execute in my home dir the pwd command. edckeon1-a1xrdb1-/u/a1xrdb1>pwd /u/a1xrdb1 edckeon1-a1xrdb1-/u/a1xrdb1>which pwd /usr/bin/pwd edckeon1-a1xrdb1-/u/a1xrdb1>/usr/bin/pwd /home/a1xrdb1 edckeon1-a1xrdb1-/u/a1xrdb1>ls -ld /u lrwxrwxrwx 1 bin bin 5 Nov 15 2003 /u -> /home
I know that /u is just a link to /home but why do I get different output from the same command ?
Any help is welcome. Thanks in advance Frank Gerigk
Summary: Hi, I am trying to FTP files ( say 100 files) one per minute.I am using the following ftp -niv ${BOX} ENDOFTEXT user xyz abcd bin pwd mput *.txt bye ENDOFTEXT...
Summary: Uh Oh... I copied my new script to my other server and it doesn't work...The script gets stuck after the first read of the first line. Here is the script with the debug (-x): #!/bin/ksh -x dhcp.ksh r...
Summary: Look for your PS1 variable and set that in your home directory .profile Since, I use bash, I would set this in my .bash_profile export PS1="[\u@\h \W:]" The output would be username@homedir \current d...