I would also add and comment:
What is the if supposed to do here?
I see you are comparing a string (count) with a numeral since you are using -le How can you expect that to work?
Does any one know how to get a recursive directory listing in long format (showing owner, group, permission etc) without listing the files contained in the directories.
The following command also shows the files but I only want to see the directories.
ls -lrtR * (4 Replies)
Hi ,
I want to list all files in the order of size . Just want to know which files occupies more size and which occupies less size .
Is it possible with ls command ? :)
Thanks,
Arun. (1 Reply)
Hi,
Edit: The title should really read listing files in a non-parent directory, sorry!
Im trying to get one of my Bash scripting assignments done for uni and now I'm stuck. This is probably going to be one of those kick yourself moments but, in my script I have a variable usrDir which... (2 Replies)
How can I list the files in a directory and just show the file size, date stamp, timestamp and file name..
I've been trying to ls -lrt the directory to a file and then use the cut command but I'm not having any luck with getting the proper results.. I thought i could use the -f switch and count... (4 Replies)
hello every one,
i'm a novice in the field of Linux, so please help me out with this problem.
a text file with the following syntax is given:
file1
file2
file3
file4
file5
a script is to be written to list all d file names and tar the files with the filename... (3 Replies)
Hi Unix Gurus,
I need to list all files in a Unix Directory which either end with a
.pdf or .rtf and they should be case insensitive ie .Pdf , .pDF , .RtF etc are also possible.
How can i accomplish this with with a ls command ? If not then a find command. (6 Replies)
Hi,
My apologies if my query is already available on this forum but I am new and could not find.
I need a script to list all directories/sub directories and files with permissions/groups/owners. The script would run from home directory and should capture every directory. How do I do this?
... (4 Replies)
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
LEARN ABOUT OSF1
lmfsetup
lmfsetup(8) System Manager's Manual lmfsetup(8)NAME
lmfsetup - License Management Facility (LMF) registration script
SYNOPSIS
/usr/sbin/lmfsetup [template]
DESCRIPTION
You use the lmfsetup script to register data supplied by a Product Authorization Key (PAK). The lmfsetup script prompts you for the data
associated with each field on a PAK. Once you enter all the data, LMF makes sure you have supplied entries for all mandatory fields and
that the value in the Checksum field validates the license data. If all data is correct, LMF registers the PAK in the License Database. If
any data is incorrect, LMF displays the appropriate error message and gives you an opportunity to reenter the data.
The template argument allows you to register license data from templates in /usr/var/adm/lmf. The templates stored in this directory are
created by some software products during their installation process. When you use a template, the script prompts you to supply data for any
empty fields in the template. If the lmfsetup script cannot find the specified template in /usr/var/adm/lmf, it searches your current work-
ing directory.
Use the lmfsetup script when you want to register a PAK without using an editor. Normally, you should use the lmf register command. The
lmf register command displays a template, which includes the fields on the PAK, and invokes an editor so that you can add the license data
to the appropriate fields. The lmf register command allows you to correct errors without having to reenter all the data.
SEE ALSO
Command: lmf(8)
Software License Management
lmfsetup(8)