![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to find the path of a file? | wrapster | Shell Programming and Scripting | 3 | 03-26-2008 10:31 AM |
| command to find the path of a file | abhilashnair | UNIX for Dummies Questions & Answers | 3 | 02-17-2008 07:15 PM |
| to find the file with full path | surjyap | Shell Programming and Scripting | 5 | 01-18-2008 03:26 PM |
| URGENT: UNIX FTP cannot find path error | minix | HP-UX | 1 | 04-15-2006 09:54 AM |
| ls -R command but need complete path name on each line | condor4-2 | UNIX for Advanced & Expert Users | 2 | 12-12-2005 11:22 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
hi experts(novice people can stay away as it is no child's game),
i am developing a script which works like recycle bin of windows. the problem i am facing is that when ever i am trying to delete a file which is situated in parent directory or parent's parent directory i am unable to capture the path of the file. eg:-- i am presently working in /fs/home/u1/proj and i am trying to delete files of parent directory or parent's parent directory as shown below...... /fs/home/u1/proj> rm ..file1 dont get confused as "rm" has been aliased with "mv" command which will move the "file1" to a directory called "recyclebin"..... My intention is to move the file1 along with its complete path so that i can retreive it back to the original directory from where it got deleted as happens in Windows(Recycle bin)........ hope there is some command such as "dirname" or something of that sort.... Thanks in advance.................... Last edited by yahoo!; 07-24-2008 at 07:21 AM.. Reason: it does not make sense |
|
||||
|
hi experts,,,,,,,,,,
i am expecting relevent solution..... and pwd is not the command that i am looking for............... how can i develope the code without knowing the basic command i.e., "pwd" i agree my project is a bit complex but still there is hope of finding a solution................ Thanks in advance............ |
![]() |
| Bookmarks |
| Tags |
| idhar |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|