Sponsored Content
Top Forums UNIX for Dummies Questions & Answers (really basic) List directories only? Post 302319269 by ghostdog74 on Sunday 24th of May 2009 11:35:53 PM
Old 05-25-2009
you can also use find with -type d
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Basic Q: getting list of all files of type within folder & subfolders

A painfully rudimentary UNIX question for somebody. I've been puzzling over this for the last hour but can't find the right command. I'm simply trying to get a list of all files - and their full paths - within a folder & subfolders which have extension .php and .js. That's it! No amount of... (1 Reply)
Discussion started by: AtomicPenguin
1 Replies

2. Shell Programming and Scripting

Have a basic 'for i in cat list' - Trying to get i to be set to a name with a space

Hi Have a file called ldap.list: ****** "o=unix forum" o=groups ****** i wrote a basic script that runs: for i in `cat ldap.list` do ldapsearch -h host -p 389 -b $i THE PROBLEM: - It looks like when the for i in cat ldap.list runs, it doesn't seem to care about the " ", it... (2 Replies)
Discussion started by: littlefrog
2 Replies

3. Shell Programming and Scripting

List of directories into a nested list

I have a list of directories like this a a/b a/c a/d a/d/e a/d/f a/d/g a/d/g/h a/i I would like to convert this list into another list, nested like this a{b{} c{} d{e{} f{} g{h{}}} i{}} Here is a pseudo algorithm for this Add a: (1 Reply)
Discussion started by: Ilja
1 Replies

4. Solaris

Required list of all basic commands for a beginners

I want the commands list to view only files, and only directories and all the basic commands for a beginner of solaris (1 Reply)
Discussion started by: omsingh2k5
1 Replies

5. Shell Programming and Scripting

How to list all the directories, sub directories in a mount along with size in ascending order?

Hi , I am very new to unix as well as shell scripting. I have to write a script for the following requirement. In a particular mount, have to list all the directories and sub directories along with size of the directory and sub directory in ascending order. Please help me in this regard and many... (4 Replies)
Discussion started by: nmakkena
4 Replies

6. UNIX for Dummies Questions & Answers

List directories and sub directories recursively excluding files

Hi, Please help me, how to get all the direcotries, its sub directories and its sub directories recursively, need to exclude all the files in the process. I wanted to disply using a unix command all the directories recursively excluding files. I tried 'ls -FR' but that display files as... (3 Replies)
Discussion started by: pointers
3 Replies

7. Linux

Basic Ubuntu command or script list

I am completely new to Ubuntu 10.04 and Linux in general. I have spent many years in the past using DOS and I consider myself to be at advanced level with various Windows platforms. I have just download Ubuntu 10.04 and burnt to disk. So now I need to know please, is there a list of basic... (2 Replies)
Discussion started by: Royalist
2 Replies

8. Shell Programming and Scripting

How to list all the files, directories and sub-directories in the current path except one directory?

Can anyone come up with a unix command that lists all the files, directories and sub-directories in the current directory except a folder called log.? Thank you in advance. (7 Replies)
Discussion started by: Manjunath B
7 Replies

9. UNIX for Dummies Questions & Answers

List the directories, having given pattern in the directories name, sorted by creation date

It is for HP-Unix B.11.31. Requirement: 1. List the directories, having given pattern in the directories name, sorted by creation date. Example: Directories with name "pkg32*" or "pkg33*" 2. On the output of 1. list the directories by creation date as sort order, with creation date... (2 Replies)
Discussion started by: Siva SQL
2 Replies
CWHOIS(3)							   whois client 							 CWHOIS(3)

NAME
CWHOIS - whois client SYNOPSIS
cwhois [-a|-F|-L|-m|-M|-r|-S|-R] [-h hostname] [-s source[[,source]...]] [-T type[[,type]...]] [-i attr[[,attr]...]] keys cwhois [-t type] cwhois [-v type] DESCRIPTION
cwhois Simple whois client that gives you back output, compatiable with RIPE DB v2, if you'll ask it to. OPTIONS
-a search all databases -F fast raw output -L find all Less specific matches -m find first level more specific matches -M find all More specific matches -r turn off recursive lookups -S tell server to leave out 'syntactic sugar' -R force to show local copy of the domain object even if it contains referral -h hostname search alternate server -s source[[,source]...] search databases with source 'source' -T type[[,type]...] only look for objects of type 'type' -i attr[[,attr]...] do an inverse lookup for specified attributes -t type requests template for object of type 'type' -v type requests verbose template for object of type 'type' HINT
Please note that most of these flags are NOT understood by non RIPE whois servers! SEE ALSO
Website <http://www.ripe.net/tools/> AUTHOR
CWHOIS was written by Timur Bakeyev <timur@ripe.net>. This manual page was written by Jan Wagner <waja@cyconet.org>, for the Debian project (but may be used by others). 1.10 2006-11-03 CWHOIS(3)
All times are GMT -4. The time now is 02:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy