I'm looking for a Linux equivalent to the DOS
that lists the directories ("folders" in Windows) in the current directory.
I looked at the ls manpage, which says
but
gives only
the current directory itself, instead of the dozen or so directories that actually reside in the current directory. (This directory has many files with long filenames, so I'd prefer not to go through the 10-page listing -- but mostly I want to learn how things like this are done.)
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)
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)
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)
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)
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)
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)
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)
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)