Sponsored Content
Top Forums Shell Programming and Scripting Search in Unix home directory Post 302628221 by saku on Monday 23rd of April 2012 05:57:52 AM
Old 04-23-2012
Hi,

i don't want to mention all the dir names to search views

and more over i want to list all the views in below format

1) user_test_Work1.vws
2) user_test_Work2.vws
3) user_dev_Work1.vws
4) user_newproject_Work.vws
5) user_cqfix.vws


cmd :
Code:
find . -name "*.vws"  | wc -l

this cmd giving just no of views . i want to display all the views as a list .pls suggest

Last edited by Franklin52; 04-23-2012 at 07:16 AM.. Reason: Code tags
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

home directory in search path

Is it unsafe to put your own home directory (a regular user) in your search path? I am writing useful shell scripts, but don't have the permissions to put them in /usr/bin. (Korn shell) thanks (2 Replies)
Discussion started by: jpprial
2 Replies

2. UNIX for Dummies Questions & Answers

cd into home directory ~

I'm trying to cd into a home directory with cd ~username_here and I'm getting the following error: ~username_here: does not exist The directory exists and I can directly go to it via cd /export/home/username_here without any problems. Any suggestions? (4 Replies)
Discussion started by: here2learn
4 Replies

3. UNIX for Dummies Questions & Answers

Unix find command to print directory and search string

Hi i need to print pathname in which the string present using 'find' command sample output like this Pathname String to be searched ---------- -------------------- /usr/test/myfile get /opt/test/somefile get Thanks in... (4 Replies)
Discussion started by: princein
4 Replies

4. UNIX for Dummies Questions & Answers

home directory & group in UNIX question

folks; I'm going to use LDAP on Solaris 10 to authenticate users, i have 3 questions, i'm hoping it can be possible: 1. when users login for the first time, Is there a way to auto create a home directory like "/home/"user_name" so we don't have to a create a home directory for every single... (3 Replies)
Discussion started by: Katkota
3 Replies

5. Filesystems, Disks and Memory

Shared Home directory between Unix servers

Hi Im working in an environment where 2 production and 2 testing unix servers are used.. All these servers share the same home directory.. how is it done where would the home directory be located (0 Replies)
Discussion started by: raghav288
0 Replies

6. Shell Programming and Scripting

How to search a directory in unix

Hi, I'm very new to shell script. Try to search a directory named construction using : find construction -type d. but don't know the path. so it can not stat. want to return the path of directory construction. can anyone help me. (4 Replies)
Discussion started by: samir_standing
4 Replies

7. Solaris

Restricting SFTP user to a defined directory and home directory

Hi, I've created solaris user which has both FTP and SFTP Access. Using the "ftpaccess" configuration file options "guest-root" and "restricted-uid", i can restrict the user to a specific directory. But I'm unable to restrict the user when the user is logged in using SFTP. The aim is to... (1 Reply)
Discussion started by: sftpuser
1 Replies

8. UNIX for Dummies Questions & Answers

Unix set home directory

Hi I've just made a directory, what command do I use to now make it the base directory? Thanks!!!!!!!!!!!!!!! (1 Reply)
Discussion started by: beckywatson
1 Replies

9. Solaris

SunOS confusing root directory and user home directory

Hello, I've just started using a Solaris machine with SunOS 5.10. After the machine is turned on, I open a Console window and at the prompt, if I execute a pwd command, it tells me I'm at my home directory (someone configured "myuser" as default user after init). ... (2 Replies)
Discussion started by: egyassun
2 Replies
classes(3U)						    InterViews Reference Manual 					       classes(3U)

NAME
classes - unique identifiers for catalog-managed objects and component views SYNOPSIS
#include <Unidraw/classes.h> DESCRIPTION
Classes for catalog-managed objects, including components, commands, tools, state variables, and transfer functions, must be associated with mutually-unique class identifiers that can be written onto disk. This allows a creator object to call the appropriate constructor as part of recreating an object from disk. Also, there must be a mechanism for creating an appropriate view given a subject; that is, there must be an association between a subject class and allowable view classes for that subject. This association is established by defining class identifiers for component views. These identifiers are formed by concatenating the identifier for a given component subject class with an identifier that specifies a ``view category.'' For example, the class identifier for the PostScript external view of a line component is the concatenation of the identifier for the line component subject class and POSTSCRIPT_VIEW identifier, which specifies the category of external views for generating Post- Script. This makes it possible to create an instance of the appropriate PostScript external view subclass given a line component subject. The class identifiers for the Unidraw base and predefined derived classes are specified in the classes.h include file. Applications that define new catalog-managed objects or component views should define unique class identifiers in a similar manner. Class identifiers for catalog-managed objects are simply integers with mnemonic macro definitions, usually the class name in all-uppercase. For example, the identifier for the LineComp component subject class is #define LINE_COMP 9030 View class identifiers are specified using the Combine macro, which takes as its first argument the macro definition of the corresponding component subject identifier; its second argument is an identifier for the view category. The Combine macro itself is then defined with a mnemonic name. For example, the identifier for the PostScript external view class PSLine (which generates PostScript for the line compo- nent subject) is defined as #define PS_LINE Combine(LINE_COMP, POSTSCRIPT_VIEW) where the POSTSCRIPT_VIEW view category identifier is defined as #define POSTSCRIPT_VIEW 9103 N.B.: All class identifiers in a given application must be unique. SEE ALSO
Catalog(3U), Creator(3U) Unidraw 12 June 1990 classes(3U)
All times are GMT -4. The time now is 06:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy