02-16-2001
Right. The <b>ls</B> command will not show dot files (i.e. your .profile file) so when you do an <B>ls | wc -l</B> you will not count the dot files. As 98 points out, you must do an <B>ls -a | wc -l</B> to count dot files too.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Can any one tell me what is the importance of '/dev' directory in unix. Is there any possibility to get 'root' by using the files stored in this directory.
Beleive me this is not for any hacking purpose. just for learning.
Hopes a detail reply. thak you (1 Reply)
Discussion started by: madhu
1 Replies
2. UNIX for Dummies Questions & Answers
How do I change ownership of a directory and all of it's files without changing permissions? (1 Reply)
Discussion started by: mborin
1 Replies
3. UNIX for Dummies Questions & Answers
I installed Solaris 2.6 on a Sparc20... I was trying to uncompress the mozilla source... but it says "gunzip: not found"
so... I thought i'd try tar -zxvf... which also won't work.
I found gzip on www.sunfreeware.com... but I don't know how to install it...
I'm assuming I have to use the... (3 Replies)
Discussion started by: xyyz
3 Replies
4. UNIX for Dummies Questions & Answers
my solaris text talks about the 'find' command... it further goes to talk about an "action" used with the find command.
I am completely confused as to what the {} do with the find comand.
the explanation is this: "A set of braces, {}, delimits where the file name is passed to the command from... (2 Replies)
Discussion started by: xyyz
2 Replies
5. Shell Programming and Scripting
I wonder how I shall read the result below, especially 'what'
shown below.
The result was shown when I entered 'w'.
E.g what is TOP? What is gosh ( what does selmgr mean?)?
login@ idle JCPU PCPU what
6:15am 7:04 39 39 TOP
6:34am 6:45 45 45 TOP
6:41am ... (1 Reply)
Discussion started by: Aelgen
1 Replies
6. UNIX for Dummies Questions & Answers
How can I find out? Besides looking on the box of my distro and checking their. (2 Replies)
Discussion started by: DISTURBED
2 Replies
7. UNIX for Dummies Questions & Answers
echo 'it's friday'
why appear the > (3 Replies)
Discussion started by: yls177
3 Replies
8. UNIX for Advanced & Expert Users
Hi,
I am facing an interesting aspect of find command...
to be clear, we are running a small web server with oracle 8i database and Oralce9iAS on Sun E250 with Solaris 2.6
Over a period of time, the free memory ( displayed in 'top' utility ) drops down.. we could relate this to dedicated... (6 Replies)
Discussion started by: shibz
6 Replies
9. UNIX for Advanced & Expert Users
Somehow someone created a file named '-ov' in the root directory.
Given the name, the how was probably the result of some cpio command they bozo'ed.
I've tried a number of different ways to get rid of it using * and ? wildcards, '\' escape patterns etc.. They all fail with " illegal option --... (3 Replies)
Discussion started by: GSalisbury
3 Replies
10. Shell Programming and Scripting
Hopefully this doesn't come off as too much of a "newbie" question or a flamebait. But I have recently begun working with a Sun Solaris box after having spent the past five years working with RedHat. From what i can tell, thing look fairly similar and the 'man' command is some help. But I've... (7 Replies)
Discussion started by: deckard
7 Replies
LEARN ABOUT DEBIAN
gvpack
GVPACK(1) General Commands Manual GVPACK(1)
NAME
gvpack - merge and pack disjoint graphs
SYNOPSIS
gvpack [ -nguv? ] [ -mmargin ] [ -ooutfile ] [ -Gname=value ] [ files ]
DESCRIPTION
gvpack reads in a stream of graphs, combines the graphs into a single layout, and produces a single graph serving as the union of the input
graphs. The input graphs must be in dot format, and must have all necessary layout information. Acceptable input is produced by applying a
Graphviz layout program, such as dot or neato, with no -T flag.
By default, the packing is done at the cluster level. Thus, parts of one graph will not intrude into any top-level clusters or overlap any
nodes or edges of another.
The output of gvpack can be used to produce concrete output by applying neato -s -n2 with the desired -T flag.
OPTIONS
The following options are supported:
-g Combines the graphs at the graph level. This uses more space, but prevents parts of one graph from occurring between parts of
another.
-Gname=value
Specifies attributes to be added to the resulting union graph. For example, this can be used to specify a graph label.
-mmargin
Packs the graphs allowing a margin of output points around the parts.
-n Combines the graphs at the node level. Clusters are ignored in the packing.
-ooutput
Prints output to the file output. If not given, gvpack uses stdout.
-u Don't pack the graphs. Just combine them into a single graph.
-v Verbose mode.
-? Prints usage information and exit.
OPERANDS
The following operand is supported:
files Names of files containing 1 or more graphs in dot format. If no files operand is specified, the standard input will be used.
RETURN CODES
gvpack returns 0 if there were no problems, and non-zero otherwise.
EXAMPLES
ccomps -x abc.dot | dot | gvpack | neato -s -n2 -Tps
This pipeline decomposes the graph in abc.dot into its connected components, lays out each using dot, packs them all together again, and
produces the final drawing in PostScript. Of course, there is nothing to prevent one from using different layouts for each component.
BUGS
All the input graphs must be directed or undirected.
An input graph should not have a label, since this will be used in its layout. Since gvpack ignores root graph labels, resulting layout may
contain some extra space.
gvpack unsets the bounding box attribute of all non-cluster subgraphs.
AUTHORS
Emden R. Gansner <erg@research.att.com>
SEE ALSO
gvpr(1), dot(1), neato(1), twopi(1), ccomps(1), libpack(3)
8 April 2003 GVPACK(1)