Sponsored Content
Full Discussion: find directory help
Top Forums UNIX for Advanced & Expert Users find directory help Post 302480073 by R0H0N on Tuesday 14th of December 2010 02:10:28 AM
Old 12-14-2010
-type and -iname are the arguments to the find command and d and .private are the values to those arguments respectively.

So, in first command the value of iname becomes -type, which is wrong. In second command u have assigned values correctly to the arguments.(i.e value d is assigned to argument -type and value .private is assigned to argument -iname)
This User Gave Thanks to For This Post:
R0H0N
 

10 More Discussions You Might Find Interesting

1. HP-UX

How find size of directory

Hi, How can find the size of the directory. If the directory has 1000 files. I want the total size of directory including all the files. the bdf command is just able to give only the volume size. It is not heling my cause. (2 Replies)
Discussion started by: truth
2 Replies

2. UNIX for Advanced & Expert Users

find - directory only

All, I want to find ONLY the directories containing ...say "*.log" under some $MY_HOME. man on find does not seem to yield any suitable option for me. need to do this on a Sun system. help (verily) appriciated. (:) ) Regards (4 Replies)
Discussion started by: ipzig
4 Replies

3. UNIX for Dummies Questions & Answers

find particular directory

Hi, i know only directory name I want to find location of tat directory(full path) is there any option to find directory (1 Reply)
Discussion started by: arulkumar
1 Replies

4. Shell Programming and Scripting

how to find the size of a directory alone

hi, i am using korn shell............... Any one please help me in solving the below question: question: i need to find the size of the directory alone... let us assume /root/kamal/hash1 is the directory, now i want to find the hash1 size .. ... (7 Replies)
Discussion started by: G.K.K
7 Replies

5. UNIX for Dummies Questions & Answers

how to find a file named vijay in a directory using find command

I need to find whether there is a file named vijay is there or not in folder named "opt" .I tried "ls *|grep vijay" but it showed permission problem. so i need to use find command (6 Replies)
Discussion started by: amirthraj_12
6 Replies

6. UNIX for Dummies Questions & Answers

Script to find a string in a directory/sub-directory

I'm trying to find this string 'preparing string IBE_Quote_W1_Pvt.SaveWrapper for quote_header_id’ in my Apache log file directory. The log file that contains this string may be in a parent direcotry or a sub-directory. I have tried 'grep' and 'awk' with no success. I would like to get the path... (3 Replies)
Discussion started by: gross
3 Replies

7. Shell Programming and Scripting

Find Directory help

Hey All, New to Bash Scripting I have a find command to count the current directories it is: dirCount=`find $2/ -type d | wc -l` What I get is a count of all directories in $2 as well as $2 itself. What I need to do is ignore $2 itself and just get the folders inside $2. Thank in... (6 Replies)
Discussion started by: brandonpal
6 Replies

8. UNIX for Dummies Questions & Answers

"-maxdepth 1" argument for Solaris find. Other way to restrict find in only one directory?

Hi I wish to find only files in dir /srv/container/content/imz06/. It means exclude subfolder /srv/container/content/imz06/archive/ > uname -a SunOS testbox6 5.10 Generic_139555-08 sun4v sparc SUNW,Sun-Blade-T6320Its Solaris default "find" > find /srv/container/content/imz06/* -name... (4 Replies)
Discussion started by: slashdotweenie
4 Replies

9. Shell Programming and Scripting

Find every directory named XYZ under the DVLP directory

I only want to find files under each branch of the directory tree inside directories named XYZ and there are multiple XYZ directories? (7 Replies)
Discussion started by: emc^24sho
7 Replies

10. UNIX for Beginners Questions & Answers

How to find and get a file in an entire directory with an excluded directory specified?

How to get a file 'zlib.h' in an entire directory with an excluded directory specified lives under that starting directory by using find command, as it failed on: $ find . -name 'zlib.h' -a -ipath 'CHROME.TMP' -prune -o -print it'll just list entirely up (2 Replies)
Discussion started by: abdulbadii
2 Replies
IWPRIV(8)						     Linux Programmer's Manual							 IWPRIV(8)

NAME
iwpriv - configure optionals (private) parameters of a wireless network interface SYNOPSIS
iwpriv [interface] iwpriv interface private-command [private-parameters] iwpriv interface private-command [I] [private-parameters] iwpriv interface --all DESCRIPTION
Iwpriv is the companion tool to iwconfig(8). Iwpriv deals with parameters and setting specific to each driver (as opposed to iwconfig which deals with generic ones). Without any argument, iwpriv list the available private commands available on each interface, and the parameters that they require. Using this information, the user may apply those interface specific commands on the specified interface. In theory, the documentation of each device driver should indicate how to use those interface specific commands and their effect. PARAMETERS
private-command [private-parameters] Execute the specified private-command on the interface. The command may optionally take or require arguments, and may display information. Therefore, the command line parameters may or may not be needed and should match the command expectations. The list of commands that iwpriv displays (when called without argument) should give you some hints about those parameters. However you should refer to the device driver documentation for information on how to properly use the command and the effect. private-command [I] [private-parameters] Idem, except that I (an integer) is passed to the command as a Token Index. Only some command will use the Token Index (most will ignore it), and the driver documentation should tell you when it's needed. -a/--all Execute and display all the private commands that don't take any arguments (i.e. read only). DISPLAY
For each device which support private commands, iwpriv will display the list of private commands available. This include the name of the private command, the number or arguments that may be set and their type, and the number or arguments that may be display and their type. For example, you may have the following display : eth0 Available private ioctl : setqualthr (89F0) : set 1 byte & get 0 gethisto (89F7) : set 0 & get 16 int This indicate that you may set the quality threshold and display an histogram of up to 16 values with the following commands : iwpriv eth0 setqualthr 20 iwpriv eth0 gethisto AUTHOR
Jean Tourrilhes - jt@hpl.hp.com FILES
/proc/net/wireless SEE ALSO
iwconfig(8), iwlist(8), iwevent(8), iwspy(8), wireless(7). net-tools 31 October 1996 IWPRIV(8)
All times are GMT -4. The time now is 12:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy