Sponsored Content
Top Forums Shell Programming and Scripting Unexplained result of 'find' command Post 302966978 by edstevens on Thursday 18th of February 2016 11:38:35 AM
Old 02-18-2016
hmm. there is a subdir named 'cron'. Hadn't noticed that. Kind of strange, too. What do you make of this:

Code:
oracle:dwprd$ ll|grep cron
drwxr-xr-- 2 smart1 smartusr      4096 Dec  1  2012 cron

2016-02-18 10:32:32
oracle:dwprd$ ll cron
total 0
?--------- ? ? ? ?            ? newcron.msg
?--------- ? ? ? ?            ? newcron.sh
?--------- ? ? ? ?            ? smart.20100208
?--------- ? ? ? ?            ? smart.20100803
?--------- ? ? ? ?            ? smart.20101027
?--------- ? ? ? ?            ? smart.20101101
?--------- ? ? ? ?            ? smart.20101109

In any event, I'll try the maxdepth option.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

find command not returning any result

I am looking for all the header files (*.h).. which as per documentation of the UNIX system shouldbe there. I am using find / -name *.h -print But it does't give anything. My question is under what condition the "find" condition will fail to find the file? What is the work around. ... (4 Replies)
Discussion started by: rraajjiibb
4 Replies

2. Windows & DOS: Issues & Discussions

Setting a variable to result of FIND command

I am working on a batch script where a filter is placed on a directory, and the files that come out of that filter have to be copied into another directory. More specifically, I am trying to set the results of a FIND command to a variable, so that I may access this variable / file later. The... (2 Replies)
Discussion started by: JP Favara
2 Replies

3. Shell Programming and Scripting

result of find

Hey, I am using 'find' to check the existence of a file which is created today, and this is what I have find . -name $filename -mtime +0 -exec ls {} \; my problem is I need to know what the above command actually get anything, so can anyone give me some pointer on how to do... (1 Reply)
Discussion started by: mpang_
1 Replies

4. Shell Programming and Scripting

sh : Problem with the result of a find command

Hi I'm working on solaris and I'm trying to run a script. The part listed here does not work properly, the result of the find command is not in the output file /tmp/result (I've checked the find command , executing the shell with sh -x , it seems correct). It seems like I've lost the standard... (4 Replies)
Discussion started by: frenchwill
4 Replies

5. UNIX for Dummies Questions & Answers

Find command - result order

Hi! Could you please explain why the result order isn't in reverse time order as it is requestet by "xargs ls -ltr" command (ksh shell)? There are about 5000 files in dir. $ find . -name "*201010*" -print |xargs ls -ltr |tail -rw-r--r-- 1 oracle oinstall 54326 Nov 25 20:32... (2 Replies)
Discussion started by: laki47
2 Replies

6. Programming

Unexplained segmentation fault

Hi, The following code reads 20 characters from one file and writes them (appends them) to the other file. The code works in Turbo C++ on windows but it shows segmentation fault on Linux. I am using Ubuntu 10.10 and gcc compiler. Please tell me where I was wrong. #include<stdio.h> void... (6 Replies)
Discussion started by: haritha.gorijav
6 Replies

7. UNIX for Dummies Questions & Answers

Strange result using find command.

I created a file with the permissions of 776. When I ran the command find /root/Desktop -perm -644 -type f The created file shows up as part of the results. Doesn't -perm -mode mean that for global, only 4(read) and 2(write) can be accepted ? (2 Replies)
Discussion started by: Hijanoqu
2 Replies

8. UNIX for Dummies Questions & Answers

Listing only the files under a directory from the result of find command

Hi, I have a main folder 'home'. Lets say there is a folder 'bin' under 'home'. I want to check the list of files under subdirectories present under the /bin directory created in the last 24 hours. I am using the following find command under home/bin directory: find . -mtime -1 -print ... (3 Replies)
Discussion started by: DJose
3 Replies

9. UNIX for Dummies Questions & Answers

Unexplained text in data files

Has anyone ever encountered text from other files suddenly appearing in another data file that is not being used. There does not seem to be any reason for it, any thoughts would be useful. Thanks (14 Replies)
Discussion started by: SRoberts
14 Replies

10. Shell Programming and Scripting

Linux find command seems to not transmit all the result to the '-exec command'

Hello. From a script, a command for a test is use : find /home/user_install -maxdepth 1 -type f -newer /tmp/000_skel_file_deb ! -newer /tmp/000_skel_file_end -name '.bashrc' -o -name '.profile' -o -name '.gtkrc-2.0' -o -name '.i18n' -o -name '.inputrc' Tha command... (3 Replies)
Discussion started by: jcdole
3 Replies
smartcard(5)						Standards, Environments, and Macros					      smartcard(5)

NAME
smartcard - overview of smart card features on Solaris DESCRIPTION
The smart card framework provides a mechanism to abstract the details of interacting with smart cards and smart cardreaders (called card terminals). The framework is based on the OpenCard Framework V1.1 (OCF) with Sun extensions to allow OCF to operate in a multi-user envi- ronment. The core OCF software protocol stack is implemented as a system service daemon. This implementation allows smart cards and card terminals to be shared cooperatively among many different clients on the system while providing access control to the smart card and card terminal resources on a per-UID basis. An event dispatcher is provided to inform clients of events occuring on the card and at the card terminal, such as card insertion and card removal. A high-level authentication mechanism is provided to allow clients to perform smart card-based authentications without requiring knowledge of specific card or reader authentication features. A set of applet administration tools is provided for JavaCards that support downloading Java applets (although applet build tools are not provided). Administration of the smart card framework is provided with the smartcard(1M) command line administration utility and the smartcardguiad- min(1) GUI administration tool. Support the following card terminal is provided: o Dallas iButton Serial Reader (see ocf_ibutton(7D)) Additional card terminals can be supported by implementing smart card terminal interfaces in a shared library. Support for several smart cards is provided: o Schlumberger Cyberflex Access JavaCard o Schlumberger MicroPayflex o Dallas Semiconductor Java iButton JavaCard Each of the supported cards has a complete set of OCF card services that implement the necessary functionality for authentication and secure storage of data. For the two supported JavaCards, an authentication and secure data storage applet is provided that can be loaded into these cards with the supplied applet administration tools. See smartcard(1M). A PAM smart card module is provided to allow PAM clients to use smart card-based authentication. See pam_smartcard(5) CDE is able to use the PAM smart card module for dtlogin and dtsession authentication. CDE also uses the smart card framework event dis- patcher to listen for events on the card terminal and provide corresponding visual feedback to the user. SEE ALSO
ocfserv(1M), smartcard(1M), libsmartcard(3LIB), pam_start(3PAM), pam_smartcard(5), ocf_ibutton(7D), scmi2c(7D) SunOS 5.10 16 Oct 2002 smartcard(5)
All times are GMT -4. The time now is 04:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy