![]() |
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 Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to find complete path of a file in unix | yahoo! | UNIX for Dummies Questions & Answers | 5 | 07-25-2008 03:59 AM |
| how to find the path of a file? | wrapster | Shell Programming and Scripting | 3 | 03-26-2008 10:31 AM |
| Find a file in sub-directories.. o/p just the path | pranavagarwal | Shell Programming and Scripting | 3 | 11-23-2007 01:50 AM |
| URGENT: UNIX FTP cannot find path error | minix | HP-UX | 1 | 04-15-2006 10: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!; 23 Minutes Ago at 04:51 PM. Reason: it does not make sense |
| Bookmarks |
| Tags |
| extremely critical |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|