Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2004 04:33 AM
09-08-2004 04:33 AM
Find
I am having a file csvinv.dat under /app/dev49i/csv/inqload/csvinv.dat directory.
But while using find command I get following output.Can anyone help on this.
$ pwd
/app/dev49i
$ find /app/dev49i/ -name csvinv.dat -print
Give no putput
$ find /app/dev49i/. -name csvinv.dat -print
One dot after dev49i shows o/p as below...
/app/dev49i/./csv/inqload/csvinv.dat
$ ls -al /app/dev49i/csv/inqload/csvinv.dat
-rwxr-xr-x 1 iefit dba 99665 Aug 14 15:56 /app/dev49i/csv/inqloa
d/csvinv.dat
Regards
Bapatvin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2004 04:36 AM
09-08-2004 04:36 AM
Re: Find
find /app/dev49i -name csvinv.dat -print
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2004 04:40 AM
09-08-2004 04:40 AM
Re: Find
No it's not working in that way.I dont think it's anything wrong with cmd..Something strange.Does fsck/unmounting the file system will help...
Experts pls advice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2004 04:50 AM
09-08-2004 04:50 AM
Re: Find
mkdir -p /app/dev49i/csv/inqload
touch /app/dev49i/csv/inqload/csvinv.dat
cd /app/dev49i
find /app/dev49i -name csvinv.dat -print
/app/dev49i/csv/inqload/csvinv.dat
ls -al /app/dev49i/csv/inqload/csvinv.dat
-rw-r--r-- 1 root sys 0 Sep 8 10:45 /app/dev49i/csv/inqload/csvinv.dat
Which shell are you using?
env |grep SHELL
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2004 04:55 AM
09-08-2004 04:55 AM
Re: Find
Generally . (dot) used to notify the current directory there.
We can identify the /home/muthu as,
/home/./muthu too. It is like the file name with current directory ./filename as like to refer the file which is located on root as /filename.
$dir --> $dir/ --> $dir/./ are same on command execution
We can use / or /./ to notify the root directory.
If you do ls as,
ls -al /app/dev49i/csv/./inqload/csvinv.dat
It will be indicating same file there. It is just notation used to include current directory there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2004 04:58 AM
09-08-2004 04:58 AM
Re: Find
OK O got it .
It's symbolic link.I thought it before also.
It's working with this command ,
find /app/dev49i -follow -name csvinv.dat -print
Thks
Bapatvin